mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
bdcb0f7828
next/babel doesn't transpile import/export. So, we need to do it explicitly, but only for test env.
23 lines
466 B
JSON
23 lines
466 B
JSON
{
|
|
"name": "with-jest",
|
|
"dependencies": {
|
|
"next": "^2.0.0-beta",
|
|
"react": "^15.4.2",
|
|
"react-dom": "^15.4.2"
|
|
},
|
|
"scripts": {
|
|
"test": "jest",
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"devDependencies": {
|
|
"babel-jest": "^18.0.0",
|
|
"enzyme": "^2.5.1",
|
|
"jest-cli": "^18.0.0",
|
|
"react-addons-test-utils": "^15.4.2",
|
|
"babel-preset-es2015": "^6.22.0",
|
|
"react-test-renderer": "^15.4.2"
|
|
}
|
|
}
|