Commit 91b21f95 authored by Luc's avatar Luc Committed by Tim Neutkens

Update with-jest example .babelrc config (#5414)

* simplify babelrc

* simplify "test" script

* update dependencies
parent 409cf71a
{
"env": {
"development": {
"presets": ["next/babel"]
},
"production": {
"presets": ["next/babel"]
},
"test": {
"presets": [["next/babel", { "preset-env": { "modules": "commonjs" } }]]
}
}
"presets": ["next/babel"]
}
......@@ -7,16 +7,17 @@
"react-dom": "^16.5.0"
},
"devDependencies": {
"babel-core": "7.0.0-bridge.0",
"@babel/core": "^7.1.2",
"babel-core": "^7.0.0-bridge",
"babel-jest": "^23.6.0",
"enzyme": "3.4.3",
"enzyme-adapter-react-16": "1.2.0",
"jest": "23.5.0",
"jest": "^23.6.0",
"react-addons-test-utils": "15.6.2",
"react-test-renderer": "16.4.2"
},
"scripts": {
"test": "NODE_ENV=test jest",
"test": "jest",
"dev": "next",
"build": "next build",
"start": "next start"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment