fix(package.json): remove es6-promise from the peerDependency list

As of zone.js@0.6* we no longer require an es6-promise polyfill. The polyfill is only needed on browsers that don't
have native Promise support.
This commit is contained in:
Igor Minar 2016-03-19 15:18:12 -07:00 committed by Igor Minar
parent 5c330ea492
commit 8b67b07580
5 changed files with 2 additions and 12 deletions

View File

@ -9,7 +9,6 @@
"repository": <%= JSON.stringify(packageJson.repository) %>,
"devDependencies": <%= JSON.stringify(packageJson.defaultDevDependencies) %>,
"peerDependencies": {
"es6-promise": "<%= packageJson.dependencies['es6-promise'] %>",
"es6-shim": "<%= packageJson.dependencies['es6-shim'] %>",
"reflect-metadata": "<%= packageJson.dependencies['reflect-metadata'] %>",
"rxjs": "<%= packageJson.dependencies['rxjs'] %>",

View File

@ -10,7 +10,6 @@
"repository": <%= JSON.stringify(packageJson.repository) %>,
"dependencies": {
"angular2": "<%= packageJson.version %>",
"es6-promise": "<%= packageJson.dependencies['es6-promise'] %>",
"es6-shim": "<%= packageJson.dependencies['es6-shim'] %>",
"reflect-metadata": "<%= packageJson.dependencies['reflect-metadata'] %>",
"rxjs": "<%= packageJson.dependencies['rxjs'] %>",

View File

@ -2083,9 +2083,6 @@
"es6-module-loader": {
"version": "0.17.9"
},
"es6-promise": {
"version": "3.0.2"
},
"es6-shim": {
"version": "0.35.0"
},

8
npm-shrinkwrap.json generated
View File

@ -3279,11 +3279,6 @@
"from": "es6-module-loader@>=0.17.4 <0.18.0",
"resolved": "https://registry.npmjs.org/es6-module-loader/-/es6-module-loader-0.17.9.tgz"
},
"es6-promise": {
"version": "3.0.2",
"from": "es6-promise@>=3.0.2 <4.0.0",
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.0.2.tgz"
},
"es6-shim": {
"version": "0.35.0",
"from": "es6-shim@0.35.0",
@ -9310,7 +9305,8 @@
},
"zone.js": {
"version": "0.6.4",
"from": "zone.js@0.6.4"
"from": "zone.js@0.6.4",
"resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.6.4.tgz"
}
}
}

View File

@ -32,7 +32,6 @@
"test": "gulp test.all.js && gulp test.all.dart"
},
"dependencies": {
"es6-promise": "^3.0.2",
"es6-shim": "^0.35.0",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",