-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.34 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
{
"name": "optilyz-test",
"author": "Muhammad Akbar",
"description": "Optilyz assessment test",
"version": "1.0.0",
"license": "ISC",
"main": "dist/index.js",
"scripts": {
"clean": "rimraf dist/*",
"tsc": "tsc",
"build": "npm-run-all clean tsc",
"prestart": "npm run build",
"dev:start": "npm-run-all start",
"dev": "cross-env NODE_ENV=development nodemon --watch src -e ts,ejs --exec npm run dev:start",
"start": "node .",
"test": "cross-env NODE_ENV=test jest --runInBand",
"test:watch": "jest --runInBand --watchAll",
"lint": "eslint src && tslint -c tslint.json -p tsconfig.json",
"lint:fix": "eslint src --fix && tslint -c tslint.json -p tsconfig.json --fix",
"precommit-msg": "echo 'Running pre-commit tests and lint...' && exit 0"
},
"dependencies": {
"@automapper/classes": "^7.2.1",
"@automapper/core": "^7.2.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.1",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.2",
"express-validator": "^6.14.0",
"helmet": "^5.0.2",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.1.8",
"parse-duration": "^1.0.2",
"passport": "^0.5.2",
"passport-jwt": "^4.0.0",
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/cors": "^2.8.12",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.0",
"@types/jsonwebtoken": "^8.5.8",
"@types/mongoose": "^5.11.97",
"@types/node": "^16.11.7",
"@types/passport": "^1.0.7",
"@types/passport-jwt": "^3.0.6",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"cross-env": "^7.0.3",
"eslint": "^8.7.0",
"eslint-plugin-jest": "^26.0.0",
"jest": "^27.4.7",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"pre-commit": "^1.2.2",
"rimraf": "^3.0.2",
"supertest": "^6.2.2",
"ts-jest": "^27.1.3",
"tslint": "^6.1.3",
"typescript": "^4.5.5"
},
"pre-commit": [
"precommit-msg",
"test",
"lint"
]
}