forked from dowjones/react-dropdown-tree-select
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
198 lines (198 loc) · 5.61 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
191
192
193
194
195
196
197
198
{
"name": "react-tree-selector",
"version": "0.1.1",
"description": "Lightweight, customizable and fast Dropdown Tree Select component for React",
"keywords": [
"react",
"tree-select",
"dropdown",
"dropdown-tree-select",
"react-dropdown-tree-select",
"checkbox-tree",
"checkbox-select",
"checkbox-tree-select",
"checkbox-dropdown-tree-select",
"fast",
"customizable",
"lightweight",
"searchable",
"search"
],
"main": "dist/react-dropdown-tree-select.js",
"types": "dist/react-dropdown-tree-select.d.ts",
"repository": "https://github.com/bill-zhongjie-li/react-dropdown-tree-select.git",
"author": "Bill Li <bill.zhongjie.li@gmail.com>",
"license": "MIT",
"scripts": {
"build": "rimraf dist/**/* && cross-env NODE_ENV=production webpack --config webpack.config.js --bail --mode=production",
"build:docs": "yarn build && cross-env NODE_ENV=production webpack --config docs/webpack.config.js --bail --mode=production",
"commit": "git-cz",
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
"demo": "rimraf ./docs/bundle.js && webpack-serve --content ./docs --port 3000 --open --config docs/webpack.config.js",
"prepublishOnly": "npm run build",
"lint": "eslint --fix src docs webpack.config.js && stylelint --fix \"src/**/*.css\"",
"lint:nofix": "eslint src webpack.config.js && stylelint \"src/**/*.css\"",
"format": "prettier-eslint --write \"src/**/*.js\" \"docs/**/*.js\" webpack.config.js",
"test": "cross-env NODE_ENV=test ava",
"test:snapshots": "cross-env NODE_ENV=test ava --update-snapshots",
"test:cov": "rimraf .nyc_output && nyc npm test && nyc report --reporter=lcov ",
"test:watch": "cross-env NODE_ENV=test ava --watch",
"semantic-release": "semantic-release",
"contributors": "all-contributors add && all-contributors generate"
},
"files": [
"dist"
],
"dependencies": {
"array.partial": "^1.0.5",
"classnames": "^2.2.6",
"react-infinite-scroll-component": "^4.0.2"
},
"devDependencies": {
"@babel/plugin-syntax-jsx": "7.0.0-beta.46",
"@babel/preset-stage-3": "7.0.0-beta.46",
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.0",
"all-contributors-cli": "^5.4.1",
"ava": "^1.4.1",
"axe-core": "^3.2.2",
"babel-core": "6.24.1",
"babel-eslint": "10.0.1",
"babel-loader": "7.1.2",
"babel-plugin-istanbul": "4.1.3",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-react-remove-prop-types": "0.4.13",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-0": "6.24.1",
"commitizen": "^2.9.6",
"conventional-changelog-cli": "^2.0.5",
"copy-webpack-plugin": "^5.0.1",
"coveralls": "^3.0.0",
"cross-env": "^5.0.5",
"css-loader": "^0.28.0",
"cz-conventional-changelog-emoji": "^0.1.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"enzyme-to-json": "^3.3.5",
"eslint": "5.6.0",
"eslint-config-prettier": "4.1.0",
"eslint-config-react-app": "3.0.8",
"eslint-plugin-flowtype": "2.50.3",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-prettier": "3.0.1",
"eslint-plugin-react": "7.12.4",
"github-markdown-css": "^2.10.0",
"husky": "1.3.1",
"ignore-styles": "^5.0.1",
"jsdom": "^11.2.0",
"jsdom-global": "^3.0.2",
"lint-staged": "8.1.5",
"marked": "^0.3.17",
"mini-css-extract-plugin": "^0.4.0",
"nyc": "^12.0.1",
"postcss": "^6.0.16",
"postcss-cssnext": "^3.1.0",
"postcss-import": "^11.0.0",
"postcss-loader": "^2.0.10",
"postcss-nested": "^3.0.0",
"prettier": "1.16.4",
"prettier-eslint-cli": "^4.7.1",
"prettier-stylelint": "^0.4.2",
"prop-types": "^15.6.0",
"raw-loader": "^0.5.1",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-story": "^0.0.10",
"rimraf": "^2.6.1",
"sinon": "^5.0.0",
"style-loader": "^0.20.1",
"stylelint": "^9.0.0",
"stylelint-config-standard": "^18.0.0",
"url-loader": "^1.0.1",
"webpack": "^4.6.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.0.1",
"webpack-serve": "^1.0.2",
"why-did-you-update": "^0.1.1"
},
"peerDependencies": {
"react": "^16.0.0"
},
"ava": {
"files": [
"src/**/*.test.js"
],
"require": [
"babel-register",
"ignore-styles",
"jsdom-global/register",
"./setupEnzyme"
],
"babel": {
"testOptions": {
"babelrc": false,
"plugins": [
"@babel/plugin-syntax-jsx"
],
"presets": [
"@babel/preset-stage-3"
]
}
},
"snapshotDir": "__snapshots__"
},
"nyc": {
"sourceMap": false,
"instrument": false,
"cache": true,
"reporter": [
"html",
"text-summary"
],
"all": true,
"include": [
"src/**/*.js"
],
"exclude": [
"**/*.test.js",
"**/node_modules/**",
"dist",
"demo",
"src/**/tests/**"
]
},
"stylelint": {
"extends": "stylelint-config-standard"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [
2,
"always",
"sentence-case"
]
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog-emoji"
}
},
"lint-staged": {
"*.{js,json,css,md,ts}": [
"prettier --write",
"git add -f"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}