File tree 6 files changed +600
-105
lines changed
6 files changed +600
-105
lines changed Original file line number Diff line number Diff line change 8
8
" transform-object-rest-spread" ,
9
9
" transform-es2015-spread" ,
10
10
" transform-export-extensions"
11
- ]
11
+ ],
12
+ "env" : {
13
+ "test" : {
14
+ "plugins" : [
15
+ " istanbul"
16
+ ]
17
+ }
18
+ }
12
19
}
Original file line number Diff line number Diff line change
1
+ root = true
2
+
3
+ [* ]
4
+
5
+ # Change these settings to your own preference
6
+ indent_style = space
7
+ indent_size = 2
8
+
9
+ # We recommend you to keep these unchanged
10
+ end_of_line = lf
11
+ charset = utf-8
12
+ trim_trailing_whitespace = true
13
+ insert_final_newline = true
14
+
15
+ [* .md ]
16
+ trim_trailing_whitespace = false
Original file line number Diff line number Diff line change 56
56
# Thumbnails
57
57
._ *
58
58
59
+ # code coverage
60
+ .nyc_output
61
+ coverage
62
+
59
63
# Files that might appear in the root of a volume
60
64
.DocumentRevisions-V100
61
65
.fseventsd
Original file line number Diff line number Diff line change
1
+ {
2
+ "require" : [
3
+ " babel-core/register"
4
+ ],
5
+ "sourceMap" : false ,
6
+ "instrument" : false
7
+ }
Original file line number Diff line number Diff line change 4
4
"description" : " Transform required css modules so one can use generated class names." ,
5
5
"main" : " build/index.js" ,
6
6
"scripts" : {
7
- "build" : " node node_modules/.bin/ babel src --ignore **/*.spec.js -d build" ,
8
- "lint" : " node node_modules/.bin/ eslint src" ,
7
+ "build" : " babel src --ignore **/*.spec.js -d build" ,
8
+ "lint" : " eslint src" ,
9
9
"pretest" : " npm run lint" ,
10
- "test" : " mocha"
10
+ "test" : " cross-env NODE_ENV=test nyc mocha"
11
11
},
12
12
"repository" : {
13
13
"type" : " git" ,
33
33
"babel-cli" : " ^6.22.2" ,
34
34
"babel-core" : " ^6.22.1" ,
35
35
"babel-eslint" : " ^7.1.1" ,
36
+ "babel-plugin-istanbul" : " ^4.1.3" ,
36
37
"babel-plugin-transform-es2015-block-scoping" : " ^6.22.0" ,
37
38
"babel-plugin-transform-es2015-destructuring" : " ^6.22.0" ,
38
39
"babel-plugin-transform-es2015-modules-commonjs" : " ^6.22.0" ,
43
44
"babel-plugin-transform-strict-mode" : " ^6.22.0" ,
44
45
"babel-preset-es2015" : " ^6.22.0" ,
45
46
"chai" : " ^3.4.1" ,
47
+ "cross-env" : " ^5.0.0" ,
46
48
"eslint" : " ^1.9.0" ,
47
49
"eslint-config-airbnb-lite" : " ^1.0.0" ,
48
50
"gulp-babel" : " ^6.1.2" ,
49
51
"gulp-util" : " ^3.0.7" ,
50
- "mocha" : " ^2.3.4" ,
52
+ "mocha" : " ^3.4.2" ,
53
+ "nyc" : " ^10.3.2" ,
51
54
"postcss" : " ^5.x" ,
52
55
"postcss-modules-extract-imports" : " ^1.x" ,
53
56
"postcss-modules-local-by-default" : " ^1.x" ,
You can’t perform that action at this time.
0 commit comments