generated from bendevorg/node_boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.33 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
{
"name": "boilerplate",
"version": "3.0.0",
"description": "",
"main": "index.js",
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"start": "node tools/startServer.ts",
"prod": "npm run env_setup_production && npm run server_production",
"dev": "npm run env_setup_development && npm run server_development",
"build": "tsc",
"env_setup_production": "node dist/tools/setupEnv.js production",
"server_production": "node -r dotenv/config dist/tools/startServer.js",
"docker_production": "docker-compose build --build-arg environment=prd && docker-compose up --abort-on-container-exit",
"env_setup_development": "ts-node tools/setupEnv.ts development",
"server_development": "nodemon tools/startServer.ts",
"docker_dev": "docker-compose build --build-arg environment=dev && docker-compose up --abort-on-container-exit",
"test": "npm run env_setup_development && nyc --reporter=html --reporter=text mocha test/runTests.js --timeout 10000",
"docker_test": "docker-compose build --build-arg environment=test && docker-compose up --abort-on-container-exit",
"coverage": "nyc report --reporter=text-lcov | codacy-coverage && rm -rf ./coverage",
"apidoc": "apidoc -i server/controllers/ -o docs/",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
},
"author": "",
"license": "ISC",
"dependencies": {
"body-parser": "^1.19.0",
"dotenv": "^8.0.0",
"express": "4.17.1",
"joi": "17.2.1",
"log-champ": "2.0.0"
},
"devDependencies": {
"@types/express": "4.17.7",
"@types/joi": "14.3.4",
"@types/morgan": "1.9.1",
"@types/node": "14.6.1",
"@typescript-eslint/eslint-plugin": "3.10.1",
"@typescript-eslint/parser": "3.10.1",
"apidoc": "0.17.7",
"chai": "4.2.0",
"codacy-coverage": "3.4.0",
"docker-compose": "0.20.2",
"eslint": "5.14.1",
"eslint-config-airbnb-base": "13.2.0",
"eslint-config-airbnb-typescript": "9.0.0",
"eslint-config-prettier": "6.0.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-node": "9.1.0",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.0",
"faker": "4.1.0",
"mocha": "6.1.4",
"morgan": "^1.9.1",
"nodemon": "^2.0.3",
"nyc": "14.1.1",
"supertest": "4.0.2",
"ts-node": "9.0.0",
"typescript": "4.0.2"
}
}