mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 19:44:21 +00:00
Improve scripts
This commit is contained in:
parent
1a1725ce9b
commit
94a837deb9
1 changed files with 3 additions and 3 deletions
|
@ -12,10 +12,10 @@
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "preact watch",
|
"start": "preact watch",
|
||||||
"dist": "git add . && cross-env-shell git commit -m \"$npm_package_version\" && git push && microbundle && npm publish && cross-env-shell hub release create -m \"$npm_package_version\" \"$npm_package_version\"",
|
"dist": "git add . && cross-env-shell git commit -m \"$npm_package_version\" && git push && microbundle && npm publish",
|
||||||
"build": "preact build --template src/template.html --no-prerender --dest docs && git add docs",
|
"build": "preact build --template src/template.html --no-prerender --dest docs && git add docs",
|
||||||
"ghpages": "npm run build && git add . && cross-env-shell git commit -m \"$npm_package_version\" && git push && cross-env-shell hub release create -m \"$npm_package_version\" \"$npm_package_version\"",
|
"ghpages": "npm run build && git add . && cross-env-shell git commit -m \"$npm_package_version\" && git push \"$npm_package_version\"",
|
||||||
"both": "npm run ghpages && npm run dist"
|
"both": "npm run ghpages && npm run dist && cross-env-shell hub release create -m \"$npm_package_version\""
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"cross-env": "^7.0.2",
|
"cross-env": "^7.0.2",
|
||||||
|
|
Loading…
Reference in a new issue