diff --git a/package.json b/package.json index 5be9aa6..d820372 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "chai": "^4.1.2", "glob": "^7.1.2", "lolex": "^2.3.0", + "mkdirp": "^0.5.1", "mocha": "^4.0.1", "mocha-headless-chrome": "^1.7.1", "requirejs": "^2.3.5", @@ -54,9 +55,10 @@ "src:tslint": "tslint -c tslint.json -e ./node_modules/**/*.ts* -p tsconfig.json -t stylish", "test": "npm run test:setup && npm run test:run", "test:run": "mocha-headless-chrome --file test/index.html", - "test:setup": "npm run test:setup:copy && npm run test:setup:html && npm run test:setup:tsc", + "test:setup": "npm run test:setup:dir && npm run test:setup:copy && npm run test:setup:html && npm run test:setup:tsc", "test:setup:copy": "npm run test:setup:copy:default", "test:setup:copy:default": "run-for-every-file --dot --src \"node_modules/shenanigans-manager/setup/test/\" --file \"**/*\" --run \"mustache package.json {{src-file}} ./test/{{file}}\" --dest \".\" --only-files", + "test:setup:dir": "mkdirp test", "test:setup:html": "shenanigans-manager generate-test-html", "test:setup:tsc": "tsc -p test", "verify": "npm run src && npm run test && npm run dist && npm run docs", diff --git a/test/tsconfig.json b/test/tsconfig.json deleted file mode 100644 index 615249f..0000000 --- a/test/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../tsconfig.json", - "include": ["*.ts"] -}