-
Notifications
You must be signed in to change notification settings - Fork 110
/
Copy pathpackage.json
38 lines (38 loc) · 1.07 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
{
"name": "gtb-static-page",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/dujuanxian/gtb-static-page.git",
"author": "杜娟 <jdu.xian@gmail.com>",
"license": "MIT",
"scripts": {
"start": "parcel index.html --open",
"lint": "eslint \"src/\" --cache --fix --format table",
"format": "prettier --write \"src/**/*.{js,css}\""
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/preset-env": "^7.9.5",
"babel-eslint": "^10.1.0",
"babel-preset-airbnb": "^5.0.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.1.3",
"husky": ">=4",
"lint-staged": ">=10",
"parcel-bundler": "^1.12.4",
"prettier": "2.0.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint \"src/\" --cache --fix --format table",
"*.{js,css,md}": "prettier --write"
}
}