Last active
April 22, 2017 22:26
-
-
Save duduindo/4df30e73ecd97f76b95199e9e60c1998 to your computer and use it in GitHub Desktop.
Developing quick and simple. Babel, Browserify, Stylus and Server simple only with package.json
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": "public_app", | |
"version": "2.0.0", | |
"description": "", | |
"author": "Eduardo Paixão (@duduindo)", | |
"license": "MIT", | |
"watch": { | |
"js": { | |
"patterns": [ | |
"./assets/js/" | |
], | |
"extensions": "js" | |
}, | |
"css": { | |
"patterns": [ | |
"./assets/css/" | |
], | |
"extensions": "styl, css" | |
} | |
}, | |
"scripts": { | |
"postinstall": "mkdir -p assets/css assets/js dist; touch ./assets/css/common.styl ./assets/js/app.js index.html", | |
"css": "stylus --compress ./assets/css/common.styl -o ./dist/common.css", | |
"js": "browserify ./assets/js/app.js -t babelify --outfile ./dist/common.js", | |
"start": "concurrently npm-watch \"http-server -p 8080\" " | |
}, | |
"devDependencies": { | |
"babel-cli": "^6.24.1", | |
"babel-preset-latest": "^6.24.1", | |
"babelify": "^7.3.0", | |
"browserify": "^14.3.0", | |
"concurrently": "^3.4.0", | |
"http-server": "^0.9.0", | |
"npm-watch": "^0.1.8", | |
"stylus": "^0.54.5" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment