feat(build): add npm publish script
Also fixes gulpfile: - `runSequence` needs to be called with `done` callback - `es5build` should only run when the task executes…
This commit is contained in:
@ -3,6 +3,11 @@ Angular2
|
||||
|
||||
The sources for this package are in the main [Angular2](https://github.com/angular/angular) repo. Please file issues and pull requests against that repo. This is the repository for the upcoming 2.0 version. If you're looking for the current official version of Angular you should go to [angular/angular.js](https://github.com/angular/angular.js)
|
||||
|
||||
Angular2 has 2 versions:
|
||||
|
||||
1. a development version that includes runtime type assertions: See `ng2dev` npm tag
|
||||
2. a production version that does not include runtime type assertions: See `ng2prod` npm tag
|
||||
|
||||
All sources are in ES6 format and have the suffix `.es6`. They don't depend on any runtime
|
||||
and can be used by any modern ES6 -> ES5 transpiler.
|
||||
|
||||
|
@ -1,23 +1,16 @@
|
||||
{
|
||||
"name": "angular2",
|
||||
"version": "2.0.0-alpha.1",
|
||||
"name": "angular",
|
||||
"version": "<%= packageJson.version %>.<%= channel %>",
|
||||
"description": "Angular 2 - a web framework for modern web apps",
|
||||
"homepage": "https://github.com/angular/angular",
|
||||
"bugs": "https://github.com/angular/angular/issues",
|
||||
"contributors": {
|
||||
"Alex Eagle": "alexeagle@google.com",
|
||||
"Chirayu Krishnappa": "chirayu@google.com",
|
||||
"Jeff Cross": "crossj@google.com",
|
||||
"Misko Hevery": "misko@google.com",
|
||||
"Rado Kirov": "radokirov@google.com",
|
||||
"Tobias Bosch": "tbosch@google.com",
|
||||
"Victor Savkin": "vsavkin@google.com",
|
||||
"Yegor Jbanov": "yjbanov@google.com"
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"homepage": "<%= packageJson.homepage %>",
|
||||
"bugs": "<%= packageJson.bugs %>",
|
||||
"contributors": <%= JSON.stringify(packageJson.contributors) %>,
|
||||
"license": "<%= packageJson.license %>",
|
||||
"dependencies": {
|
||||
"zone": "0.4.*",
|
||||
"rtts-assert": "2.0.0-alpha.1"
|
||||
<% if (channel==='dev') { %>
|
||||
"ng-rtts-assert": "<%= packageJson.version %>",
|
||||
<% } %>
|
||||
"zone.js": "0.4.*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"yargs": "2.3.*",
|
||||
|
@ -1,16 +1,11 @@
|
||||
name: angular2
|
||||
version: 2.0.0-alpha.1
|
||||
version: <%= packageJson.version %>
|
||||
authors:
|
||||
- Alex Eagle <alexeagle@google.com>
|
||||
- Chirayu Krishnappa <chirayu@google.com>
|
||||
- Jeff Cross <crossj@google.com>
|
||||
- Misko Hevery <misko@google.com>
|
||||
- Rado Kirov <radokirov@google.com>
|
||||
- Tobias Bosch <tbosch@google.com>
|
||||
- Victor Savkin <vsavkin@google.com>
|
||||
- Yegor Jbanov <yjbanov@google.com>
|
||||
<%= Object.keys(packageJson.contributors).map(function(name) {
|
||||
return '- '+name+' <'+packageJson.contributors[name]+'>';
|
||||
}).join('\n') %>
|
||||
description: Angular 2 for Dart - a web framework for modern web apps
|
||||
homepage: https://github.com/angular/angular
|
||||
homepage: <%= packageJson.homepage %>
|
||||
environment:
|
||||
sdk: '>=1.4.0'
|
||||
dependencies:
|
||||
|
Reference in New Issue
Block a user