-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.63 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
{
"name": "node-server",
"version": "1.0.0",
"description": "Node server boilerplate",
"main": "index.js",
"scripts": {
"build": "yarn run flow-remove-types server/ -- -d dist/ --pretty",
"build:watch": "chokidar 'server/**/*.js' -c 'yarn run build'",
"server": "node index.js",
"server:watch": "DEBUG=server node_modules/.bin/nodemon index.js --ignore test-db.json",
"start:dev": "concurrently \"yarn build:watch\" \"yarn server:watch\"",
"json-server": "json-server --watch test-db.json --port 3001",
"lint": "node_modules/.bin/eslint ./server --fix",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "concurrently \"npm run server:watch\" \"json-server --watch test-db.json --port 3001\""
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn flow"
}
},
"keywords": [
"node",
"js",
"server",
"boilerplate"
],
"author": "Amr Labib",
"license": "ISC",
"dependencies": {
"axios": "^0.18.0",
"body-parser": "^1.18.2",
"chalk": "^2.3.2",
"debug": "^3.1.0",
"express": "^4.16.2",
"json-server": "^0.12.1",
"mongoose": "^5.0.9"
},
"devDependencies": {
"babel-eslint": "^8.2.3",
"chokidar-cli": "^1.2.0",
"concurrently": "^3.5.1",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-flowtype": "^2.46.3",
"eslint-plugin-import": "^2.11.0",
"flow": "^0.2.3",
"flow-bin": "^0.72.0",
"flow-remove-types": "^1.2.3",
"husky": "^1.0.0-rc.4",
"nodemon": "^1.15.1"
},
"nodemonConfig": {
"ignore": [
"node_modules/*"
],
"delay": "500"
}
}