-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
172 lines (172 loc) · 6.19 KB
/
package.json
File metadata and controls
172 lines (172 loc) · 6.19 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "klein-design",
"version": "1.1.3",
"private": true,
"keywords": [
"klein",
"component",
"components",
"design",
"framework",
"frontend",
"react",
"react-component",
"ui"
],
"bugs": {
"url": "https://github.com/weimob-tech/klein-react/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/weimob-tech/klein-react"
},
"license": "MIT",
"workspaces": [
"packages/*"
],
"scripts": {
"build:react-kit": "cd packages/react-kit && npm run build && cd -",
"build:kit-doc": "npm run build:react-kit && cd packages/kit-doc && npm run build && cd -",
"build": "lerna run build",
"publish-release": "lerna publish --yes from-git",
"version-release": "lerna version patch --yes",
"publish-beta": "lerna publish --yes from-git --dist-tag beta",
"version-beta": "lerna version prerelease --conventional-prerelease --yes --preid beta",
"version-doc": "lerna version prerelease --conventional-prerelease --yes --preid doc",
"publish-doc": "lerna publish --yes from-git --dist-tag doc",
"doc": "run-s version-doc build publish-doc",
"beta": "run-s version-beta build publish-beta",
"release": "run-s version-release build publish-release",
"react-kit": "cd packages/react-kit && npm run dev",
"kit-doc": "cd packages/kit-doc && npm run dev",
"kit-utils": "cd packages/kit-utils && npm run dev",
"kit-cli": "cd packages/kit-cli && npm run dev",
"build:css": "webpack --config ./config/webpack.css.config.js",
"build:script": "webpack --config ./config/webpack.script.config.js",
"commit": "git-cz",
"createFiles": "node ./scripts/createCdnFiles.js",
"deploy": "npm run docs:build && npm run zip",
"docs:deploy": "gh-pages -d docs-dist",
"docsearch": "chmod +x ./docsearch/index.sh && ./docsearch/index.sh",
"fusion": "standard-version --prerelease fusion --release-as patch && kraken-kit build --pub --buildCheck false --cssModule false",
"fusion-build": "father-build && node ./scripts/createDistCss.js",
"internal": "npm run build && standard-version --prerelease internal --release-as patch && npm run pub:internal",
"lint": "npm run lint:script && npm run lint:style",
"lint:fix": "npm run lint:script -- --fix && npm run lint:style -- --fix",
"lint:script": "eslint --cache --ext .ts,.tsx --format=pretty **/*.{ts,tsx}",
"lint:style": "stylelint 'src/**/*.less' --syntax less",
"mpage": "standard-version --prerelease mpage --release-as patch && kraken-kit build --pub --buildCheck false --cssModule false",
"new": "node ./scripts/newComponent.js",
"nocheck:ts": "node ./scripts/nocheckTypescript",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,json}'",
"pub:beta": "git push && npm publish --tag beta",
"pub:internal": "git push && npm publish --tag internal",
"pub:release": "git push && npm publish",
"site": "kit-doc start --html true --kraken false",
"site:deploy": "kit-doc build --html true --kraken false && cp public/favicon.ico dist/static/images && cp -r dist ..",
"svgComponents": "node ./scripts/generateSvgComponent.js",
"test": "umi-test",
"test:coverage": "umi-test --coverage"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged --allow-empty",
"commit-msg": "commitlint -e $GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,tsx,ts,less,json}": [
"prettier --write"
],
"**/*.{less,css}": "npm run lint:style",
"**/*.{ts,tsx}": "npm run lint:script"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@docsearch/react": "3",
"@svgr/core": "5.5.0",
"@testing-library/dom": "^7.28.1",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^11.2.2",
"@testing-library/user-event": "^12.6.0",
"@types/enzyme": "^3.10.8",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest": "^26.0.16",
"@types/raf": "^3.4.0",
"@types/react": "16.14.0",
"@types/react-copy-to-clipboard": "^5.0.0",
"@types/react-dom": "^16.9.19",
"@types/rimraf": "^3.0.2",
"@types/shallowequal": "^1.1.1",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"@uppy/core": "^2.1.1",
"@uppy/xhr-upload": "^2.0.3",
"array-move": "^3.0.1",
"commitizen": "^4.2.2",
"compressing": "^1.5.1",
"cz-conventional-changelog": "^3.3.0",
"dom7": "^3.0.0",
"emitter": "^0.0.5",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"enzyme-to-json": "^3.6.1",
"eslint": "^7.24.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^12.3.1",
"event-emitter": "0.3.5",
"father-build": "^1.17.2",
"gh-pages": "^3.0.0",
"html-void-elements": "2.0.0",
"husky": "^4.3.0",
"i18next": "20.4.0",
"immutability-helper": "^3.1.1",
"is-hotkey": "^0.2.0",
"is-url": "^1.2.4",
"lerna": "^4.0.0",
"lint-staged": "^10.0.7",
"lodash.camelcase": "^4.3.0",
"lodash.clonedeep": "^4.5.0",
"lodash.debounce": "^4.0.8",
"lodash.foreach": "^4.5.0",
"lodash.isequal": "^4.5.0",
"lodash.throttle": "^4.1.1",
"lodash.toarray": "^4.4.0",
"nanoid": "^3.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"prismjs": "^1.23.0",
"raf": "^3.4.1",
"react": "^16.12.0",
"react-copy-to-clipboard": "^5.1.0",
"react-dnd": "^14.0.2",
"react-dnd-html5-backend": "^14.0.0",
"react-docgen-typescript": "^1.20.5",
"react-dom": "^16.14.0",
"react-highlight-words": "^0.17.0",
"react-resizable": "^2.0.0",
"react-router": "^6.9.0",
"react-router-dom": "6.2.1",
"react-sortable-hoc": "^2.0.0",
"react-syntax-highlighter": "^15.5.0",
"react-window": "^1.8.6",
"regenerator-runtime": "^0.13.9",
"scroll-into-view-if-needed": "2.2.28",
"slate": "^0.72.0",
"slate-history": "0.66.0",
"snabbdom": "^3.1.0",
"standard-version": "^9.0.0",
"stylelint": "^13.8.0",
"yorkie": "^2.0.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
}
}