-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
54 lines (54 loc) · 1.27 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
{
"name": "netlify-cms-widgets",
"private": true,
"scripts": {
"prebuild": "lerna bootstrap",
"build": "lerna run build",
"postbuild": "yarn demo",
"demo": "parcel build --cache-dir=node_modules/.cache/parceljs/ demo/widgets/index.html",
"postdemo": "ncp demo/widgets/static dist/",
"lint": "eslint --ignore-path .gitignore --fix",
"commitmsg": "commitlint -e $GIT_PARAMS"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"devDependencies": {
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.1",
"babel-eslint": "^10.0.1",
"cross-env": "^5.2.0",
"eslint": "^5.3.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.0",
"lerna": "^2.11.0",
"lerna-changelog": "^0.8.0",
"lint-staged": "^7.2.2",
"ncp": "^2.0.0",
"plop": "^2.0.0",
"yorkie": "^2.0.0"
},
"lint-staged": {
"*.js": [
"eslint --ignore-path .gitignore --fix",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintIgnore": [
"dist",
"node_modules"
],
"workspaces": [
"widgets/*",
"media-library/*",
"demo/*",
"core/*"
]
}