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",
|
||||
"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",
|
||||
"scripts": {
|
||||
"tsc": "tsc -p src -w",
|
||||
"start": "live-server --open=src",
|
||||
"both": "concurrent \"npm run tsc\" \"npm run start\" "
|
||||
"tsc": "tsc",
|
||||
"tsc:w": "tsc -w",
|
||||
"lite": "lite-server",
|
||||
"live": "live-server",
|
||||
"start": "npm run lite",
|
||||
"both": "concurrent \"npm run tsc:w\" \"npm run start\" "
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"angular2": "2.0.0-alpha.48",
|
||||
"angular2": "^2.0.0-alpha.51",
|
||||
"systemjs": "0.19.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"concurrently": "^1.0.0",
|
||||
"lite-server": "^1.3.1",
|
||||
"live-server": "^0.8.2",
|
||||
"lite-server": "^1.3.1",
|
||||
"typescript": "^1.7.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,16 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES5",
|
||||
"module": "commonjs",
|
||||
"module": "system",
|
||||
"moduleResolution": "node",
|
||||
"sourceMap": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true
|
||||
}
|
||||
}
|
||||
"experimentalDecorators": true,
|
||||
"removeComments": false,
|
||||
"noImplicitAny": true,
|
||||
"suppressImplicitAnyIndexErrors": true
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -3,6 +3,10 @@ module.exports = {
|
|||
};
|
||||
|
||||
var _rxRules = {
|
||||
basehref: {
|
||||
from: /<base href=".*">/,
|
||||
to: '<script>document.write(\'<base href="\' + document.location + \'" />\');</script>'
|
||||
},
|
||||
script: {
|
||||
from: /<script.*".*%tag%".*>.*<\/script>/,
|
||||
to: '<script src="%tag%"></script>'
|
||||
|
@ -24,6 +28,9 @@ var _rxRules = {
|
|||
};
|
||||
|
||||
var _rxData = [
|
||||
{
|
||||
pattern: 'basehref',
|
||||
},
|
||||
{
|
||||
pattern: 'script',
|
||||
from: 'node_modules/systemjs/dist/system.src.js',
|
||||
|
@ -33,22 +40,22 @@ var _rxData = [
|
|||
{
|
||||
pattern: 'script',
|
||||
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',
|
||||
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',
|
||||
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',
|
||||
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',
|
||||
|
|
Loading…
Reference in New Issue