Skip to content

Commit 9a7c042

Browse files
follow-up commit
1 parent e01a20d commit 9a7c042

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

gulpfile.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict';
22
const path = require('path');
33
const gulp = require('gulp');
4-
const merge = require('merge2');
54
const Builder = require('systemjs-builder');
65

76
const ANGULAR2_POLYFILL_BUNDLE_CONFIG = [
@@ -16,7 +15,7 @@ const NG2_POLYFILL_BUNDLE_CONTENT = ANGULAR2_POLYFILL_BUNDLE_CONFIG.join(' + ');
1615
const bundleConfig = {
1716
paths: {
1817
'dot-prop': path.join(__dirname, '/node_modules/dot-prop/index.js'),
19-
'camelcase': path.join(__dirname, '/node_modules/camelcase/index.js'),
18+
'camelcase': path.join(__dirname, '/node_modules/camelcase/index.js'),
2019
'is-obj': path.join(__dirname, '/node_modules/is-obj/index.js'),
2120
'*': '*.js'
2221
}

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
},
1313
"scripts": {
1414
"postinstall": "npm run typings install",
15-
"prepublish": "npm run compile && gulp bundle && npm run tsd-gen",
15+
"prepublish": "npm run compile && npm run tsd-gen && gulp bundle",
1616
"compile": "tsc -p ./angular2-polyfill",
1717
"watch": "tsc -watch -p ./angular2-polyfill",
1818
"typings": "cd angular2-polyfill && typings",
19-
"link": "../node_modules/.bin/jspm link npm:angular2-polyfill@dev -y",
19+
"link": "jspm link npm:angular2-polyfill@dev -y",
2020
"tsd-gen": "tsc -p angular2-polyfill --outFile angular2-polyfill/bundles/angular2-polyfill.js --module system -d --moduleResolution classic --rootDir \"./\""
2121
},
2222
"dependencies": {
@@ -25,7 +25,6 @@
2525
},
2626
"devDependencies": {
2727
"gulp": "^3.9.1",
28-
"merge2": "^1.0.1",
2928
"systemjs-builder": "^0.15.12",
3029
"typescript": "^1.8.7",
3130
"typings": "^0.7.9"

0 commit comments

Comments
 (0)