-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.29 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
{
"name": "umi-plugin-runtime-import",
"main": "lib/index.js",
"version": "1.0.0",
"description": "dynamic import cdn modules when needed for umi",
"authors": {
"name": "fengsx",
"email": "[email protected]"
},
"repository": "https://github.com/fengsx/umi-plugin-runtime-import",
"scripts": {
"start": "yarn build && cd examples && yarn && yarn start",
"build:example": "yarn build && cd examples && yarn && yarn build",
"build": "father-build",
"prepublishOnly": "npm run build",
"release": "npm publish",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test",
"test:coverage": "umi-test --coverage"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.ts?(x)": [
"prettier --parser=typescript --write",
"git add"
],
"*.{js,jsx,less,md,json}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"lodash": "^4.17.20"
},
"devDependencies": {
"@types/webpack": "^5.28.0",
"cross-env": "^6.0.3",
"father-build": "^1.17.2",
"lint-staged": "^10.0.7",
"prettier": "^2.2.0",
"umi": "^3.5.x",
"yorkie": "^2.0.0"
},
"files": [
"lib"
],
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"license": "MIT"
}