Commit 9b444299 authored by Sam Saccone's avatar Sam Saccone

typescript-angular: Add compile alias in scripts

parent b2228727
{ {
"private": true, "private": true,
"scripts": {
"compile": "tsc --sourcemap --out js/Application.js js/_all.ts"
},
"dependencies": { "dependencies": {
"angular": "^1.3.13", "angular": "^1.3.13",
"todomvc-app-css": "^1.0.0", "todomvc-app-css": "^1.0.0",
......
...@@ -75,11 +75,11 @@ It's definitely possible to convert the vanillajs todo app into TypeScript, but ...@@ -75,11 +75,11 @@ It's definitely possible to convert the vanillajs todo app into TypeScript, but
A standalone TypeScript compiler is available on NPM. A standalone TypeScript compiler is available on NPM.
npm install -g typescript npm install
To compile the TypeScript in this project: To compile the TypeScript in this project:
# from labs/architecture-examples/typescript-angular # from labs/architecture-examples/typescript-angular
tsc --sourcemap --out js/Application.js js/_all.ts run `npm run compile`
Or use Visual Studio with the TypeScript plugin. Or use Visual Studio with the TypeScript plugin.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment