|
@@ -24,6 +24,7 @@
|
|
"babel-polyfill": "^6.9.1",
|
|
"babel-polyfill": "^6.9.1",
|
|
"babel-preset-es2015": "^6.9.0",
|
|
"babel-preset-es2015": "^6.9.0",
|
|
"chai": "^3.5.0",
|
|
"chai": "^3.5.0",
|
|
|
|
+ "coveralls": "^2.11.9",
|
|
"istanbul": "^1.0.0-alpha.2",
|
|
"istanbul": "^1.0.0-alpha.2",
|
|
"lite-server": "^1.3.1",
|
|
"lite-server": "^1.3.1",
|
|
"mocha": "^2.5.3",
|
|
"mocha": "^2.5.3",
|
|
@@ -47,7 +48,8 @@
|
|
"test:compile": "node_modules/.bin/tsc -p tsconfig-test.json",
|
|
"test:compile": "node_modules/.bin/tsc -p tsconfig-test.json",
|
|
"test:dev": "node test/dev/test.js",
|
|
"test:dev": "node test/dev/test.js",
|
|
"test:full": "npm run test:compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- test-tmp/test/**/**.spec.js && npm run test:removeTestTmpDir",
|
|
"test:full": "npm run test:compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- test-tmp/test/**/**.spec.js && npm run test:removeTestTmpDir",
|
|
- "test:mocha": "npm run test:compile && node_modules/.bin/mocha test-tmp/test/**/**.spec.js && npm run test:removeTestTmpDir",
|
|
|
|
|
|
+ "test:coveralls": "npm run test:compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- test-tmp/test/**/**.spec.js --report lcovonly && cat ./coverage/lcov.info | coveralls && npm run test:removeTestTmpDir",
|
|
|
|
+ "test:mocha": "npm run test:compile && node_modules/.bin/mocha test-tmp/test/**/**.spec.js && npm run test:removeTestTmpDir",
|
|
"test:removeTestTmpDir": "rm -rf test-tmp",
|
|
"test:removeTestTmpDir": "rm -rf test-tmp",
|
|
"test": "npm run test:dev && npm run test:full",
|
|
"test": "npm run test:dev && npm run test:full",
|
|
"typings": "node_modules/.bin/typings install"
|
|
"typings": "node_modules/.bin/typings install"
|