aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-12-01 13:50:17 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-12-01 13:50:17 +0100
commit99074bd80815d944f5b9c4e388a4203560b0e69e (patch)
tree6cf00c94feaef08feadd4c8fb78e2e42394a71d7 /package.json
parent637039fbde6a68f18f89ce8677f6b8ca667ba689 (diff)
downloadsvg.js-99074bd80815d944f5b9c4e388a4203560b0e69e.tar.gz
svg.js-99074bd80815d944f5b9c4e388a4203560b0e69e.zip
add scripts to automatically upload to bower repo when publishing
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/package.json b/package.json
index 1ac0436..d37233b 100644
--- a/package.json
+++ b/package.json
@@ -62,11 +62,11 @@
"test:ci": "karma start .config/karma.conf.saucelabs.js",
"test:svgdom": "node -r esm ./spec/runSVGDomTest.js || true",
"test:es6": "npx karma start .config/karma.es6.js --single-run",
- "bower:copy": "cp ../svg.js/LICENSE ../svg.js/README.md ../svg.js/dist/svg.js ../svg.js/dist/svg.min.js ../svg.js/dist/polyfills.js ../svg.js/dist/polyfillsIE.js .",
- "bower:tag": "git add -- LICENSE README.md svg.js svg.min.js && git commit -m \"${npm_package_version}\" && git tag -am \"${npm_package_version}\" v${npm_package_version} && git push && git push --tags",
- "zip": "zip -j dist/svg.js.zip -- LICENSE README.md API.md CHANGELOG.md dist/svg.js.js dist/svg.min.js dist/polyfills.js dist/polyfillsIE.js",
+ "bower:copy": "cd ../svg.js-bower && git pull && cp ../svg.js/LICENSE.txt ../svg.js/README.md ../svg.js/dist/svg.js ../svg.js/dist/svg.min.js ../svg.js/dist/polyfills.js ../svg.js/dist/polyfillsIE.js . && cd ../svg.js",
+ "bower:tag": "cd ../svg.js-bower git add -- LICENSE README.md svg.js svg.min.js && git commit -m \"${npm_package_version}\" && git tag -am \"${npm_package_version}\" v${npm_package_version} && git push && git push --tags && cd ../svg.js",
+ "zip": "zip -j dist/svg.js.zip -- LICENSE.txt README.md CHANGELOG.md dist/svg.js dist/svg.min.js dist/polyfills.js dist/polyfillsIE.js",
"prepublishOnly": "npm run build && npm run build:polyfills && npm test",
- "postpublish": "git push && git push --tags && cd ../svg.js-bower && git pull && npm run bower:copy && npm run bower:tag && cd ../svg.js && npm run zip"
+ "postpublish": "git push && git push --tags && npm run bower:copy && npm run bower:tag && npm run zip"
},
"devDependencies": {
"@babel/core": "^7.1.2",