-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.93 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
{
"scripts": {
"start": "node ./build/app.js",
"clean": "rm -rf build && mkdir build",
"build": "npm run clean && npm run build:babel",
"build:babel": "babel -d ./build ./src -s",
"lint": "eslint src",
"test": "cross-env NODE_ENV=test jest",
"server": "cross-env DEBUG=app nodemon --exec ./node_modules/.bin/babel-node src/app.js",
"server:prod": "cross-env NODE_ENV=production ./node_modules/.bin/nodemon --exec ./node_modules/.bin/babel-node src/app.js",
"dev": "cross-env NODE_ENV=development ./node_modules/.bin/npm-run-all server",
"docs": "apidoc -i src -o docs && apidoc-markdown -p docs -o DOCS.md",
"docs:post": "opn docs/index.html"
},
"jest": {
"testEnvironment": "node",
"setupTestFrameworkScriptFile": "<rootDir>/test/setup.js",
"coverageDirectory": "./coverage/",
"collectCoverage": true
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/node": "^7.14.9",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-stage-1": "^7.8.3",
"@babel/register": "^7.15.3",
"@babel/runtime": "^7.15.3",
"apidoc": "^0.29.0",
"apidoc-markdown": "^6.0.0",
"babel-jest": "^27.0.6",
"babel-loader": "^8.2.2",
"babel-runtime": "^6.26.0",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.1",
"eslint-plugin-prettier": "^3.4.1",
"jest-cli": "^27.0.6",
"mockgoose": "^8.0.4",
"nodemon": "^2.0.12",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"supertest": "^6.1.6",
"supertest-as-promised": "^4.0.2"
},
"dependencies": {
"@joi/date": "^2.1.0",
"bluebird": "^3.7.2",
"body-parser": "^1.19.0",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"jest": "^27.0.6",
"joi": "^17.4.2",
"mongoose": "^5.13.7"
}
}