|
@@ -46,17 +46,17 @@
|
|
|
"clean:examples": "node scripts/cleanexamples.js",
|
|
|
"build:examples": "node scripts/buildexamples.js",
|
|
|
"build:src": "tsc --project src && node scripts/copycss.js",
|
|
|
- "build:test": "tsc --project test/src",
|
|
|
+ "build:test": "tsc --project test/src && webpack --config test/webpack.conf.js",
|
|
|
"build": "npm run build:src && npm run build:test",
|
|
|
"docs": "typedoc --options scripts/tdoptions.json",
|
|
|
"postinstall": "npm dedupe",
|
|
|
"prepublish": "npm run build",
|
|
|
"test:chrome": "karma start --browsers=Chrome test/karma.conf.js",
|
|
|
- "test:coverage": "echo 'no coverage tests enabled'",
|
|
|
+ "test:coverage": "webpack --config test/webpack-cov.conf.js && karma start test/karma-cov.conf.js",
|
|
|
"test:firefox": "karma start --browsers=Firefox test/karma.conf.js",
|
|
|
"test:ie": "karma start --browsers=IE test/karma.conf.js",
|
|
|
"test:debug": "karma start --browsers=Chrome --singleRun=false --debug=true test/karma.conf.js",
|
|
|
- "test": "mocha test/build/**/*.spec.js",
|
|
|
+ "test": "npm run test:firefox",
|
|
|
"watch:examples": "watch 'npm run build && npm run build:examples' src --wait 10",
|
|
|
"watch": "watch 'npm run build' src"
|
|
|
},
|