@3wks/generator-gae-node-nestjs
Version:
A generator for building nestjs apps on app engine node
88 lines (87 loc) • 3.26 kB
JSON
{
"name": "<%= slugify(project) %>-server",
"version": "1.0.0",
"description": "<%= slugify(projectName) %> built with node + typescript + react",
"author": "",
"license": "MIT",
"scripts": {
"start:dev": "CLOUDSDK_CORE_PROJECT=<%= slugify(project) %>-development npx server",
"format": "prettier --write \"./src/**/*.ts\" && prettier --write \"./src/**/*.graphqls\"",
"lint": "tslint --project .",
"start": "node ./dist/main.js",
"prestart:dev": "rm -rf dist/ && npm run lint",
"start:debug": "ts-node --inspect src/main.ts",
"compile:prod": "rm -rf dist && tsc",
"test:watch": "jest --watch",
"test": "jest",
"test:cov": "jest --coverage",
"test:e2e": "jest --config ./test/jest-e2e.json",
"build": "rm -rf public && npm run lint && npm run test && npm run --prefix ../client build && npm run compile:prod",
"deploy:dev": "CLOUDSDK_CORE_PROJECT=<%= slugify(project) %>-dev npm run deploy && TAG_NAME=dev/`date +%Y%m%d_%H%M%S` && git tag -a $TAG_NAME -m 'dev deployed' && git push origin $TAG_NAME",
"deploy:uat": "CLOUDSDK_CORE_PROJECT=<%= slugify(project) %>-uat npm run deploy && TAG_NAME=uat/`date +%Y%m%d_%H%M%S` && git tag -a $TAG_NAME -m 'uat deployed' && git push origin $TAG_NAME",
"deploy:prod": "CLOUDSDK_CORE_PROJECT=<%= slugify(project) %>-prod npm run deploy && TAG_NAME=prod/`date +%Y%m%d_%H%M%S` && git tag -a $TAG_NAME -m 'prod deployed' && git push origin $TAG_NAME",
"deploy": "INLINE_RUNTIME_CHUNK=false npm run build && gcloud app deploy cron.yaml index.yaml app.yaml --quiet",
"dsui": "dsui --port 4000",
"kill": "bash ./scripts/kill.sh",
"kill-force": "bash ./scripts/kill.sh -9",
"clear-datastore": "rm -rf ~/.config/gcloud/emulators/datastore"
},
"dependencies": {
"@3wks/gae-node-nestjs": "2.4.0",
"@google-cloud/debug-agent": "4.0.4",
"@google-cloud/trace-agent": "4.2.1",
"@nestjs/common": "5.6.2",
"@nestjs/core": "5.6.2",
"@nestjs/graphql": "3.0.0",
"@nestjs/testing": "5.6.2",
"bunyan": "1.8.12",
"config": "3.2.3",
"express": "4.17.1",
"graphql": "14.5.8",
"graphql-tools": "4.0.5",
"io-ts": "1.8.5",
"io-ts-reporters": "0.0.21",
"lodash": "4.17.15",
"reflect-metadata": "0.1.13",
"rxjs": "6.5.3",
"uuid": "3.3.3"
},
"devDependencies": {
"@streamrail/dsui": "0.2.2",
"@types/bunyan": "1.8.6",
"@types/config": "0.0.34",
"@types/express": "4.17.1",
"@types/jest": "24.0.18",
"@types/lodash": "4.14.144",
"@types/node": "10.12.19",
"@types/supertest": "2.0.8",
"@types/uuid": "3.4.5",
"chokidar": "3.2.1",
"jest": "24.9.0",
"prettier": "1.18.2",
"supertest": "4.0.2",
"ts-jest": "24.1.0",
"ts-loader": "6.2.0",
"ts-mockito": "2.5.0",
"ts-node": "8.4.1",
"tslint": "5.20.0",
"tslint-config-prettier": "1.18.0",
"tslint-rules-bunch": "0.0.8",
"typescript": "3.6.4",
"webpack": "4.41.1",
"webpack-node-externals": "1.7.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage"
}
}