npm run all
Showing
... | @@ -6,6 +6,8 @@ | ... | @@ -6,6 +6,8 @@ |
"license": "MIT", | "license": "MIT", | ||
"scripts": { | "scripts": { | ||
"dev": "spark package pack -s src -o test/src/bundle.js -w", | "dev": "spark package pack -s src -o test/src/bundle.js -w", | ||
"dev1": "npm-run-all -p dev test", | |||
"test": "cd ./test && npm run dev ", | |||
"pack": "spark package pack -s src -o dist/bundle.js -p", | "pack": "spark package pack -s src -o dist/bundle.js -p", | ||
"pub": "npm run declare && read -p 'Input version: ' version && read -p 'Input remark: ' remark && spark package publish -s src -v $version -r $remark", | "pub": "npm run declare && read -p 'Input version: ' version && read -p 'Input remark: ' remark && spark package publish -s src -v $version -r $remark", | ||
"declare": "tsc --outDir '.temp/out' -d --declarationDir 'types' --emitDeclarationOnly" | "declare": "tsc --outDir '.temp/out' -d --declarationDir 'types' --emitDeclarationOnly" | ||
... | @@ -16,6 +18,7 @@ | ... | @@ -16,6 +18,7 @@ |
"svga-parser": "^1.1.2" | "svga-parser": "^1.1.2" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"npm-run-all": "^4.1.5", | |||
"tslib": "^2.0.1" | "tslib": "^2.0.1" | ||
} | } | ||
} | } |
Please register or sign in to comment