mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-28 16:12:17 +01:00
skip coverage when testing locally
This commit is contained in:
parent
81cb88cfc1
commit
0f721e346d
5
mocha.coverage.opts
Normal file
5
mocha.coverage.opts
Normal file
@ -0,0 +1,5 @@
|
||||
--require babel-register
|
||||
--require reify
|
||||
--recursive
|
||||
./**/__test__.js
|
||||
test/test.js
|
@ -1,2 +1,4 @@
|
||||
--require babel-register
|
||||
--require reify
|
||||
--recursive
|
||||
./**/__test__.js
|
||||
test/test.js
|
||||
|
@ -5,7 +5,8 @@
|
||||
"main": "dist/svelte.umd.js",
|
||||
"module": "dist/svelte.es.js",
|
||||
"scripts": {
|
||||
"test": "nyc mocha --opts mocha.opts --recursive ./**/__test__.js test/test.js",
|
||||
"test": "mocha --opts mocha.opts",
|
||||
"precoverage": "mocha --opts mocha.coverage.opts",
|
||||
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
||||
"lint": "eslint compiler",
|
||||
"build": "rollup -c",
|
||||
@ -33,6 +34,7 @@
|
||||
"babel-plugin-transform-es2015-modules-commonjs": "^6.18.0",
|
||||
"babel-register": "^6.18.0",
|
||||
"codecov": "^1.0.1",
|
||||
"console-group": "^0.3.2",
|
||||
"eslint": "^3.10.2",
|
||||
"eslint-plugin-import": "^2.2.0",
|
||||
"jsdom": "^9.8.3",
|
||||
|
Loading…
Reference in New Issue
Block a user