Created
December 28, 2015 04:20
-
-
Save razpeitia/99494e51a04e2f553d31 to your computer and use it in GitHub Desktop.
package.json para windows de tvify
This file contains hidden or 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": "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
genial!! yo me estaba complicando un poco la vida dejando en la raíz del proyecto los archivos (index.css, index.js, index.html) 👍 muchas gracias por el aporte.