chore(devguide-tooling): update package.json/tsconfig/plunkerblder for alpha.51
closes #468
This commit is contained in:
parent
9fc5143dc9
commit
70e29080f2
|
@ -1,24 +1,27 @@
|
||||||
{
|
{
|
||||||
"name": "angular2-examples-shared",
|
"name": "angular2-examples-master",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "This package.json file is intended to be the superset of all dependencies for all of the package.json files below this point.",
|
"description": "Master package.json, the superset of all dependencies for all of the _example package.json files.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"tsc": "tsc -p src -w",
|
"tsc": "tsc",
|
||||||
"start": "live-server --open=src",
|
"tsc:w": "tsc -w",
|
||||||
"both": "concurrent \"npm run tsc\" \"npm run start\" "
|
"lite": "lite-server",
|
||||||
|
"live": "live-server",
|
||||||
|
"start": "npm run lite",
|
||||||
|
"both": "concurrent \"npm run tsc:w\" \"npm run start\" "
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"angular2": "2.0.0-alpha.48",
|
"angular2": "^2.0.0-alpha.51",
|
||||||
"systemjs": "0.19.6"
|
"systemjs": "0.19.6"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concurrently": "^1.0.0",
|
"concurrently": "^1.0.0",
|
||||||
"live-server": "^0.8.2",
|
|
||||||
"lite-server": "^1.3.1",
|
"lite-server": "^1.3.1",
|
||||||
|
"live-server": "^0.8.2",
|
||||||
"typescript": "^1.7.3"
|
"typescript": "^1.7.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,16 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES5",
|
"target": "ES5",
|
||||||
"module": "commonjs",
|
"module": "system",
|
||||||
|
"moduleResolution": "node",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"experimentalDecorators": true
|
"experimentalDecorators": true,
|
||||||
}
|
"removeComments": false,
|
||||||
|
"noImplicitAny": true,
|
||||||
|
"suppressImplicitAnyIndexErrors": true
|
||||||
|
},
|
||||||
|
"exclude": [
|
||||||
|
"node_modules"
|
||||||
|
]
|
||||||
}
|
}
|
|
@ -3,6 +3,10 @@ module.exports = {
|
||||||
};
|
};
|
||||||
|
|
||||||
var _rxRules = {
|
var _rxRules = {
|
||||||
|
basehref: {
|
||||||
|
from: /<base href=".*">/,
|
||||||
|
to: '<script>document.write(\'<base href="\' + document.location + \'" />\');</script>'
|
||||||
|
},
|
||||||
script: {
|
script: {
|
||||||
from: /<script.*".*%tag%".*>.*<\/script>/,
|
from: /<script.*".*%tag%".*>.*<\/script>/,
|
||||||
to: '<script src="%tag%"></script>'
|
to: '<script src="%tag%"></script>'
|
||||||
|
@ -24,6 +28,9 @@ var _rxRules = {
|
||||||
};
|
};
|
||||||
|
|
||||||
var _rxData = [
|
var _rxData = [
|
||||||
|
{
|
||||||
|
pattern: 'basehref',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
pattern: 'script',
|
pattern: 'script',
|
||||||
from: 'node_modules/systemjs/dist/system.src.js',
|
from: 'node_modules/systemjs/dist/system.src.js',
|
||||||
|
@ -33,22 +40,22 @@ var _rxData = [
|
||||||
{
|
{
|
||||||
pattern: 'script',
|
pattern: 'script',
|
||||||
from: 'node_modules/angular2/bundles/angular2.dev.js',
|
from: 'node_modules/angular2/bundles/angular2.dev.js',
|
||||||
to: 'https://code.angularjs.org/2.0.0-alpha.47/angular2.dev.js'
|
to: 'https://code.angularjs.org/2.0.0-alpha.51/angular2.dev.js'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
pattern: 'script',
|
pattern: 'script',
|
||||||
from: 'node_modules/angular2/bundles/router.dev.js',
|
from: 'node_modules/angular2/bundles/router.dev.js',
|
||||||
to: 'https://code.angularjs.org/2.0.0-alpha.47/router.dev.js'
|
to: 'https://code.angularjs.org/2.0.0-alpha.51/router.dev.js'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
pattern: 'script',
|
pattern: 'script',
|
||||||
from: 'node_modules/angular2/bundles/http.dev.js',
|
from: 'node_modules/angular2/bundles/http.dev.js',
|
||||||
to: 'https://code.angularjs.org/2.0.0-alpha.47/http.dev.js'
|
to: 'https://code.angularjs.org/2.0.0-alpha.51/http.dev.js'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
pattern: 'script',
|
pattern: 'script',
|
||||||
from: 'node_modules/angular2/bundles/testing.js',
|
from: 'node_modules/angular2/bundles/testing.js',
|
||||||
to: 'https://code.angularjs.org/2.0.0-alpha.47/testing.js'
|
to: 'https://code.angularjs.org/2.0.0-alpha.51/testing.js'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
pattern: 'link',
|
pattern: 'link',
|
||||||
|
|
Loading…
Reference in New Issue