Last active
July 11, 2017 14:34
-
-
Save maurop123/eb0c8e884fefe3e40c110b33beff48db to your computer and use it in GitHub Desktop.
bundling vue with browserify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "simple-vue-starter", | |
"version": "1.0.0", | |
"description": "vue start app boilerplate", | |
"main": "index.js", | |
"config": { | |
"browserifyTransforms": "-t [babelify ext .js .html] -t scssify -g browserify-css -t [stringify ext .html]" | |
}, | |
"scripts": { | |
"test": "ava src/**/*.spec.js", | |
"build:cp": "cp -r public/* dist/", | |
"build:js": "browserify $npm_package_config_browserifyTransforms -t [uglifyify -x .js] src/main.js -o dist/bundle.js", | |
"build": "npm-run-all build:*", | |
"watch:server": "ws -d public/ -s index.html", | |
"watch:js": "watchify -p browserify-hmr $npm_package_config_browserifyTransforms src/main.js -o public/bundle.js", | |
"watch": "npm-run-all --parallel watch:*", | |
"dev": "npm run watch" | |
}, | |
"repository": { | |
"type": "git", | |
"url": "git+https://github.com/maurop123/simple-vue-starter.git" | |
}, | |
"keywords": [ | |
"vue", | |
"simple", | |
"starter", | |
"boilerplate" | |
], | |
"author": "maurop123", | |
"license": "ISC", | |
"bugs": { | |
"url": "https://github.com/maurop123/simple-vue-starter/issues" | |
}, | |
"homepage": "https://github.com/maurop123/simple-vue-starter#readme", | |
"dependencies": {}, | |
"devDependencies": { | |
"ava": "^0.19.1", | |
"babel-core": "^6.13.2", | |
"babel-preset-env": "^1.3.2", | |
"babelify": "^7.3.0", | |
"browserify": "^14.1.0", | |
"browserify-css": "^0.10.1", | |
"browserify-hmr": "^0.3.5", | |
"css-element-queries": "^0.4.0", | |
"jquery": "^3.2.1", | |
"local-web-server": "^1.2.7", | |
"medium-parser": "^0.1.0", | |
"moment": "^2.18.1", | |
"normalize.css": "^7.0.0", | |
"npm-run-all": "^4.0.2", | |
"scssify": "^2.3.0", | |
"stringify": "^5.1.0", | |
"susy": "^2.2.12", | |
"uglifyify": "^3.0.4", | |
"vue": "^2.3.3", | |
"vue-router": "^2.5.3", | |
"vuetify": "^0.12.7", | |
"vuex": "^2.3.1", | |
"watchify": "^3.7.0" | |
}, | |
"browser": { | |
"vue": "vue/dist/vue.common.js" | |
}, | |
"babel": { | |
"presets": [ | |
"env" | |
] | |
}, | |
"ava": { | |
"require": [ | |
"babel-register" | |
], | |
"babel": "inherit" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment