This commit is contained in:
parent
b7d0827f5e
commit
d2ff45e09e
8
index.js
8
index.js
@ -12,9 +12,11 @@ const files = require ('./assets');
|
|||||||
const scripts = {
|
const scripts = {
|
||||||
lint: 'eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs',
|
lint: 'eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs',
|
||||||
test: {
|
test: {
|
||||||
common: 'nyc jasmine --config="jasmine.json"',
|
common: 'nyc jasmine --config="jasmine.json"',
|
||||||
ts: 'nyc jasmine-ts --config="jasmine.json"',
|
ts: 'nyc jasmine --config="jasmine.json"',
|
||||||
no: 'echo "no test"'
|
ts_pre: 'tsc',
|
||||||
|
ts_post: 'tsc --build --clean',
|
||||||
|
no: 'echo "no test"'
|
||||||
},
|
},
|
||||||
compile: {
|
compile: {
|
||||||
common: 'tsc --allowJs --declaration --emitDeclarationOnly index.js',
|
common: 'tsc --allowJs --declaration --emitDeclarationOnly index.js',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user