-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
126 lines (125 loc) · 4.68 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "nexd-backend",
"version": "0.1.0",
"description": "API for the Nexd App",
"author": "nexd",
"contributors": [
"Fabian Nickel <[email protected]>",
"Rossana Bermudez <[email protected]>"
],
"engines": {
"node": "12.x"
},
"private": false,
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "cross-env NODE_ENV=production nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"init:db": "ts-node e2e/create-data-fixture.ts",
"migrate:local-infos": "python3 src/modules/locationInfos/data/migration.py",
"start": "cross-env NODE_ENV=development.local nest start",
"start:dev": "cross-env NODE_ENV=development.local nest start --watch",
"start:debug": "cross-env NODE_ENV=development.local nest start --debug --watch",
"start:prod": "cross-env NODE_ENV=production node dist/main",
"start:prod:withmigrations": "run-s typeorm:createconfig:prod typeorm:migration:run start:prod",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"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",
"typeorm:createconfig": "cross-env NODE_ENV=development.local ts-node -r tsconfig-paths/register scripts/write-typeorm-config.ts",
"typeorm:createconfig:prod": "cross-env NODE_ENV=production ts-node -r tsconfig-paths/register scripts/write-typeorm-config.ts",
"typeorm:migration:generate": "npm run typeorm -- migration:generate -n",
"typeorm:migration:show": "npm run typeorm -- migration:show",
"typeorm:migration:run": "npm run typeorm -- migration:run -t=false",
"typeorm:reset": "npm run typeorm -- schema:drop",
"typeorm": "cross-env NODE_ENV=development.local ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js",
"docker:postgis": "docker run -d --name postgis-nexd --rm -p 5430:5432 --env-file .env.postgis.local -v postgis-data:/var/lib/postgresql/data postgis/postgis:12-2.5",
"docker:pgadmin": "docker run -d --name postgis-pgadmin --rm -p 3010:80 --env-file .env.postgis.local dpage/pgadmin4",
"start:doc": "compodoc -s -o -p ./tsconfig.json -r 8081",
"build:doc": "compodoc -p ./tsconfig.json",
"test:swagger": "cross-env NODE_ENV=test ts-node ./scripts/validate-swagger.ts",
"release": "standard-version && git push --follow-tags origin master"
},
"dependencies": {
"@hapi/joi": "^17.1.1",
"@nestjs/common": "^7.0.8",
"@nestjs/config": "^0.4.0",
"@nestjs/core": "^7.0.8",
"@nestjs/jwt": "^7.0.0",
"@nestjs/passport": "^7.0.0",
"@nestjs/platform-express": "^7.0.8",
"@nestjs/schedule": "^0.4.0",
"@nestjs/swagger": "^4.5.2",
"@nestjs/typeorm": "^7.0.0",
"bcrypt": "^4.0.1",
"class-transformer": "^0.2.3",
"class-validator": "^0.11.1",
"helmet": "^3.22.0",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"pg": "^7.18.2",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.5.5",
"swagger-ui-express": "^4.1.4",
"twilio": "^3.42.2",
"typeorm": "^0.2.24"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^9.0.1",
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"@compodoc/compodoc": "^1.1.11",
"@nestjs/cli": "^7.1.2",
"@nestjs/schematics": "^7.0.0",
"@nestjs/testing": "^7.0.8",
"@types/express": "^4.17.6",
"@types/hapi__joi": "^16.0.12",
"@types/jest": "25.1.4",
"@types/node": "^13.13.0",
"@types/passport-jwt": "^3.0.3",
"@types/passport-local": "^1.0.33",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.28.0",
"@typescript-eslint/parser": "^2.28.0",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.2",
"jest": "^25.3.0",
"nan": "^2.14.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"standard-version": "^7.1.0",
"supertest": "^4.0.2",
"ts-jest": "25.2.1",
"ts-loader": "^6.2.1",
"ts-node": "^8.8.2",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.7.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"husky": {
"hooks": {
"commit-msg": "npm run commitlint -E HUSKY_GIT_PARAMS"
}
}
}