-
Notifications
You must be signed in to change notification settings - Fork 174
/
package.json
78 lines (78 loc) · 2.34 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
{
"name": "icestark-monorepo",
"version": "2.7.3",
"private": true,
"description": "Icestark is a JavaScript library for multiple projects, Ice workbench solution.",
"scripts": {
"preinstall": "npx only-allow pnpm",
"setup": "rm -rf node_modules && rm -rf ./packages/*/node_modules && pnpm i --registry=https://registry.npmmirror.com && npm run build",
"build": "pnpm run clean && pnpm -r --filter ./packages run build",
"watch": "pnpm -r --filter ./packages --parallel run watch",
"clean": "rimraf packages/*/lib",
"publish:packages": "ts-node ./scripts/publish.ts",
"publish:beta": "ts-node ./scripts/beta.ts",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx ./",
"test": "NODE_ENV=unittest jest",
"coverage": "codecov"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ice-lab/icestark/issues"
},
"homepage": "https://github.com/ice-lab/icestark",
"husky": {
"hooks": {
"pre-commit": "tsc --noEmit && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"eslint --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/ice-lab/icestark.git"
},
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"@iceworks/spec": "^1.3.2",
"@ice/stark": "workspace:*",
"@ice/sandbox": "workspace:*",
"@ice/stark-data": "workspace:*",
"@ice/stark-app": "workspace:*",
"@ice/stark-module": "workspace:*",
"@testing-library/jest-dom": "^4.2.3",
"@testing-library/react": "^9.3.2",
"@types/jest": "^24.0.12",
"@types/node": "^12.0.0",
"@types/fs-extra": "^9.0.13",
"codecov": "^3.4.0",
"eslint": "^7.31.0",
"fs-extra": "^10.0.0",
"husky": "^2.2.0",
"jest": "^24.7.1",
"jest-fetch-mock": "^2.1.2",
"lint-staged": "^10.5.3",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"stylelint": "^10.1.0",
"ts-jest": "^24.0.2",
"ts-node": "^10.2.1",
"typescript": "^4.3.5",
"urllib": "^2.38.0"
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"preset": "ts-jest",
"automock": false,
"testMatch": [ "**/__tests__/**/*.ts?(x)", "**/?(*.)+(spec|test).ts?(x)" ],
"setupFiles": [
"./setupJest.ts"
]
}
}