forked from ice-lab/icestark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.41 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
85
86
87
88
89
90
91
92
93
94
{
"name": "@ice/stark",
"version": "2.1.1",
"description": "Icestark is a JavaScript library for multiple projects, Ice workbench solution.",
"scripts": {
"install:deps": "rm -rf node_modules && rm -rf ./packages/*/node_modules && yarn install && lerna exec -- npm install",
"publish:packages": "ts-node ./scripts/publish.ts",
"build": "rm -rf lib && tsc",
"watch": "tsc -w",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"lint": "eslint --cache --ext .ts,.tsx ./ && tsc --noEmit",
"test": "NODE_ENV=unittest jest",
"coverage": "codecov"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"license": "MIT",
"keywords": [
"ice",
"react",
"microfrontends"
],
"bugs": {
"url": "https://github.com/alibaba/ice/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"
},
"peerDependencies": {
"react": ">=15.0.0"
},
"dependencies": {
"@ice/sandbox": "^1.0.4",
"lodash.isequal": "^4.5.0",
"path-to-regexp": "^1.7.0",
"url-parse": "^1.1.9"
},
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"@ice/spec": "^0.1.4",
"@testing-library/jest-dom": "^4.2.3",
"@testing-library/react": "^9.3.2",
"@types/jest": "^24.0.12",
"@types/node": "^12.0.0",
"@types/path-to-regexp": "^1.7.0",
"@types/react": "^16.8.19",
"@types/url-parse": "^1.4.3",
"codecov": "^3.4.0",
"eslint": "^5.16.0",
"husky": "^2.2.0",
"jest": "^24.7.1",
"jest-fetch-mock": "^2.1.2",
"lerna": "^3.22.1",
"lint-staged": "^10.5.3",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"stylelint": "^10.1.0",
"ts-jest": "^24.0.2",
"ts-node": "^9.0.0",
"typescript": "^3.4.4",
"urllib": "^2.36.1"
},
"resolutions": {
"eslint-plugin-import": "2.20.2",
"@types/testing-library__dom": "7.0.2"
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"preset": "ts-jest",
"automock": false,
"setupFiles": [
"./setupJest.ts"
]
}
}