forked from contentful/create-contentful-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.37 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
{
"name": "root",
"license": "MIT",
"private": true,
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "8.3.4",
"babel-eslint": "10.0.3",
"commitizen": "^4.0.3",
"cz-customizable": "6.2.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-node": "11.0.0",
"husky": "4.2.1",
"lerna": "3.20.2",
"lint-staged": "10.0.7",
"prettier": "1.19.1",
"tar": ">=6.0.1"
},
"scripts": {
"postinstall": "lerna bootstrap",
"build": "lerna run build",
"test": "lerna run test",
"lint": "eslint ./ --ext .js,.jsx,.ts,.tsx",
"local:test": "rm -rf dist && LOCAL_TEST=true node packages/create-contentful-extension/lib/index.js dist",
"commit": "git-cz",
"prettier": "prettier **/*.{js,jsx,ts,tsx} scripts/**/*.js --write --ignore-path .gitignore",
"commitmsg": "validate-commit-msg"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
},
"cz-customizable": {
"config": "cz-customizable.config.js"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.css": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}