diff --git a/index.js b/index.js index 4512de4..6411f4d 100644 --- a/index.js +++ b/index.js @@ -12,9 +12,11 @@ const files = require ('./assets'); const scripts = { lint: 'eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs', test: { - common: 'nyc jasmine --config="jasmine.json"', - ts: 'nyc jasmine-ts --config="jasmine.json"', - no: 'echo "no test"' + common: 'nyc jasmine --config="jasmine.json"', + ts: 'nyc jasmine --config="jasmine.json"', + ts_pre: 'tsc', + ts_post: 'tsc --build --clean', + no: 'echo "no test"' }, compile: { common: 'tsc --allowJs --declaration --emitDeclarationOnly index.js',