Skip to content

Instantly share code, notes, and snippets.

@surma
Created April 18, 2018 15:07
Show Gist options
  • Save surma/258b4033c0a2ed53dbb9b0aeab2a40f5 to your computer and use it in GitHub Desktop.
Save surma/258b4033c0a2ed53dbb9b0aeab2a40f5 to your computer and use it in GitHub Desktop.

Revisions

  1. surma created this gist Apr 18, 2018.
    19 changes: 19 additions & 0 deletions package.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    {
    "name": "tsquickstart",
    "version": "1.0.0",
    "description": "Boilerplate for quick one-off TypeScript projects. Just run `npm start`",
    "scripts": {
    "init": "test -f tsconfig.json || (tsc --init -t ESNext -m ESNext && npm install)",
    "start": "npm run init && concurrently \"npm run watch\" \"npm run serve\"",
    "serve": "http-server",
    "watch": "tsc -p . --watch",
    "build": "tsc -p ."
    },
    "author": "Surma <[email protected]>",
    "license": "Apache-2.0",
    "devDependencies": {
    "concurrently": "^3.5.1",
    "http-server": "^0.11.1",
    "typescript": "^2.8.1"
    }
    }