Move the test babel setup to the main babelrc file. (#1163)
* Move the test babel setup to the main babelrc file. * Add es2015 preset.
Showing
| ... | @@ -28,7 +28,7 @@ | ... | @@ -28,7 +28,7 @@ |
| "pretestonly": "fly pretest", | "pretestonly": "fly pretest", | ||
| "testonly": "cross-env NODE_PATH=test/lib jest \\.test.js", | "testonly": "cross-env NODE_PATH=test/lib jest \\.test.js", | ||
| "posttestonly": "fly posttest", | "posttestonly": "fly posttest", | ||
| "pretest": "npm run lint && cross-env NODE_ENV=test npm run release", | "pretest": "npm run lint && cross-env NODE_ENV=test-build npm run release", | ||
| "test": "npm run testonly -- --coverage --forceExit", | "test": "npm run testonly -- --coverage --forceExit", | ||
| "coveralls": "nyc --instrument=false --source-map=false report --temp-directory=./coverage --reporter=text-lcov | coveralls", | "coveralls": "nyc --instrument=false --source-map=false report --temp-directory=./coverage --reporter=text-lcov | coveralls", | ||
| "lint": "standard 'bin/*' 'client/**/*.js' 'examples/**/*.js' 'lib/**/*.js' 'pages/**/*.js' 'server/**/*.js' 'test/**/*.js'", | "lint": "standard 'bin/*' 'client/**/*.js' 'examples/**/*.js' 'lib/**/*.js' 'pages/**/*.js' 'server/**/*.js' 'test/**/*.js'", | ||
| ... | @@ -91,7 +91,7 @@ | ... | @@ -91,7 +91,7 @@ |
| "babel-jest": "^18.0.0", | "babel-jest": "^18.0.0", | ||
| "babel-plugin-istanbul": "^3.0.0", | "babel-plugin-istanbul": "^3.0.0", | ||
| "babel-plugin-transform-remove-strict-mode": "0.0.2", | "babel-plugin-transform-remove-strict-mode": "0.0.2", | ||
| "babel-preset-env": "1.1.8", | "babel-preset-es2015": "6.22.0", | ||
| "benchmark": "2.1.3", | "benchmark": "2.1.3", | ||
| "cheerio": "^0.22.0", | "cheerio": "^0.22.0", | ||
| "chromedriver": "^2.26.1", | "chromedriver": "^2.26.1", | ||
| ... | ... |
test/.babelrc
deleted
100644 → 0
This diff is collapsed.
Please
register
or
sign in
to comment