forked from Laboratoria/LIM011-fe-burger-queen-api
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
50 lines (50 loc) 路 2.5 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
{
"name": "burger-queen-api",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"engines": {
"node": ">=10"
},
"scripts": {
"pretest": "eslint .",
"start": "node index.js",
"test:e2e": "jest --verbose --detectOpenHandles --testPathPattern e2e --globalSetup ./e2e/globalSetup --globalTeardown ./e2e/globalTeardown --runInBand",
"test:e2e:users": "jest --verbose --testPathPattern e2e/users.spec.js --globalSetup ./e2e/globalSetup --globalTeardown ./e2e/globalTeardown --runInBand",
"test:e2e:auth": "jest --verbose --testPathPattern e2e/auth.spec.js --globalSetup ./e2e/globalSetup --globalTeardown ./e2e/globalTeardown --runInBand",
"test:e2e:products": "jest --verbose --testPathPattern e2e/products.spec.js --globalSetup ./e2e/globalSetup --globalTeardown ./e2e/globalTeardown --runInBand",
"test:e2e:orders": "jest --verbose --testPathPattern e2e/orders.spec.js --globalSetup ./e2e/globalSetup --globalTeardown ./e2e/globalTeardown --runInBand",
"test:unit": "jest --coverage --verbose --detectOpenHandles --testPathPattern ./controller/__tests__ --testPathIgnorePatterns ./controller/__tests__/globalSetup",
"test:unit:users": "jest --verbose ./controller/__tests__/users.spec.js --coverage --testPathIgnorePatterns e2e",
"test:unit:products": "jest --verbose ./controller/__tests__/products.spec.js --coverage --testPathIgnorePatterns e2e",
"test:unit:orders": "jest --verbose ./controller/__tests__/orders.spec.js --coverage --testPathIgnorePatterns e2e",
"test:unit:utils": "jest --verbose ./controller/__tests__/utils.spec.js --coverage --testPathIgnorePatterns e2e",
"test:unit:errors": "jest --verbose ./controller/__tests__/errors.spec.js --coverage --testPathIgnorePatterns e2e",
"test": "npm run test:e2e && npm run test:unit",
"lint": "eslint .",
"docs:generate": "jsdoc -c jsdoc.conf --readme README-docs.md",
"docs:deploy": "rm -rf docs && npm run docs:generate && gh-pages -d docs"
},
"dependencies": {
"bcrypt": "^3.0.7",
"body-parser": "1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"helmet": "^3.22.0",
"jsonwebtoken": "8.5.1",
"mongodb": "^3.5.3"
},
"devDependencies": {
"docdash": "1.1.1",
"eslint": "^6.1.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"gh-pages": "2.1.1",
"jest": "^25.1.0",
"jsdoc": "3.6.3",
"jsdoc-http-plugin": "0.3.1",
"mongodb-memory-server": "^6.2.4",
"node-fetch": "2.6.0",
"tree-kill": "^1.2.2"
}
}