2
2
"name" : " react-select" ,
3
3
"version" : " 2.4.4" ,
4
4
"description" : " A Select control built with and for ReactJS" ,
5
- "main" : " lib/index .js" ,
5
+ "main" : " dist/react-select.cjs .js" ,
6
6
"module" : " dist/react-select.esm.js" ,
7
7
"sideEffects" : false ,
8
8
"author" : " Jed Watson" ,
12
12
"url" : " https://github.com/JedWatson/react-select.git"
13
13
},
14
14
"dependencies" : {
15
+ "@babel/runtime" : " ^7.4.4" ,
15
16
"@emotion/cache" : " ^10.0.0" ,
16
17
"@emotion/core" : " ^10.0.5" ,
17
18
"classnames" : " ^2.2.5" ,
65
66
"jest-in-case" : " ^1.0.2" ,
66
67
"lint-staged" : " ^7.0.5" ,
67
68
"moment" : " ^2.20.1" ,
68
- "nps" : " ^5.7.1" ,
69
- "nps-utils" : " ^1.3.0" ,
69
+ "preconstruct" : " ^0.0.63" ,
70
70
"pretty-proptypes" : " ^0.5.0" ,
71
71
"raf-schd" : " ^2.1.0" ,
72
72
"raw-loader" : " ^0.5.1" ,
92
92
"react-dom" : " ^15.3.0 || ^16.0.0"
93
93
},
94
94
"scripts" : {
95
- "build" : " nps build && bundlesize " ,
96
- "watch" : " nps build. watch" ,
95
+ "build" : " preconstruct build" ,
96
+ "watch" : " preconstruct watch" ,
97
97
"coveralls" : " cat coverage/lcov.info | coveralls" ,
98
98
"lint" : " eslint ." ,
99
- "deploy" : " cross-env NODE_ENV=production nps publish" ,
100
99
"start" : " cross-env FORCE_EXTRACT_REACT_TYPES=true webpack-dev-server --progress" ,
100
+ "build:website" : " rimraf docs/dist && cross-env FORCE_EXTRACT_REACT_TYPES=true webpack --progress -p" ,
101
101
"fresh" : " rm -rf node_modules && yarn install" ,
102
102
"test" : " npm run test:jest && npm run test:cypress" ,
103
103
"test:jest" : " jest --coverage" ,
108
108
},
109
109
"files" : [
110
110
" dist" ,
111
- " lib" ,
112
111
" src"
113
112
],
114
113
"keywords" : [
121
120
" select" ,
122
121
" ui"
123
122
],
124
- "bundlesize" : [
125
- {
126
- "path" : " ./dist/react-select.js"
127
- }
128
- ],
129
123
"jest" : {
130
124
"modulePathIgnorePatterns" : [
131
125
" ./node_modules"
137
131
},
138
132
"lint-staged" : {
139
133
"*.js" : " eslint"
134
+ },
135
+ "browser" : {
136
+ "./dist/react-select.cjs.js" : " ./dist/react-select.browser.cjs.js" ,
137
+ "./dist/react-select.esm.js" : " ./dist/react-select.browser.esm.js"
140
138
}
141
- }
139
+ }
0 commit comments