Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 59fd50d

Browse files
committed
fix upgrade examples
1 parent da36ec6 commit 59fd50d

File tree

8 files changed

+77
-0
lines changed

8 files changed

+77
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"build": "build",
3+
"run": "serve"
4+
}

public/docs/_examples/_boilerplate/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
"test:once": "karma start karma.conf.js --single-run",
2121
"lint": "tslint ./src/**/*.ts -t verbose",
2222

23+
"build:upgrade": "tsc",
24+
"serve:upgrade": "http-server",
2325
"build:cli": "ng build --no-progress",
2426
"serve:cli": "http-server dist/",
2527
"build:aot": "ngc -p tsconfig-aot.json && rollup -c rollup-config.js",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"build": "build:upgrade",
3+
"run": "serve:upgrade"
4+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "commonjs",
5+
"moduleResolution": "node",
6+
"sourceMap": true,
7+
"emitDecoratorMetadata": true,
8+
"experimentalDecorators": true,
9+
"lib": [ "es2015", "dom" ],
10+
"noImplicitAny": true,
11+
"suppressImplicitAnyIndexErrors": true,
12+
"typeRoots": [
13+
"../../node_modules/@types/"
14+
]
15+
},
16+
"compileOnSave": true,
17+
"exclude": [
18+
"node_modules/*",
19+
"**/*-aot.ts"
20+
]
21+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2+
"build": "build:upgrade",
3+
"run": "serve:upgrade",
24
"unittesting": true
35
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "commonjs",
5+
"moduleResolution": "node",
6+
"sourceMap": true,
7+
"emitDecoratorMetadata": true,
8+
"experimentalDecorators": true,
9+
"lib": [ "es2015", "dom" ],
10+
"noImplicitAny": true,
11+
"suppressImplicitAnyIndexErrors": true,
12+
"typeRoots": [
13+
"../../node_modules/@types/"
14+
]
15+
},
16+
"compileOnSave": true,
17+
"exclude": [
18+
"node_modules/*",
19+
"**/*-aot.ts"
20+
]
21+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2+
"build": "build:upgrade",
3+
"run": "serve:upgrade",
24
"unittesting": true
35
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "commonjs",
5+
"moduleResolution": "node",
6+
"sourceMap": true,
7+
"emitDecoratorMetadata": true,
8+
"experimentalDecorators": true,
9+
"lib": [ "es2015", "dom" ],
10+
"noImplicitAny": true,
11+
"suppressImplicitAnyIndexErrors": true,
12+
"typeRoots": [
13+
"../../node_modules/@types/"
14+
]
15+
},
16+
"compileOnSave": true,
17+
"exclude": [
18+
"node_modules/*",
19+
"**/*-aot.ts"
20+
]
21+
}

0 commit comments

Comments
 (0)