8000 example: add missing dependencies and babel config · JavaScriptExpert/next.js@4ea9337 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4ea9337

Browse files
committed
example: add missing dependencies and babel config
1 parent a636ba3 commit 4ea9337

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

examples/with-jest/package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@
1212
"devDependencies": {
1313
"babel-jest": "^16.0.0",
1414
"enzyme": "^2.5.1",
15-
"jest": "^16.0.2"
15+
"jest": "^16.0.2",
16+
"react": "^15.3.2",
17+
"react-addons-test-utils": "^15.3.2",
18+
"react-dom": "^15.3.2"
19+
},
20+
"babel": {
21+
"presets": [
22+
"es2015",
23+
"react"
24+
]
1625
}
1726
}

0 commit comments

Comments
 (0)
0