Skip to content

Instantly share code, notes, and snippets.

@josemunozr
Forked from razpeitia/package.json
Created April 16, 2016 18:53
Show Gist options
  • Save josemunozr/a426154858fe3f46e45f0dacb626e9b8 to your computer and use it in GitHub Desktop.
Save josemunozr/a426154858fe3f46e45f0dacb626e9b8 to your computer and use it in GitHub Desktop.
package.json para windows de tvify
{
"name": "tvify",
"description": "Una web app para seleccionar tus shows favoritos",
"version": "0.1.0",
"dependencies": {
"jquery": "^2.1.4",
"page": "^1.6.4",
"qs": "^6.0.0",
"serve": "^1.4.0"
},
"devDependencies": {
"babel-preset-es2015": "^6.1.18",
"babelify": "^7.2.0",
"browserify": "^12.0.1"
},
"scripts": {
"public": "if not exist public mkdir public",
"build-js": "browserify -t [ babelify --presets [ es2015 ] ] src\\index.js > public\\app.js",
"copy-files": "copy src\\index.css public\\app.css & copy src\\index.html public\\index.html",
"build": "npm run public & npm run build-js & npm run copy-files",
"serve": "serve public"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment