-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
90 lines (90 loc) · 1.99 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
{
"name": "eslint-es",
"version": "0.0.1",
"keywords": [],
"private": true,
"license": "MIT|ISC",
"author": "HeavenSky",
"description": "study improve",
"repository": "github:HeavenSky/repo",
"homepage": "https://github.com/HeavenSky",
"bugs": {
"url": "https://github.com/HeavenSky",
"email": "[email protected]"
},
"publishConfig": {
"registry": "https://registry.npmjs.com"
},
"engines": {
"node": ">11",
"npm": ">6"
},
"bin": {
"bin-cli": "bin/cli.js"
},
"module": "esm/index.js",
"main": "src/index.js",
"man": "man/doc.man",
"browser": "chrome",
"scripts": {
"start": "eslint ./ --cache --fix --ext .js,.jsx,.mjs,.vue",
"release": "standard-version"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs,vue}": [
"prettier --write",
"eslint --cache --fix",
"git add -f"
],
"*.{md,mdx,gql,graphql,css,less,scss,html,json,flow,yaml}": [
"prettier --write",
"git add -f"
]
},
"prettier": {
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "ignore",
"jsxSingleQuote": false,
"printWidth": 80,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "es5",
"useTabs": true
},
"bundledDependencies": [],
"peerDependencies": {},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"babel-eslint": "^10.0.3",
"eslint": "^6.8.0",
"eslint-config-ali": "^9.0.2",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^2.3.0",
"eslint-plugin-vue": "^6.1.2",
"husky": "^4.2.1",
"lint-staged": "^10.0.7",
"prettier": "^1.19.1",
"standard-version": "^7.1.0"
},
"dependencies": {
"mime-types": "^2.1.26",
"terser": "^4.6.3",
"tinify": "^1.6.0-beta.2"
}
}