-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
91 lines (91 loc) · 2.29 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "nivo-api",
"version": "0.1.0",
"description": "Rendering API for nivo dataviz React/d3 components",
"main": "src/app.js",
"licenses": [
{
"type": "MIT",
"url": "https://github.com/plouc/nivo/blob/master/LICENSE.md"
}
],
"author": {
"name": "Raphaël Benitte",
"url": "https://github.com/plouc"
},
"engineStrict": true,
"engines": {
"node": ">=6.0.0"
},
"devDependencies": {
"husky": "^0.14.3",
"lint-staged": "^4.0.3",
"mustache": "^2.3.0",
"nodemon": "^1.11.0",
"prettier": "^1.5.3",
"validate-commit-msg": "^2.14.0"
},
"dependencies": {
"body-parser": "^1.17.2",
"compression": "^1.7.0",
"cors": "^2.8.4",
"express": "^4.15.4",
"express-winston": "^2.4.0",
"joi": "^10.6.0",
"lodash": "^4.17.4",
"nivo": "0.28.1",
"nivo-generators": "^0.8.0",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"uuid": "^3.1.0",
"winston": "^2.3.1"
},
"scripts": {
"readme": "node misc/readmeData.js | mustache - misc/README.mustache > README.md",
"start": "node src/app.js",
"start:watch": "nodemon src/app.js",
"fmt": "prettier --print-width=100 --tab-width=4 --bracket-spacing --no-semi --trailing-comma es5 --single-quote --color --write \"{src,misc}/**/*.js\"",
"fmt:check": "prettier --print-width=100 --tab-width=4 --bracket-spacing --no-semi --trailing-comma es5 --single-quote --list-different \"{src,misc}/**/*.js\"",
"version": "echo ${npm_package_version}",
"prepublishOnly": "npm test && npm run build",
"precommit": "lint-staged",
"commitmsg": "validate-commit-msg"
},
"lint-staged": {
"*.js": [
"fmt",
"git add"
]
},
"config": {
"validate-commit-msg": {
"types": [
"feat",
"fix",
"docs",
"style",
"refactor",
"perf",
"test",
"build",
"ci",
"chore",
"revert"
],
"scope": {
"required": true,
"allowed": [
"*"
],
"validate": false,
"multiple": false
},
"warnOnFail": false,
"maxSubjectLength": 80,
"subjectPattern": ".+",
"subjectPatternErrorMsg": "subject does not match subject pattern!",
"helpMessage": "",
"autoFix": false
}
}
}