From 930f6e04b4188ec3eee745585b9e79064fb650ea Mon Sep 17 00:00:00 2001 From: Vladimir Matveev Date: Fri, 5 Jun 2015 16:45:54 -0700 Subject: [PATCH] switch to use the latest systemjs, transpile files in browser, add node_modules to gitignore file --- .gitignore | 1 + index.html | 14 +++++++++++++- package.json | 9 +++++++++ readme.md | 10 +--------- tsconfig.json | 11 ----------- tsd.json | 12 ------------ 6 files changed, 24 insertions(+), 33 deletions(-) create mode 100644 package.json delete mode 100644 tsconfig.json delete mode 100644 tsd.json diff --git a/.gitignore b/.gitignore index dbbfe0a..40ef6ae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.js typings +node_modules \ No newline at end of file diff --git a/index.html b/index.html index 2331f33..9203c32 100644 --- a/index.html +++ b/index.html @@ -24,13 +24,25 @@ } - + + Loading... diff --git a/package.json b/package.json new file mode 100644 index 0000000..e8987fd --- /dev/null +++ b/package.json @@ -0,0 +1,9 @@ +{ + "name": "ngconf2015-demo", + "version": "0.1.0", + "repository": {"url": "https://github.com/Microsoft/ngconf2015demo"}, + "dependencies": { + "typescript": "mhegazy/typescript#v1.5-beta2", + "systemjs": "0.17.1" + } +} \ No newline at end of file diff --git a/readme.md b/readme.md index 8319bc0..2dd17b3 100644 --- a/readme.md +++ b/readme.md @@ -1,14 +1,6 @@ **install:** ``` -npm install tsd -tsd reinstall -tsd rebundle -``` - -**build:** -``` -npm install -g typescript@1.5.0-beta -tsc +npm install ``` **run:** diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index 7623d0b..0000000 --- a/tsconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "compilerOptions": { - "emitDecoratorMetadata": true, - "module": "amd", - "target": "es5" - }, - "files": [ - "todo.ts", - "typings/tsd.d.ts" - ] -} \ No newline at end of file diff --git a/tsd.json b/tsd.json deleted file mode 100644 index 4482f1a..0000000 --- a/tsd.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "version": "v4", - "repo": "borisyankov/DefinitelyTyped", - "ref": "master", - "path": "typings", - "bundle": "typings/tsd.d.ts", - "installed": { - "angular2/angular2.d.ts": { - "commit": "b3834d886a95789e6ab56e8244775ec10c5293d0" - } - } -}