Fix tests using new mocha-webpack
This commit is contained in:
@ -4,8 +4,7 @@
|
||||
"description": "Generate .docx documents with JavaScript (formerly Office-Clippy)",
|
||||
"main": "build/index.js",
|
||||
"scripts": {
|
||||
"pretest": "rimraf ./build-tests && tsc -p ./test-tsconfig.json",
|
||||
"test": "mocha ./build-tests --recursive",
|
||||
"test": "mocha-webpack \"src/**/*.ts\"",
|
||||
"prepublishOnly": "npm run build",
|
||||
"lint": "tslint --project .",
|
||||
"build": "npm run webpack",
|
||||
@ -58,6 +57,7 @@
|
||||
"awesome-typescript-loader": "^3.4.1",
|
||||
"chai": "^3.5.0",
|
||||
"mocha": "^3.2.0",
|
||||
"mocha-webpack": "^1.0.1",
|
||||
"prompt": "^1.0.0",
|
||||
"rimraf": "^2.5.2",
|
||||
"shelljs": "^0.7.7",
|
||||
|
Reference in New Issue
Block a user