Skip to content

Instantly share code, notes, and snippets.

@aweiksnar
Created April 2, 2015 00:12
Show Gist options
  • Select an option

  • Save aweiksnar/fc7191d53e555e5d3a6b to your computer and use it in GitHub Desktop.

Select an option

Save aweiksnar/fc7191d53e555e5d3a6b to your computer and use it in GitHub Desktop.

Revisions

  1. aweiksnar created this gist Apr 2, 2015.
    21 changes: 21 additions & 0 deletions simple-package.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    {
    "name": "something",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts": {
    "serve": "python -m SimpleHTTPServer 8000",
    "build": "browserify ./index.js -o ./output/bundle.js",
    "watch": "watchify ./index.js -o ./output/bundle.js --debug --verbose",
    "style": "stylus ./css/main.styl -c -w -u nib -o ./output/main.css",
    "start": "npm run style & npm run serve & npm run watch"
    },
    "author": "",
    "license": "ISC",
    "dependencies": {
    "browserify": "^9.0.4",
    "nib": "^1.1.0",
    "stylus": "^0.50.0",
    "watchify": "^3.1.0"
    }
    }