Skip to content

Instantly share code, notes, and snippets.

@roboshoes
Created July 27, 2016 18:11
Show Gist options
  • Select an option

  • Save roboshoes/e420083c3964c4c49bf82704e57f00dc to your computer and use it in GitHub Desktop.

Select an option

Save roboshoes/e420083c3964c4c49bf82704e57f00dc to your computer and use it in GitHub Desktop.

Revisions

  1. roboshoes created this gist Jul 27, 2016.
    37 changes: 37 additions & 0 deletions package.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,37 @@
    {
    "name": "",
    "version": "0.1.0",
    "scripts": {
    "start": "npm run all && concurrently \"npm run tsc:w\" \"npm run less:w\" \"npm run watchify\" \"npm run lite\" \"npm run pug:w\" ",
    "all" : "npm run prep && npm run assets && tsc && npm run browserify && npm run pug",
    "lite": "lite-server public",
    "postinstall": "typings install",
    "tsc": "tsc",
    "tsc:w": "tsc -w",
    "pug": "pug views/index.pug --out public",
    "pug:w": "pug views/index.pug --out public --watch",
    "typings": "typings",
    "prep": "mkdirp public/javascripts public/styles",
    "watchify": "watchify javascripts/main.js -o public/javascripts/bundle.js",
    "browserify": "browserify javascripts/main.js > public/javascripts/bundle.js",
    "assets": "cp -R assets/ public/",
    "less:w": "autoless less/ public/styles/",
    "rebuild": "rm -rf public && npm run all"
    },

    "dependencies": {},

    "devDependencies": {
    "autoless": "^0.1.7",
    "browserify": "^13.1.0",
    "concurrently": "^2.0.0",
    "less": "^2.7.1",
    "lite-server": "^2.2.0",
    "mkdirp": "^0.5.1",
    "pug": "^2.0.0-beta4",
    "pug-cli": "^1.0.0-alpha6",
    "typescript": "^1.8.10",
    "typings": "^1.0.4",
    "watchify": "^3.7.0"
    }
    }