diff --git a/build/bin/build-entry.js b/build/bin/build-entry.js index 51c108792..1eb734fc6 100644 --- a/build/bin/build-entry.js +++ b/build/bin/build-entry.js @@ -20,7 +20,7 @@ if (typeof window !== 'undefined' && window.Vue) { install(window.Vue); } -export default { +module.exports = { install, version: '{{version}}', {{list}} diff --git a/build/release.sh b/build/release.sh index 10858e8de..b9b11885b 100644 --- a/build/release.sh +++ b/build/release.sh @@ -19,7 +19,7 @@ then echo "Releasing zanui-css $VERSION ..." cd packages/zanui-css npm version $VERSION --message "[release] $VERSION" - npm publish + npm publish --registry=http://registry.npm.qima-inc.com cd ../.. # commit @@ -31,5 +31,5 @@ then git push origin master git push origin refs/tags/v$VERSION - npm publish + npm publish --registry=http://registry.npm.qima-inc.com fi diff --git a/docs/ExamplesApp.vue b/docs/ExamplesApp.vue index efa0bb765..d939f4f6e 100644 --- a/docs/ExamplesApp.vue +++ b/docs/ExamplesApp.vue @@ -1,7 +1,7 @@