You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
962 B
37 lines
962 B
{
|
|
"name": "{{ name }}",
|
|
"description": "{{ description }}",
|
|
"author": "{{ author }}",
|
|
{{#private}}
|
|
"private": true,
|
|
{{/private}}
|
|
"scripts": {
|
|
"watchify": "watchify -vd -p browserify-hmr -e src/main.js -o dist/build.js",
|
|
"serve": "http-server -s -c 1 -a localhost",
|
|
"dev": "npm-run-all --parallel watchify serve",
|
|
"build": "cross-env NODE_ENV=production browserify -g envify src/main.js | uglifyjs -c warnings=false -m > dist/build.js"
|
|
},
|
|
"dependencies": {
|
|
"vue": "^2.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.0.0",
|
|
"babel-preset-es2015": "^6.0.0",
|
|
"babelify": "^7.2.0",
|
|
"browserify": "^13.0.1",
|
|
"browserify-hmr": "^0.3.1",
|
|
"cross-env": "^1.0.6",
|
|
"envify": "^3.4.1",
|
|
"http-server": "^0.9.0",
|
|
"npm-run-all": "^2.1.2",
|
|
"uglify-js": "^2.5.0",
|
|
"vueify": "^9.1.0",
|
|
"watchify": "^3.4.0"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
"vueify",
|
|
"babelify"
|
|
]
|
|
}
|
|
}
|