Commit da1d6735 authored by 张超's avatar 张超 🎱

npm run all

parent 32476dd5
......@@ -6,6 +6,8 @@
"license": "MIT",
"scripts": {
"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",
"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"
......@@ -16,6 +18,7 @@
"svga-parser": "^1.1.2"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"tslib": "^2.0.1"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment