-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 1.87 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
72
73
{
"name": "api-contacts",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "babel src --ignore __tests__,__mocks__ -d dist",
"dev": "nodemon src/server.js --exec babel-node | bunyan",
"serve": "node dist/server.js",
"start": "yarn build && yarn serve",
"lint": "eslint .",
"prettier": "prettier --write src/**/*.js",
"test": "jest --forceExit",
"coverage": "jest --coverage --forceExit",
"dev:coverage": "jest --watch --coverage",
"precommit": "lint-staged && npm test"
},
"author": "",
"license": "ISC",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.6",
"babel-jest": "^23.4.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.10.0",
"jest": "^22.4.3",
"lint-staged": "^7.2.0",
"nodemon": "^1.18.3",
"prettier": "^1.14.0"
},
"dependencies": {
"body-parser": "^1.18.3",
"bunyan": "^1.8.12",
"cors": "^2.8.4",
"express": "^4.16.3",
"helmet": "^3.13.0",
"husky": "^0.14.3",
"joi": "^13.5.2",
"knex": "^0.15.2",
"morgan": "^1.9.1",
"pg": "^7.4.3"
},
"lint-staged": {
"*.js": [
"eslint",
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 100
},
"jest": {
"testEnvironment": "node",
"automock": false,
"testRegex": "/__tests__/.*\\.test\\.js$",
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/",
"/src/config/"
]
}
}