forked from rsuite/rsuite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
190 lines (190 loc) · 6.3 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
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "rsuite",
"version": "5.0.0-beta.5",
"description": "A suite of react components",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"typings": "lib/esm/index.d.ts",
"directories": {
"lib": "cjs/"
},
"scripts": {
"format": "prettier --write \"{src,test}/**/*.{tsx,ts,js}\"",
"format:docs": "prettier --write \"docs/**/*.{tsx,ts,md}\"",
"format:style": "stylelint \"src/**/*.less\" --syntax less --fix",
"format:check": "prettier --list-different \"{src,test}/**/*.{tsx,ts,js}\"",
"dist": "npm run dist:dev && npm run dist:pro",
"dist:dev": "cross-env NODE_ENV=development webpack --progress",
"dist:pro": "webpack --mode production --progress",
"build": "npm run build:gulp && npm run dist && npm run build:types",
"build:gulp": "gulp build --gulpfile scripts/gulpfile.js",
"build:types": "npx tsc --emitDeclarationOnly --outDir lib/cjs && npx tsc --emitDeclarationOnly --outDir lib/esm",
"build:docs": "npm run build --prefix docs",
"postbuild": "mocha test/validateBuilds.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"coveralls": "cat ./coverage/lcov/lcov.info | ./node_modules/.bin/coveralls",
"dist:analyze": "ANALYZE=true webpack --mode production --progress",
"dev": "npm i && npm i --prefix docs && npm run dev --prefix docs",
"lint": "npm run lint:ts && npm run lint:js && npm run lint:style",
"lint:style": "stylelint \"src/**/*.less\"",
"lint:ts": "eslint --ext tsx --ext ts src && tsc --noEmit",
"lint:js": "eslint --ext js src",
"prepublishOnly": "npm run build",
"tdd": "cross-env RUN_ENV=test karma start",
"test": "npm run format:check && npm run lint && npm run test:component && npm run test:less",
"test:component": "cross-env NODE_ENV=coverage RUN_ENV=test karma start --single-run",
"test:less": "mocha test/testLessPlugins.js"
},
"keywords": [
"react",
"rsuite",
"component",
"react-component"
],
"author": "HYPERS Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:rsuite/rsuite.git"
},
"dependencies": {
"@babel/runtime": "^7.8.4",
"@rsuite/icons": "^1.0.0",
"@types/chai": "^4.2.18",
"@types/classnames": "^2.2.8",
"@types/lodash": "^4.14.134",
"@types/prop-types": "^15.7.1",
"@types/react-virtualized": "^9.21.11",
"classnames": ">=2.0.0",
"date-fns": "^2.13.0",
"dom-lib": "^2.0.3",
"element-resize-event": "^3.0.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react-text-mask": "^5.4.3",
"react-virtualized": "^9.22.3",
"rsuite-table": "^5.0.0-alpha.8",
"schema-typed": "^2.0.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"files": [
"CHANGELOG.md",
"README.md",
"lib"
],
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.12.13",
"@babel/plugin-proposal-export-namespace-from": "^7.12.13",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.6.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-proto-to-assign": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"@babel/preset-typescript": "^7.12.7",
"@babel/runtime-corejs2": "^7.8.4",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@testing-library/react": "^11.2.3",
"@testing-library/react-hooks": "^7.0.0",
"@testing-library/user-event": "^13.1.9",
"@types/chai-dom": "0.0.10",
"@types/karma": "^5.0.1",
"@types/karma-mocha": "^1.3.1",
"@types/karma-sinon-chai": "^2.0.0",
"@types/karma-webpack": "^2.0.9",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/sinon": "^10.0.2",
"@types/sinon-chai": "^2.7.38",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"autoprefixer": "^8.3.0",
"babel-loader": "^8.0.0",
"babel-plugin-istanbul": "^4.1.4",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-dev": "^2.0.1",
"brfs": "^1.6.1",
"chai": "^4.1.0",
"conventional-changelog-cli": "^2.1.1",
"coveralls": "^2.13.1",
"cross-env": "^6.0.3",
"css-loader": "^0.28.11",
"cssnano": "^4.1.10",
"del": "^3.0.0",
"dtslint": "^0.3.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"glob": "^7.1.4",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-less": "^4.0.1",
"gulp-postcss": "^7.0.1",
"gulp-rename": "^1.2.2",
"gulp-rtlcss": "^1.4.0",
"gulp-sourcemaps": "^2.6.4",
"husky": "^4.2.5",
"karma": "^5.2.3",
"karma-chai-dom": "^1.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-coverage": "^2.0.3",
"karma-firefox-launcher": "^2.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sinon-chai": "^2.0.2",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0",
"less": "^3.7.0",
"less-loader": "^7.2.1",
"lodash-webpack-plugin": "^0.11.5",
"make-dir": "^1.3.0",
"mocha": "^9.0.2",
"postcss-custom-properties": "^10.0.0",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-test-renderer": "^17.0.2",
"sinon": "^11.1.1",
"sinon-chai": "^3.7.0",
"style-loader": "^0.20.3",
"stylelint": "^13.12.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^21.0.0",
"tinycolor2": "^1.4.1",
"typescript": "^4.3.5",
"webpack": "^5.11.0",
"webpack-bundle-analyzer": "^4.3.0",
"webpack-cli": "^4.2.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"ie >= 10"
],
"sideEffects": [
"cjs/**/styles/*",
"esm/**/styles/*",
"dist/*",
"*.less",
"*.css"
],
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}