got tests working for windows
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
"description": "Generate .docx documents with JavaScript (formerly Office-Clippy)",
|
"description": "Generate .docx documents with JavaScript (formerly Office-Clippy)",
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pretest": "tsc ts/tests/*Test.ts --module commonjs --outDir ./build/tests",
|
"pretest": "tsc -p ts/tests",
|
||||||
"test": "./node_modules/.bin/mocha ./build/tests/**/*Test.js",
|
"test": "./node_modules/.bin/mocha ./build/tests/**/*Test.js",
|
||||||
"prepublish": "tsc -p ts"
|
"prepublish": "tsc -p ts"
|
||||||
},
|
},
|
||||||
|
7
ts/tests/tsconfig.json
Normal file
7
ts/tests/tsconfig.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "es6",
|
||||||
|
"outDir": "../../build/tests",
|
||||||
|
"module": "commonjs"
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user