File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ node_modules
2
2
.idea
3
3
.sass-cache
4
4
bower_components
5
+ coverage
Original file line number Diff line number Diff line change 9
9
* [ Mocha] ( http://mochajs.org/ ) and [ Chai] ( http://chaijs.com/ ) for testing
10
10
* Test before commiting using [ ghooks] ( https://github.com/gtramontina/ghooks )
11
11
* Lint using [ babel-eslint] ( https://github.com/babel/babel-eslint )
12
+ * Code coverage recording with [ istanbul] ( https://gotwarlost.github.io/istanbul/ )
12
13
13
14
##Development
14
15
Supported tasks are ` grunt ` , ` grunt watch ` and ` grunt build `
15
16
16
17
##License
17
18
MIT @ 2015
18
19
20
+
Original file line number Diff line number Diff line change 4
4
"description" : " A boilerplate to write plugins in pure JavaScript using ES2015" ,
5
5
"main" : " dist/lunar.js" ,
6
6
"scripts" : {
7
- "commit" :" git cz" ,
8
- "test" : " rollup -c && mocha test/bundle.test.js" ,
7
+ "commit" : " git cz" ,
8
+ "test" :" rollup -c && mocha test/bundle.test.js" ,
9
+ "test:coverage" : " rollup -c && istanbul cover -x *.test.js _mocha -- -R spec test/bundle.test.js" ,
9
10
"semantic-release" : " semantic-release pre && npm publish && semantic-release post"
10
11
},
11
12
"license" : " MIT" ,
25
26
"grunt-contrib-watch" : " ^0.6.1" ,
26
27
"grunt-eslint" : " ^17.3.1" ,
27
28
"grunt-rollup" : " ^0.6.1" ,
29
+ "istanbul" : " ^0.4.1" ,
28
30
"load-grunt-tasks" : " ^3.3.0" ,
29
31
"mocha" : " ^2.3.4" ,
30
32
"rollup" : " ^0.21.2" ,
You can’t perform that action at this time.
0 commit comments