-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
73 lines (73 loc) · 2.89 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "bazel-nestjs-starter",
"version": "0.0.6",
"private": true,
"description": "",
"author": "",
"license": "MIT",
"scripts": {
"bazel:build": "bazel build //src:app",
"bazel:run": "bazel run //src:server",
"bazel:test": "bazel test //...",
"bazel:format": "find . -type f \\( -name \"*.bzl\" -or -name WORKSPACE -or -name BUILD -or -name BUILD.bazel \\) ! -path \"*/node_modules/*\" ! -path \"./dist/*\" | xargs buildifier -v --warnings=attr-cfg,attr-license,attr-non-empty,attr-output-default,attr-single-file,confusing-name,constant-glob,ctx-actions,ctx-args,depset-iteration,depset-union,dict-concatenation,duplicated-name,filetype,function-docstring,git-repository,http-archive,integer-division,load,load-on-top,module-docstring,name-conventions,native-build,native-package,out-of-order-load,output-group,package-name,package-on-top,positional-args,redefined-variable,repository-name,return-value,same-origin-load,string-iteration,unreachable,unsorted-dict-items,unused-variable",
"bazel:format-check": "yarn bazel:format --mode=check",
"bazel:lint": "yarn bazel:format --lint=warn",
"bazel:lint-fix": "yarn bazel:format --lint=fix",
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "concurrently --handle-input \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.json\" ",
"start:debug": "nodemon --config nodemon-debug.json",
"prestart:prod": "yarn build",
"start:prod": "node dist/main.js",
"lint": "tslint -p tsconfig.json -c tslint.json",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "^6.10.12",
"@nestjs/core": "^6.10.12",
"@nestjs/platform-express": "^6.10.12",
"reflect-metadata": "^0.1.12",
"rxjs": "^6.5.3"
},
"devDependencies": {
"@bazel/bazel": "latest",
"@bazel/buildifier": "latest",
"@bazel/ibazel": "latest",
"@bazel/typescript": "1.0.0",
"@nestjs/testing": "^6.10.12",
"@types/express": "^4.17.2",
"@types/jest": "^24.0.24",
"@types/node": "^12.12.21",
"@types/supertest": "^2.0.8",
"concurrently": "^5.0.2",
"jest": "^24.9.0",
"nodemon": "^2.0.2",
"prettier": "^1.19.1",
"supertest": "^4.0.2",
"ts-jest": "24.2.0",
"ts-node": "8.5.4",
"tsconfig-paths": "3.9.0",
"tslint": "5.20.1",
"typescript": "3.5.3",
"wait-on": "^3.3.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}