commit 75ba1a3e499aaa1d76e366870209bb56e39e62b1
parent 3e21e63a50d67d56f772480f59ed615addf7fb80
Author: unitehenry <unitehenry@gmail.com>
Date: Wed, 23 Oct 2019 15:01:16 -0400
npm prepare
Diffstat:
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -1,3 +1,4 @@
node_modules
images
-.gitignore
-\ No newline at end of file
+.gitignore
+dist
+\ No newline at end of file
diff --git a/demo/src/App.vue b/demo/src/App.vue
@@ -29,7 +29,7 @@ export default {
minimal: true,
uploadOnPaste: false,
toolbarBottom: true,
- toolbarHide: false,
+ toolbarHide: true,
sanitizePaste: true,
onInvalidFile() {
alert("invalid file");
diff --git a/package.json b/package.json
@@ -6,11 +6,12 @@
"main": "./dist",
"scripts": {
"start": "cd demo && npm run serve",
+ "prepare": "npx webpack --mode=\"production\"",
"build": "npx webpack --mode=\"production\"",
"dev": "npx webpack -w",
"meta-server": "node metaserver",
"gh-pages": "cd demo && npm run build && cd .. && node gh-pages",
- "new-publish": "npx webpack --mode=\"production\" && npm publish --access=public && echo DON'T FORGET TO UPDATE GITHUB RELEASE"
+ "new-publish": "npm publish --access=public && echo DON'T FORGET TO UPDATE GITHUB RELEASE"
},
"repository": {
"type": "git",