-
-
Save naeluh/672283a718ae170c402ff422e41aa8c1 to your computer and use it in GitHub Desktop.
Boilerplate for quick one-off TypeScript projects. Just run `npm start`
This file contains 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": "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" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment