-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 loc) · 1.3 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": "bale",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"build": "node scripts/build.js",
"push": "node scripts/publish.js",
"format": "npx prettier --write .",
"test": "ava"
},
"dependencies": {
"@babel/core": "^7.19.3",
"@babel/eslint-parser": "^7.12.16",
"@babel/preset-env": "^7.14.4",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"fs-extra": "^10.1.0",
"chalk": "^4.1.2",
"lodash": "^4.17.21",
"shelljs": "^0.8.5",
"inquirer": "^8.2.4"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^4.2.3",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"@types/node": "^18.14.6",
"@types/es6-promise": "^3.3.0",
"@typescript-eslint/parser": "^5.54.1",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.38",
"@swc/helpers": "^0.4.14",
"rimraf": "^4.4.0",
"ava": "^5.2.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"**/*.{vue,jsx,js,tsx,ts,json,css,md}": [
"prettier --write"
],
"**/*.{vue,jsx,js,tsx,ts}": [
"eslint --fix"
]
}
}