Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Commit d98e74e

Browse files
committed
Merge pull request #64 from ThomWright/babel-jest
Replace deprecated react-tools with babel-jest
2 parents b3ebb2e + b29946c commit d98e74e

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

jest/preprocessor.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,25 @@
2525
"react": "^0.13.0 || ^0.14.0-a"
2626
},
2727
"devDependencies": {
28+
"babel-jest": "^5.3.0",
2829
"del": "^0.1.3",
2930
"gulp": "^3.8.10",
3031
"gulp-react": "^2.0.0",
3132
"gulp-shell": "^0.3.0",
3233
"jest-cli": "^0.2.1",
3334
"react": "^0.14.0-a",
34-
"react-dom": "^0.14.0-a",
35-
"react-tools": "^0.13.0"
35+
"react-dom": "^0.14.0-a"
3636
},
3737
"scripts": {
38-
"prepublish": "./node_modules/.bin/gulp",
39-
"test": "./node_modules/.bin/jest"
38+
"prepublish": "gulp",
39+
"test": "jest"
4040
},
4141
"engines": {
4242
"node": ">=0.10.0"
4343
},
4444
"jest": {
4545
"rootDir": "src",
46-
"scriptPreprocessor": "../jest/preprocessor.js",
46+
"scriptPreprocessor": "../node_modules/babel-jest",
4747
"setupEnvScriptFile": "../jest/environment.js",
4848
"unmockedModulePathPatterns": [
4949
""

0 commit comments

Comments
 (0)