2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00

add separate build command so vue dev tools work on demo

This commit is contained in:
Jeff Sagal
2016-03-09 12:49:24 -08:00
parent 6424aed818
commit 5640ad3e47
2 changed files with 120 additions and 11612 deletions
+118 -11611
View File
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -7,7 +7,8 @@
"main": "src/components/Select.vue",
"scripts": {
"dev": "watchify -vd -p browserify-hmr -e src/main.js -o dist/build.js & http-server -c 1 -a localhost",
"build": "cross-env NODE_ENV=production browserify -e src/main.js | uglifyjs -c warnings=false -m > dist/build.js",
"uglify": "cross-env NODE_ENV=production browserify -e src/main.js | uglifyjs -c warnings=false -m > dist/build.js",
"build": "cross-env NODE_ENV=production browserify -e src/main.js > dist/build.js",
"lint": "eslint --ext .js,.vue src test/unit",
"test": "karma start karma.conf.js"
},