-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.56 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
{
"private": true,
"packageManager": "[email protected]",
"scripts": {
"debug:dev": "pnpm --filter @my-component/debug dev",
"docs:dev": "pnpm --filter @my-component/docs dev",
"docs:build": "pnpm --filter @my-component/docs build",
"test": "pnpm --filter my-component test",
"test:watch": "pnpm --filter my-component test:watch",
"prebuild": "pnpm --filter my-component prebuild",
"build:all": "pnpm --filter my-component build",
"build:core": "pnpm --filter my-component build:core",
"build:css": "pnpm --filter my-component build:css",
"lint": "eslint --ext .vue,.js,.jsx,.ts,.tsx ./ --max-warnings 0",
"lint:fix": "eslint --ext .vue,.js,jsx,.ts,.tsx ./ --max-warnings 0 --fix",
"stylelint": "stylelint ./src/**/*.{html,vue,sass,scss}",
"stylelint:fix": "stylelint --cache --fix ./src/**/*.{html,vue,css,sass,scss}"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search"
]
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,vue}": [
"prettier --write src",
"yarn lint:fix"
],
"*.{html,vue,css,sass,scss}": [
"yarn stylelint:fix"
]
},
"dependencies": {
"vue": "^2.7.14"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@types/node": "^18.18.4",
"@vitejs/plugin-legacy": "^4.0.5",
"@vitejs/plugin-vue2": "^2.2.0",
"@vitejs/plugin-vue2-jsx": "^1.1.0",
"@vue/compiler-sfc": "^3.0.8",
"@vue/test-utils": "^1.3.6",
"autoprefixer": "^10.4.7",
"eslint": "^8.34.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-vue": "^7.20.0",
"husky": "^8.0.1",
"jsdom": "^21.1.0",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3",
"rimraf": "^4.1.2",
"rollup": "^3.17.3",
"rollup-plugin-multi-input": "^1.4.1",
"rollup-plugin-styles": "^4.0.0",
"sass": "^1.68.0",
"unplugin-vue-components": "^0.22.4",
"unplugin-vue-macros": "^2.6.1",
"vite": "^4.4.11",
"vitest": "^0.34.6",
"vue-class-component": "^7.2.6",
"vue-eslint-parser": "^9.0.3",
"vue-property-decorator": "^9.1.2"
}
}