Skip to content

Commit

Permalink
Revert "Tests now run in Node v6"
Browse files Browse the repository at this point in the history
This reverts commit a0b8477.
  • Loading branch information
kevlened committed May 13, 2016
1 parent 4025f8a commit 306f7f3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 20 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ dist
!.npmignore
!.babelrc
!.travis.yml
!.eslintrc.json
compiled_tests
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
src
tests
compiled_tests
coverage
.*
*.log
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
language: node_js
node_js:
- "4"
- "6"
- "4"
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,19 @@
"node-dir": "^0.1.10"
},
"scripts": {
"lint": "eslint src/ tests/",
"pretest": "npm run lint && npm run build && npm run build:tests",
"test": "mocha compiled_tests/",
"build": "babel src/ --out-dir dist/",
"build:tests": "babel tests/ --out-dir compiled_tests/ && ncp tests/helpers compiled_tests/helpers"
"lint": "pragmatist lint",
"watch-lint": "pragmatist watch-lint",
"test": "pragmatist --es5 --type-assertions test",
"watch-test": "pragmatist --es5 --type-assertions watch-test",
"build": "pragmatist --es5 build",
"watch-build": "pragmatist --es5 watch-build"
},
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-preset-es2015": "^6.6.0",
"chai": "^3.4.0",
"eslint": "^2.9.0",
"mocha": "^2.4.5",
"ncp": "^2.0.0"
"eslint": "^2.7.0",
"eslint-plugin-jsdoc": "^2.3.1",
"eslint-plugin-lodash": "^1.6.5",
"eslint-plugin-react": "^4.3.0",
"pragmatist": "^3.0.21"
}
}
4 changes: 2 additions & 2 deletions tests/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* globals describe, it, __dirname */
/* globals describe, it, afterEach, __dirname */
import {
expect
} from 'chai';
import CopyWebpackPlugin from './../dist';
import CopyWebpackPlugin from './../src';
import fs from 'fs';
import path from 'path';
import _ from 'lodash';
Expand Down

0 comments on commit 306f7f3

Please sign in to comment.