refactor: More generic build.sh file

This commit is contained in:
Jason Aden
2017-03-02 13:54:35 -08:00
parent 1efd508217
commit da8ea350b2
41 changed files with 345 additions and 476 deletions

View File

@ -1,15 +0,0 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @module
* @description
* Entry point for all public APIs of the compiler/testing package.
*/
export * from '../index';

View File

@ -1,22 +0,0 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export default {
entry: '../../../dist/packages-dist/compiler/es5/index.js',
dest: '../../../dist/packages-dist/compiler/bundles/compiler.umd.js',
format: 'umd',
moduleName: 'ng.compiler',
globals: {
'@angular/core': 'ng.core',
'rxjs/Observable': 'Rx',
'rxjs/Subject': 'Rx',
},
plugins: [
// nodeResolve({ jsnext: true, main: true }),
]
};

View File

@ -1,12 +0,0 @@
{
"extends": "../tsconfig-build",
"compilerOptions": {
"target": "es5"
},
"files": [
"index.ts",
"../../../node_modules/zone.js/dist/zone.js.d.ts"
]
}

View File

@ -1,15 +0,0 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @module
* @description
* Entry point for all public APIs of the compiler/esm5 package.
*/
export * from '../index';

View File

@ -1,11 +0,0 @@
{
"extends": "../tsconfig-build",
"compilerOptions": {
"target": "es5"
},
"files": [
"index.ts",
"../../../node_modules/zone.js/dist/zone.js.d.ts"
]
}

View File

@ -5,7 +5,7 @@
"main": "./bundles/compiler.umd.js",
"module": "./@angular/compiler.es5.js",
"es2015": "./@angular/compiler.js",
"typings": "./typings/index.d.ts",
"typings": "./typings/compiler.d.ts",
"author": "angular",
"license": "MIT",
"peerDependencies": {

View File

@ -1,5 +1,5 @@
{
"typings": "../typings/testing/index.d.ts",
"typings": "../typings/testing.d.ts",
"main": "../bundles/compiler-testing.umd.js",
"module": "../@angular/compiler/testing.es5.js",
"es2015": "../@angular/compiler/testing.js"