-
Notifications
You must be signed in to change notification settings - Fork 76
/
package.json
37 lines (37 loc) · 1.04 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
{
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"clean": "rm -rf node_modules ./packages/*/node_modules",
"setup": "npm run clean && pnpm i --registry=https://registry.npmmirror.com",
"lint": "eslint --cache --quiet --ext .js,.ts ./",
"lint-fix": "eslint --cache --ext .js,.ts ./ --fix",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "vitest run",
"coverage": "vitest run --coverage",
"publish": "cd packages/build-scripts && npm run build && npm publish"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npm run lint"
}
},
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"@iceworks/spec": "^1.5.0",
"build-scripts": "workspace: *",
"eslint": "^7.31.0",
"husky": "^1.3.1",
"stylelint": "^10.1.0",
"typescript": "^4",
"vitest": "^0.7.4"
},
"dependencies": {
"c8": "^7.11.0"
}
}