1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 19:44:21 +00:00

Improve scripts

This commit is contained in:
Steffo 2020-06-24 22:30:04 +02:00
parent 1a1725ce9b
commit 94a837deb9
Signed by: steffo
GPG key ID: 896A80F55F7C97F0

View file

@ -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",