Skip to content

Commit

Permalink
change ext
Browse files Browse the repository at this point in the history
  • Loading branch information
koca committed Sep 22, 2018
1 parent cabc721 commit b70369f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"build": "vue-cli-service build --target lib --name VueComponentComponent ./src/components/Component.js && rimraf dist/demo.html",
"lint": "vue-cli-service lint",
"test:unit": "vue-cli-service test:unit",
"test:unit:watch": "vue-cli-service test:unit --watch"
Expand All @@ -22,6 +22,7 @@
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^23.0.1",
"lint-staged": "^7.2.2",
"rimraf": "^2.6.2",
"vue-template-compiler": "^2.5.17"
},
"gitHooks": {
Expand Down
2 changes: 0 additions & 2 deletions src/components/Component.vue → src/components/Component.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<script>
const hooks = [
"beforeMount",
"mounted",
Expand Down Expand Up @@ -79,4 +78,3 @@ export default {
});
}
};
</script>

0 comments on commit b70369f

Please sign in to comment.