Skip to content

Commit 306f7f3

Browse files
committed
Revert "Tests now run in Node v6"
This reverts commit a0b8477.
1 parent 4025f8a commit 306f7f3

File tree

6 files changed

+14
-20
lines changed

6 files changed

+14
-20
lines changed

.babelrc

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

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@ dist
77
!.npmignore
88
!.babelrc
99
!.travis.yml
10-
!.eslintrc.json
11-
compiled_tests

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
src
22
tests
3-
compiled_tests
43
coverage
54
.*
65
*.log

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
language: node_js
22
node_js:
3-
- "4"
4-
- "6"
3+
- "4"

package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,19 @@
2626
"node-dir": "^0.1.10"
2727
},
2828
"scripts": {
29-
"lint": "eslint src/ tests/",
30-
"pretest": "npm run lint && npm run build && npm run build:tests",
31-
"test": "mocha compiled_tests/",
32-
"build": "babel src/ --out-dir dist/",
33-
"build:tests": "babel tests/ --out-dir compiled_tests/ && ncp tests/helpers compiled_tests/helpers"
29+
"lint": "pragmatist lint",
30+
"watch-lint": "pragmatist watch-lint",
31+
"test": "pragmatist --es5 --type-assertions test",
32+
"watch-test": "pragmatist --es5 --type-assertions watch-test",
33+
"build": "pragmatist --es5 build",
34+
"watch-build": "pragmatist --es5 watch-build"
3435
},
3536
"devDependencies": {
36-
"babel-cli": "^6.8.0",
37-
"babel-preset-es2015": "^6.6.0",
3837
"chai": "^3.4.0",
39-
"eslint": "^2.9.0",
40-
"mocha": "^2.4.5",
41-
"ncp": "^2.0.0"
38+
"eslint": "^2.7.0",
39+
"eslint-plugin-jsdoc": "^2.3.1",
40+
"eslint-plugin-lodash": "^1.6.5",
41+
"eslint-plugin-react": "^4.3.0",
42+
"pragmatist": "^3.0.21"
4243
}
4344
}

tests/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/* globals describe, it, __dirname */
1+
/* globals describe, it, afterEach, __dirname */
22
import {
33
expect
44
} from 'chai';
5-
import CopyWebpackPlugin from './../dist';
5+
import CopyWebpackPlugin from './../src';
66
import fs from 'fs';
77
import path from 'path';
88
import _ from 'lodash';

0 commit comments

Comments
 (0)