{
  "name": "<%=projectName%>",
  "version": "1.0.0",
  "repository": "git@github.com:theorchard/<%=projectName%>.git",
  "private": true,
  "engines": {
    "node": ">=20"
  },
  "eslintConfig": {
    "extends": "@theorchard/ts"
  },
  "scripts": {
    "build:copy_schema": "cp -a ./src/schema ./build",
    "build:server": "yarn tsc -p ./tsconfig.build.json && tscpaths -p ./tsconfig.build.json -s ./src -o ./build",
    "build": "yarn clean && yarn build:server && yarn build:copy_schema",
    "clean": "rm -rf build && mkdir build",
    "generate:integration_types": "yarn generate:schema && rm -rf tests/definitions/* && apollo client:codegen -c apollo.test.config.js --localSchemaFile schema.gql --globalTypesFile=tests/definitions/globalTypes.ts --target typescript --outputFlat tests/definitions --no-addTypename",
    "generate:schema": "yarn ts-node scripts/buildSchema.ts",
    "lint:js": "eslint src/ tests/",
    "lint:schema": "graphql-schema-linter src/schema/*.gql",
    "lint": "yarn lint:js && yarn lint:schema",
    "start": "yarn nodemon --exec ts-node --project ./tsconfig.json -r dotenv/config ./src/index.ts",
    "test:integration": "yarn generate:integration_types && NODE_ENV=test jest --verbose --testPathIgnorePatterns src/**/*",
    "test:unit": "NODE_ENV=test jest --testPathIgnorePatterns tests/**/*",
    "test": "yarn test:unit && yarn test:integration"
  },
  "dependencies": {
    "@sentry/node": "^7.101.1",
    "graphql": "^16.6.0",
    "@theorchard/graphql-server": "2.1.4",
    "@theorchard/datasource-ows": "2.5.6",
    "@theorchard/field-validator": "^1.5.0",
    "lodash": "^4.17.21"
  },
  "devDependencies": {
    "@theorchard/eslint-config-ts": "^2.4.2",
    "@types/jest": "^29.5.0",
    "@types/lodash": "^4.14.202",
    "@types/node": "^20.11.19",
    "dotenv": "^16.4.5",
    "graphql-request": "^6.1.0",
    "graphql-schema-linter": "^2.0.1",
    "jest": "^29.7.0",
    "jest-transform-graphql": "^2.1.0",
    "nodemon": "^3.0.3",
    "ts-jest": "29.0.5",
    "ts-node": "^10.9.1",
    "tsconfig-paths": "^4.2.0",
    "tscpaths": "^0.0.9",
    "typescript": "4.9.5"
  }
}
