Skip to content

Commit fd802a6

Browse files
committed
Setup babel
1 parent 562843c commit fd802a6

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"stage": 0
3+
}

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "React assertion helpers for Chai",
55
"main": "lib/index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"build": "rm -rf lib/ && babel --out-dir lib/ src/",
9+
"watch": "rm -rf lib/ && babel --watch --out-dir lib/ src/"
810
},
911
"repository": {
1012
"type": "git",
@@ -22,15 +24,14 @@
2224
},
2325
"homepage": "https://github.com/momentumft/chai-react-assertions#readme",
2426
"devDependencies": {
25-
"babel-cli": "^6.1.1",
2627
"babel-eslint": "^4.1.4",
27-
"babel-preset-es2015": "^6.0.15",
2828
"eslint": "^1.8.0",
2929
"eslint-config-standard": "^4.4.0",
3030
"eslint-plugin-standard": "^1.3.1"
3131
},
3232
"dependencies": {
3333
"cheerio": "^0.19.0",
34-
"ramda": "^0.18.0"
34+
"ramda": "^0.18.0",
35+
"skin-deep": "^0.12.0"
3536
}
3637
}

0 commit comments

Comments
 (0)