Skip to content

Commit

Permalink
fixing babel modules when testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Deschamps Rudge authored and Luis Deschamps Rudge committed Feb 17, 2017
1 parent be17891 commit a9f06f6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
9 changes: 8 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,12 @@
],
"stage-0",
"react"
]
],
"env": {
"test": {
"plugins": [
"transform-es2015-modules-commonjs"
]
}
}
}
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"dev": "grunt dev",
"dist": "grunt dist",
"prepublish": "grunt dist",
"test": "zuul -- test/**/*.test.js",
"test:browser": "zuul --local 8080 --disable-tunnel -- test/**/*.test.js",
"test:cli": "mochify --extension=.jsx --transform=babelify test/**/*.test.js",
"test:watch": "mochify --watch --extension=.jsx --transform=babelify test/**/*.test.js",
"test": "cross-env BABEL_ENV=test zuul -- test/**/*.test.js",
"test:browser": "cross-env BABEL_ENV=test zuul --local 8080 --disable-tunnel -- test/**/*.test.js",
"test:cli": "cross-env BABEL_ENV=test mochify --extension=.jsx --transform=babelify test/**/*.test.js",
"test:watch": "cross-env BABEL_ENV=test mochify --watch --extension=.jsx --transform=babelify test/**/*.test.js",
"test:jest": "jest --coverage",
"test:jest:watch": "jest --watchAll --coverage",
"publish:cdn": "ccu",
Expand All @@ -47,9 +47,10 @@
"babelify": "^7.2.0",
"bump-version": "^0.5.0",
"component-cdn-uploader": "auth0/component-cdn-uploader#1.1.0",
"cross-env": "^3.1.4",
"css-loader": "^0.26.1",
"enzyme": "2.7.0",
"dotenv": "^4.0.0",
"enzyme": "2.7.0",
"eslint": "3.7.1",
"eslint-config-auth0-base": "6.0.0",
"eslint-plugin-import": "1.16.0",
Expand Down

0 comments on commit a9f06f6

Please sign in to comment.