-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2 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
{
"name": "widgets-v3",
"version": "0.34.1",
"scripts": {
"prepare": "husky install",
"start": "dumi dev",
"docs:build": "dumi build",
"build": "rimraf dist && father build",
"deploy": "npm run docs:build && npm run docs:deploy",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"//prepublishOnly": "npm run build",
"preversion": "git log -n 5 && npm test && npm run build",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"postversion": "npm run changelog && git add CHANGELOG.md && git commit -m \"chore: update changelog\" && git push && git push --tags && npm publish && npm run sync-cnpm",
"sync-cnpm": "start https://npmmirror.com/sync/widgets-v3"
},
"files": [
"dist"
],
"module": "dist/esm/index.js",
"typings": "dist/esm/index.d.ts",
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"antd": "^3.26.20",
"lodash.debounce": "^4.0.8",
"react": "^16.5.2",
"react-dom": "^16.5.2"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.15.1",
"@testing-library/react": "^13.0.0",
"@types/jest": "^27.0.3",
"@types/lodash.debounce": "^4.0.9",
"@types/prop-types": "^15.7.2",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.8.4",
"@umijs/fabric": "^2.8.1",
"@umijs/test": "^3.0.5",
"babel-plugin-import": "^1.13.8",
"babel-plugin-module-resolver": "^5.0.0",
"conventional-changelog-cli": "^4.1.0",
"delay": "^6.0.0",
"dumi": "^1.1.0",
"father": "^4.0.0-rc.2",
"gh-pages": "^3.0.0",
"husky": "6",
"lint-staged": "^10.0.7",
"prettier": "^2.2.1",
"rimraf": "^5.0.5",
"typescript": "~3.8.3"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}