-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
55 lines (55 loc) · 1.68 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
{
"scripts": {
"prepare": "simple-git-hooks",
"docs:install": "cd ./docs && npm ci",
"docs:serve": "cd ./docs && npm run serve",
"docs:preview": "cd ./docs && npm run preview",
"docs:build": "cd ./docs && npm run build",
"lib:install": "cd ./lib && npm ci",
"lib:build": "cd ./lib && npm run build",
"lib:test": "cd ./lib && npm run test:unit",
"component:create": "node ./utils/component/scripts/create",
"lint": "eslint --ext .js,.ts,.vue .",
"stylelint": "npx stylelint '**/*.{vue,scss}'",
"stylelint:fix": "npx stylelint '**/*.{vue,scss}' --fix",
"precommit": "lint-staged",
"prepush": "npm run lint && npm run stylelint && npm run lib:test"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"eslint": "^8.57.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.22.0",
"fs-extra": "^10.1.0",
"inquirer": "^9.1.0",
"lint-staged": "^13.0.3",
"prettier": "^3.0.2",
"replace-in-file": "^6.3.5",
"sass": "^1.53.0",
"simple-git-hooks": "^2.8.0",
"stylelint": "^16.2.1",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-prettier": "^5.0.0",
"stylelint-scss": "^6.2.0",
"typescript": "^4.7.4",
"vue-eslint-parser": "^9.4.2"
},
"lint-staged": {
"*.{js,vue,ts}": [
"eslint",
"git add"
],
"*.{scss, css}": [
"stylelint",
"git add"
]
},
"simple-git-hooks": {
"pre-commit": "npm run precommit",
"pre-push": "npm run prepush"
}
}