-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
76 lines (76 loc) · 2.21 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
{
"name": "news",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"author": {
"name": "Valter Júnior",
"email": "[email protected]"
},
"engines": {
"node": ">= 12.0.0",
"yarn": ">= 1.22.0"
},
"keywords": [
"api",
"es6",
"node",
"express",
"javascript",
"typescript"
],
"scripts": {
"build": "NODE_ENV=production yarn run build-ts",
"build-ts": "tsc -p .",
"clean": "rm -rf ./dist/* ",
"start:prod": "node ./dist/src/server.js",
"migrate:prod": "NODE_ENV=production knex migrate:latest --knexfile=dist/knexfile.js --verbose",
"seed:prod": "NODE_ENV=production knex seed:run --knexfile=dist/knexfile.js --verbose",
"test": "NODE_ENV=test jest --verbose --colors --runInBand --detectOpenHandles",
"start:dev": "ts-node-dev --transpile-only --respawn --ignore-watch node_modules src/server.ts",
"migrate:dev": "knex migrate:latest --knexfile=knexfile.ts --verbose",
"seed:dev": "knex seed:run --knexfile=knexfile.ts --verbose",
"migrate:dev:rollback": "knex migrate:rollback --knexfile knexfile.ts"
},
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-rate-limit": "^5.2.3",
"http-status-codes": "^2.1.4",
"jest": "^26.6.3",
"joi": "^17.3.0",
"jsonwebtoken": "^8.5.1",
"knex": "^0.21.12",
"lodash": "^4.17.20",
"module-alias": "^2.2.2",
"morgan": "^1.10.0",
"objection": "^2.2.3",
"pg": "^8.5.1",
"pipeawait": "^1.0.0",
"sqlite3": "^5.0.0",
"ts-jest": "^26.4.4",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.1.2",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/dotenv": "^8.2.0",
"@types/express": "4.17.2",
"@types/express-rate-limit": "^5.1.0",
"@types/express-serve-static-core": "4.16.8",
"@types/jest": "^26.0.19",
"@types/joi": "^14.3.4",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.165",
"@types/node": "^14.14.13",
"@types/supertest": "^2.0.10",
"eslint": "^7.15.0",
"jest-extended": "^0.11.5",
"node-mocks-http": "^1.9.0",
"prettier": "^2.2.1",
"prettier-eslint": "^12.0.0",
"supertest": "^6.0.1",
"ts-node-dev": "^1.1.1"
}
}