-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 3.33 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
{
"name": "sejutacita-test",
"version": "0.0.0",
"description": "TypeScript + Knex + Postgresql + Express API Server",
"author": "",
"license": "ISC",
"scripts": {
"start": "cross-env NODE_ENV=production node dist/server.js",
"dev": "cross-env NODE_ENV=development nodemon",
"build": "swc src -d dist --source-maps --copy-files",
"build:tsc": "tsc && tsc-alias",
"test": "jest --forceExit --detectOpenHandles",
"lint": "eslint --ignore-path .gitignore --ext .ts src/",
"lint:fix": "npm run lint -- --fix",
"seed": "knex seed:run --knexfile=knexfile.ts --verbose",
"migrate": "knex migrate:latest --knexfile=knexfile.ts --verbose",
"rollback": "knex migrate:rollback --knexfile=knexfile.ts --verbose",
"seed:test": "cross-env NODE_ENV=test knex seed:run --knexfile=knexfile.ts --verbose",
"migrate:test": "cross-env NODE_ENV=test knex migrate:latest --knexfile=knexfile.ts --verbose",
"rollback:test": "cross-env NODE_ENV=test knex migrate:rollback --knexfile=knexfile.ts --verbose",
"seed:prod": "cross-env NODE_ENV=production knex seed:run --knexfile=knexfile.js --verbose",
"migrate:prod": "cross-env NODE_ENV=production knex migrate:latest --knexfile=knexfile.js --verbose",
"rollback:prod": "cross-env NODE_ENV=production knex migrate:rollback --knexfile=knexfile.js --verbose",
"make:seeder": "knex seed:make --knexfile=knexfile.ts -x ts --env development",
"make:migration": "knex migrate:make --knexfile=knexfile.ts -x ts --env development",
"deploy:prod": "npm run build && pm2 start ecosystem.config.js --only prod",
"deploy:dev": "pm2 start ecosystem.config.js --only dev"
},
"dependencies": {
"bcrypt": "^5.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.1",
"compression": "^1.7.4",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"envalid": "^7.1.0",
"express": "^4.17.1",
"helmet": "^4.6.0",
"hpp": "^0.2.3",
"jsonwebtoken": "^8.5.1",
"knex": "^2.1.0",
"morgan": "^1.10.0",
"objection": "^3.0.1",
"pg": "^8.7.3",
"swagger-jsdoc": "^6.0.0",
"swagger-ui-express": "^4.1.6",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.5"
},
"devDependencies": {
"@swc/cli": "^0.1.51",
"@swc/core": "^1.2.108",
"@types/bcrypt": "^5.0.0",
"@types/compression": "^1.7.1",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.11",
"@types/express": "^4.17.13",
"@types/hpp": "^0.2.1",
"@types/jest": "27.4.x",
"@types/jsonwebtoken": "^8.5.4",
"@types/knex": "^0.16.1",
"@types/morgan": "^1.9.3",
"@types/node": "^16.0.1",
"@types/supertest": "^2.0.11",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"cross-env": "^7.0.3",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.1",
"jest": "27.4.x",
"lint-staged": "^11.0.0",
"node-config": "0.0.2",
"node-gyp": "^8.1.0",
"nodemon": "^2.0.9",
"pm2": "^5.1.0",
"prettier": "^2.3.2",
"supertest": "^6.2.2",
"ts-jest": "^27.1.4",
"ts-node": "^10.4.0",
"tsc-alias": "^1.4.1",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.5.2"
}
}