-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.88 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
{
"private": true,
"name": "lc-nut",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://gitlab.chaincity.net:8008/Common/Front-End/nut.git"
},
"scripts": {
"init-all": "rm -rf node_modules && yarn install && yarn run clean && yarn run bootstrap && yarn run build",
"start": "dumi dev",
"dev": "dumi dev",
"bootstrap": "lerna bootstrap",
"clean": "lerna clean --yes",
"build": "lerna run build",
"build:doc": "dumi build",
"pub": "yarn run build && nrm use hosted && npm login && lerna publish",
"pub:doc": "yarn run build:doc && surge ./dist --domain lc-nut.surge.sh",
"pub:doc-github": "yarn run build && cd ./dist && rm -rf .git && touch .spa && touch .nojekyll && git init && git remote add origin [email protected]:GitKou/GitKou.github.io.git && git add -A && git commit -m \"publish docs\" && git push origin master -f",
"test": "jest",
"prettier": "prettier -c --write \"src/**/*\"",
"lint": "umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier && npm run tsc",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./packages && npm run lint:style",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./packages",
"lint:prettier": "prettier -c --write \"packages/**/*\" --end-of-line auto",
"lint:style": "stylelint --fix \"packages/**/*.less\" --syntax less",
"tsc": "tsc --noEmit"
},
"main": "dist/index.js",
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js",
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write"
]
},
"dependencies": {
"@ant-design/pro-form": "^1.46.0",
"antd": "^4.16.13",
"react": "^16.12.0 || ^17.0.0"
},
"devDependencies": {
"@ant-design/pro-table": "^2.57.3",
"@types/store": "^2.0.2",
"@umijs/fabric": "^2.8.1",
"@umijs/test": "^3.0.5",
"ahooks": "^3.0.7",
"babel-plugin-import": "^1.13.3",
"babel-plugin-transform-async-to-promises": "^0.8.15",
"cross-env": "^7.0.3",
"del": "^6.0.0",
"dumi": "^1.0.17",
"father-build": "^1.17.2",
"fetch-mock": "^9.11.0",
"gh-pages": "^3.0.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-typescript": "^6.0.0-alpha.1",
"lerna": "^4.0.0",
"lint-staged": "^10.0.7",
"prettier": "^2.2.1",
"stylelint": "^13.0.0",
"surge": "^0.23.0",
"ts-loader": "^9.2.6",
"typescript": "^4.4.4",
"umi-request": "^1.4.0",
"webpack": "^5.64.0",
"webpack-cli": "^4.9.1",
"webpack-merge": "^5.8.0",
"yorkie": "^2.0.0"
},
"engines": {
"node": ">=10.0.0"
},
"gitHooks": {
"commit-msg": "fabric verify-commit",
"pre-commit": "lint-staged"
}
}