@ -9,9 +9,13 @@
"watchify" : "watchify -vd -p browserify-hmr -e src/main.js -o dist/build.js" ,
"serve" : "http-server -c 1 -a localhost" ,
"dev" : "npm-run-all --parallel watchify serve" ,
"build" : "cross-env NODE_ENV=production browserify -g envify -p [ vueify/plugins/extract-css -o dist/build.css ] -e src/main.js | uglifyjs -c warnings=false -m > dist/build.js" ,
"lint" : "eslint --ext .js,.vue src test/unit" ,
"test" : "karma start karma.conf.js"
{ { # l i n t } }
"lint" : "eslint --ext .js,.vue src{{#unit}} test/unit{{/unit}}" ,
{ { / l i n t } }
{ { # u n i t } }
"test" : "karma start karma.conf.js" ,
{ { / u n i t } }
"build" : "cross-env NODE_ENV=production browserify -g envify -p [ vueify/plugins/extract-css -o dist/build.css ] -e src/main.js | uglifyjs -c warnings=false -m > dist/build.js"
} ,
"browserify" : {
"transform" : [
@ -43,20 +47,26 @@
"browserify-hmr" : "^0.3.1" ,
"cross-env" : "^2.0.0" ,
"envify" : "^3.4.1" ,
{ { # l i n t } }
"eslint" : "^3.3.0" ,
"eslint-config-standard" : "^5.3.5" ,
"eslint-plugin-html" : "^1.5.2" ,
"eslint-plugin-promise" : "^2.0.1" ,
"eslint-plugin-standard" : "^2.0.0" ,
{ { / l i n t } }
"http-server" : "^0.9.0" ,
{ { # u n i t } }
"jasmine-core" : "^2.4.1" ,
"karma" : "^1.2.0" ,
"karma-browserify" : "^5.1.0" ,
"karma-jasmine" : "^1.0.2" ,
"karma-phantomjs-launcher" : "^1.0.0" ,
"karma-spec-reporter" : "0.0.26" ,
{ { / u n i t } }
"npm-run-all" : "^2.3.0" ,
{ { # u n i t } }
"phantomjs-prebuilt" : "^2.1.3" ,
{ { / u n i t } }
"proxyquireify" : "^3.0.1" ,
"uglify-js" : "^2.5.0" ,
"vueify" : "^9.0.0" ,