File tree 3 files changed +8
-8
lines changed
packages/react-scripts/fixtures/kitchensink
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"presets" : [" react-app" ],
3
- "plugins" : [" babel- plugin-transform-es2015 -modules-commonjs" ]
3
+ "plugins" : [" @ babel/ plugin-transform-modules-commonjs" ]
4
4
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"dependencies" : {
3
- "babel-register " : " 6.22.0 " ,
4
- "babel-plugin-transform-es2015-modules-commonjs " : " 6.22.0 " ,
5
- "babel-polyfill " : " 6.20.0 " ,
3
+ "@ babel/plugin-transform-modules-commonjs " : " 7.0.0-beta.34 " ,
4
+ "@ babel/polyfill " : " 7.0.0-beta.34 " ,
5
+ "@ babel/register " : " 7.0.0-beta.34 " ,
6
6
"chai" : " 3.5.0" ,
7
7
"jsdom" : " 9.8.3" ,
8
8
"mocha" : " 3.2.0" ,
Original file line number Diff line number Diff line change @@ -223,15 +223,15 @@ E2E_URL="http://localhost:3001" \
223
223
REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
224
224
CI=true NODE_PATH=src \
225
225
NODE_ENV=development \
226
- node_modules/.bin/mocha --require babel- register --require babel- polyfill integration/* .test.js
226
+ node_modules/.bin/mocha --require @ babel/ register --require @ babel/ polyfill integration/* .test.js
227
227
228
228
# Test "production" environment
229
229
E2E_FILE=./build/index.html \
230
230
CI=true \
231
231
NODE_PATH=src \
232
232
NODE_ENV=production \
233
233
PUBLIC_URL=http://www.example.org/spa/ \
234
- node_modules/.bin/mocha --require babel- register --require babel- polyfill integration/* .test.js
234
+ node_modules/.bin/mocha --require @ babel/ register --require @ babel/ polyfill integration/* .test.js
235
235
236
236
# ******************************************************************************
237
237
# Finally, let's check that everything still works after ejecting.
@@ -285,15 +285,15 @@ E2E_URL="http://localhost:3002" \
285
285
REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
286
286
CI=true NODE_PATH=src \
287
287
NODE_ENV=development \
288
- node_modules/.bin/mocha --require babel- register --require babel- polyfill integration/* .test.js
288
+ node_modules/.bin/mocha --require @ babel/ register --require @ babel/ polyfill integration/* .test.js
289
289
290
290
# Test "production" environment
291
291
E2E_FILE=./build/index.html \
292
292
CI=true \
293
293
NODE_ENV=production \
294
294
NODE_PATH=src \
295
295
PUBLIC_URL=http://www.example.org/spa/ \
296
- node_modules/.bin/mocha --require babel- register --require babel- polyfill integration/* .test.js
296
+ node_modules/.bin/mocha --require @ babel/ register --require @ babel/ polyfill integration/* .test.js
297
297
298
298
# Cleanup
299
299
cleanup
You can’t perform that action at this time.
0 commit comments