-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
97 lines (97 loc) · 3.31 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
{
"name": "nodejs-ts-starter",
"description": "Starter project for developing with NodeJs (Typescript) as backend server",
"version": "1.0.0",
"contributors": [
"Marin Petrunić <[email protected]>",
"Belma Gutlić <[email protected]>"
],
"license": "MIT",
"scripts": {
"init": "mkdir dist",
"clean": "rm -rf dist",
"revert": "yarn run compile && sequelize --config sequelizecli.js db:migrate:undo",
"revert-all": "yarn run compile && sequelize --config sequelizecli.js db:migrate:undo:all",
"migrate": "yarn run compile && sequelize --config sequelizecli.js db:migrate",
"seed": "sequelize --config sequelizecli.js db:seed:all",
"seed:revert-all": "sequelize --config sequelizecli.js db:seed:undo:all",
"prebuild": "yarn run clean && yarn run init",
"build": "tsc --incremental --sourceMap --outDir dist",
"compile": "tsc",
"pretest": "yarn lint",
"test:unit": "NODE_ENV=test nyc -e .ts mocha -r dotenv/config -r ts-node/register \"test/unit/**/*.ts\"",
"test": "yarn run test:unit & yarn run test:e2e",
"test:e2e": "SERVER_PORT=0 mocha --timeout 30000 -r ts-node/register -r dotenv/config \"test/e2e/**/*.ts\"",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint --color --ext .ts src/ && tsc --noEmit",
"lint:fix": "eslint --color --ext .ts src/ --fix",
"start": "node --inspect=0.0.0.0:56745 -r ts-node/register -r dotenv/config src/index.ts",
"dev": "./node_modules/nodemon/bin/nodemon.js",
"task": "ts-node ./tasksfile.ts"
},
"dependencies": {
"@hapi/joi": "^15.1.0",
"axios": "^0.21.1",
"bcryptjs": "^2.4.3",
"bignumber.js": "^9.0.0",
"body-parser": "1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-async-errors": "3.1.1",
"express-joi-validation": "^4.0.3",
"helmet": "^3.21.2",
"jsonwebtoken": "^8.5.1",
"moment": "^2.24.0",
"morgan": "^1.9.1",
"node-cleanup": "^2.1.2",
"node-schedule": "^1.3.2",
"pg": "^7.4.3",
"pg-native": "^3.0.0",
"reflect-metadata": "^0.1.12",
"sequelize": "^5.21.3",
"sequelize-typescript": "^1.1.0",
"swagger-ui-express": "^4.1.3",
"umzug": "^2.2.0",
"winston": "^3.2.1",
"winston-elasticsearch": "^0.8.7"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/chai": "^4.1.7",
"@types/cors": "^2.8.6",
"@types/express": "4.17.0",
"@types/hapi__joi": "^16.0.4",
"@types/helmet": "^0.0.45",
"@types/jsonwebtoken": "^8.3.6",
"@types/mocha": "^5.2.7",
"@types/morgan": "^1.7.37",
"@types/node": "^12.12.20",
"@types/node-cleanup": "^2.1.1",
"@types/node-schedule": "^1.3.0",
"@types/sinon": "^7.0.13",
"@types/sinon-chai": "^3.2.3",
"@types/supertest": "^2.0.5",
"@types/umzug": "^2.2.2",
"@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0",
"chai": "^4.2.0",
"coveralls": "^3.0.2",
"dotenv": "^5.0.1",
"eslint": "^6.7.2",
"mocha": "^6.1.4",
"nodemon": "^2.0.2",
"nyc": "^12.0.2",
"runjs": "^4.3.2",
"sequelize-cli": "^5.5.0",
"sinon": "^7.3.2",
"sinon-chai": "^3.4.0",
"supertest": "^3.1.0",
"tap-spec": "^5.0.0",
"tasksfile": "^5.1.0",
"ts-node": "^8.5.4",
"typescript": "^3.7.3"
},
"resolutions": {
"set-value": "^2.0.1"
}
}