File tree 4 files changed +20
-7
lines changed
4 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 13
13
/.idea
14
14
/test /runtime /*
15
15
/perf /dist /*
16
+
17
+
18
+ .justconf
Original file line number Diff line number Diff line change @@ -13,3 +13,6 @@ lib-cov
13
13
/test /
14
14
/.idea
15
15
/perf /
16
+
17
+
18
+ .justconf
Original file line number Diff line number Diff line change 1
1
'use strict'
2
2
3
3
const path = require ( 'path' )
4
- const fs = require ( 'fs-promise ' )
4
+ const fs = require ( 'fs-extra ' )
5
5
const preview = require ( 'cli-source-preview' )
6
6
const replaceAsync = require ( './replace' )
7
7
const co = require ( 'co' )
Original file line number Diff line number Diff line change 7
7
"lint" : " standard --fix && npm-ensure -t deps" ,
8
8
"test" : " npm run lint && npm run test-local" ,
9
9
"test-local" : " mocha test/**/*.test.js" ,
10
- "test-cov" : " istanbul cover _mocha --report lcov -- test/**/*.test.js " ,
10
+ "test-cov" : " nyc npm run test-local " ,
11
11
"test-report" : " cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" ,
12
12
"ci" : " npm run lint && npm run test-cov && npm run test-report" ,
13
13
"release" : " npm test && npm-ensure -t changelog && git release $npm_package_version && npm publish" ,
20
20
]
21
21
}
22
22
},
23
+ "nyc" : {
24
+ "reporter" : [
25
+ " text" ,
26
+ " json" ,
27
+ " lcov"
28
+ ]
29
+ },
23
30
"standard" : {
24
31
"global" : [
25
32
" describe" ,
36
43
"async" : " ^2.0.1" ,
37
44
"cli-source-preview" : " ^1.0.0" ,
38
45
"co" : " ^4.6.0" ,
39
- "fs-promise " : " ^0.5.0 " ,
46
+ "fs-extra " : " 3.x " ,
40
47
"loader-utils" : " ^1.1.0"
41
48
},
42
49
"peerDependencies" : {
46
53
"devDependencies" : {
47
54
"coveralls" : " ^2.12.0" ,
48
55
"css-loader" : " ^0.23.1" ,
49
- "extract-text-webpack-plugin" : " ^2 .0.0" ,
56
+ "extract-text-webpack-plugin" : " ^3 .0.0" ,
50
57
"file-loader" : " ^0.9.0" ,
51
- "husky" : " ^0.13.2 " ,
52
- "istanbul " : " ^0.4.5 " ,
58
+ "husky" : " * " ,
59
+ "nyc " : " * " ,
53
60
"mocha" : " ^3.2.0" ,
54
61
"node-sass" : " ^4.0.0" ,
55
62
"npm-ensure" : " ^1.1.0" ,
56
63
"raw-loader" : " ^0.5.1" ,
57
64
"rimraf" : " ^2.6.1" ,
58
65
"sass-loader" : " ^6.0.3" ,
59
- "standard" : " ^9.0.2 " ,
66
+ "standard" : " * " ,
60
67
"webpack" : " 1.x || 2.x || 3.x"
61
68
},
62
69
"repository" : {
You can’t perform that action at this time.
0 commit comments