-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.42 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
{
"name": "@aditiaprasetio/nestjs-authentication-service",
"version": "1.0.0",
"description": "description",
"author": "Aditia Prasetio",
"license": "MIT",
"scripts": {
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "nodemon",
"start:debug": "nodemon --config nodemon-debug.json",
"prestart:staging": "rimraf dist && tsc",
"prestart:prod": "rimraf dist && tsc",
"start:staging": "NODE_ENV=staging node dist/main.js",
"start:prod": "NODE_ENV=production node dist/main.js",
"start:hmr": "node dist/server.js",
"build": "rm -rf dist && tsc --p tsconfig.json -d",
"build:deploy": "yarn build && sls deploy",
"barrels": "barrelsby --delete -d ./src --singleQuotes",
"migration:generate": "ts-node ./node_modules/typeorm/cli.js migration:generate -n",
"migration:run": "ts-node ./node_modules/typeorm/cli.js migration:run",
"migration:revert": "ts-node ./node_modules/typeorm/cli.js migration:revert",
"migration:barrels": "barrelsby --delete -d ./src/migrations --singleQuotes",
"seed": "ts-node ./node_modules/typeorm-seeding/dist/cli.js seed",
"lint": "tslint -p tsconfig.json -c tslint.json \"src/**/*.ts\" \"e2e/**/*.ts\" -e \"src/migrations/**/*.ts\" \"*spec.ts\"",
"lint:fix": "yarn lint --fix",
"e2e": "jest --config=jest-e2e.json --forceExit --detectOpenHandles",
"e2e:watch": "jest --watch --config=jest-e2e.json --detectOpenHandles",
"e2e:coverage": "jest --config=jest-e2e.json --coverage --coverageDirectory=./coverage --detectOpenHandles",
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@nest-modules/mailer": "^1.1.3",
"@nestjs/common": "^6.10.10",
"@nestjs/core": "^6.6.7",
"@nestjs/jwt": "^6.1.1",
"@nestjs/platform-express": "^6.7.2",
"@nestjs/swagger": "^3.1.0",
"@nestjs/typeorm": "^5.3.0",
"@nestjsx/crud": "^4.2.0",
"@nestjsx/crud-typeorm": "^4.2.0",
"@types/nodemailer": "^6.2.2",
"body-parser": "^1.19.0",
"class-transformer": "^0.2.3",
"class-validator": "^0.10.1",
"connect-timeout": "^1.9.0",
"cors": "^2.8.5",
"crypto-random-string": "^3.0.1",
"dotenv": "^8.0.0",
"google-auth-library": "^7.12.0",
"jsonwebtoken": "^8.5.1",
"mysql2": "^1.7.0",
"passport-jwt": "^4.0.0",
"pg": "^7.12.1",
"reflect-metadata": "^0.1.12",
"rxjs": "^6.2.2",
"sqlite3": "^4.0.6",
"typeorm": "^0.2.14",
"typeorm-seeding": "^1.0.0-rc.3",
"typescript": "^3.0.1",
"uuid": "^3.3.3"
},
"devDependencies": {
"@nestjs/testing": "^5.1.0",
"@types/express": "^4.16.0",
"@types/jest": "^23.3.14",
"@types/node": "^12.7.12",
"@types/supertest": "^2.0.5",
"barrelsby": "^2.1.1",
"jest": "^24.9.0",
"ng-faker": "^1.3.0",
"nodemon": "^1.18.3",
"prettier": "^1.14.2",
"rimraf": "^2.6.2",
"supertest": "^3.1.0",
"swagger-ui-express": "^4.1.1",
"ts-jest": "^23.1.3",
"ts-loader": "^4.4.2",
"ts-node": "^7.0.1",
"tsconfig-paths": "^3.5.0",
"tslint": "5.11.0",
"webpack": "^4.16.5",
"webpack-cli": "^3.1.0",
"webpack-node-externals": "^1.7.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}