Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Commit

Permalink
Merge pull request #810 from webcomponents/npm-update-and-cleaup
Browse files Browse the repository at this point in the history
Update npm dependencies
  • Loading branch information
Steve Orvell authored Jul 14, 2017
2 parents edf84e6 + 86ff3bc commit d087d0f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 43 deletions.
10 changes: 0 additions & 10 deletions banner.txt

This file was deleted.

31 changes: 5 additions & 26 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function closurify(sourceName, fileName) {
compilation_level: 'ADVANCED',
language_in: 'ES6_STRICT',
language_out: 'ES5_STRICT',
output_wrapper: '(function(){\n%output%\n}).call(self)',
isolation_mode: 'IIFE',
assume_function_wrapper: true,
js_output_file: `${fileName}.js`,
warning_level: 'VERBOSE',
Expand All @@ -64,23 +64,9 @@ function closurify(sourceName, fileName) {
'bower_components/html-imports/externs/html-imports.js',
'bower_components/shadycss/externs/shadycss-externs.js',
'bower_components/shadydom/externs/shadydom.js'
],
// entry_point: `/entrypoints/${sourceName}-index.js`,
// dependency_mode: 'STRICT'
]
};

// const closureSources = [
// 'src/*.js',
// 'entrypoints/*.js',
// 'bower_components/custom-elements/src/**/*.js',
// 'bower_components/html-imports/src/*.js',
// 'bower_components/es6-promise/dist/es6-promise.auto.min.js',
// 'bower_components/webcomponents-platform/*.js',
// 'bower_components/shadycss/{src,entrypoints}/*.js',
// 'bower_components/shadydom/src/*.js',
// 'bower_components/template/*.js'
// ];

const rollupOptions = {
entry: `entrypoints/${sourceName}-index.js`,
format: 'iife',
Expand All @@ -96,12 +82,6 @@ function closurify(sourceName, fileName) {
.pipe(closure(closureOptions))
.pipe(sourcemaps.write('.'))
.pipe(gulp.dest('.'));

// return gulp.src(sources, {base: './'})
// .pipe(sourcemaps.init({loadMaps: true}))
// .pipe(closure(closureOptions))
// .pipe(sourcemaps.write('.'))
// .pipe(gulp.dest('.'));
}

gulp.task('debugify-hi', () => {
Expand Down Expand Up @@ -168,10 +148,9 @@ gulp.task('debugify-ce-es5-adapter', () => {

gulp.task('refresh-bower', () => {
return del('bower_components').then(() => {
let resolve, reject;
let p = new Promise((res, rej) => {resolve = res; reject = rej});
bower.commands.install().on('end', () => resolve()).on('error', (e) => reject(e));
return p;
return new Promise((resolve, reject) => {
bower.commands.install().on('end', () => resolve()).on('error', (e) => reject(e));
});
});
});

Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@
"@webcomponents/shadydom": "^1.0.0",
"@webcomponents/template": "^1.0.0",
"@webcomponents/webcomponents-platform": "^1.0.0",
"babel-preset-babili": "0.0.12",
"babel-preset-babili": "^0.1.4",
"bower": "^1.8.0",
"del": "^2.2.2",
"es6-promise": "^4.1.0",
"del": "^3.0.0",
"es6-promise": "^4.1.1",
"eslint": "^3.16.1",
"google-closure-compiler": "^20170409.0.0",
"google-closure-compiler": "^20170626.0.0",
"gulp": "^3.8.8",
"gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^2.4.1",
"rollup-plugin-babel": "^2.7.1",
"rollup-stream": "^1.14.0",
"run-sequence": "^1.2.2",
"rollup-stream": "^1.23.1",
"run-sequence": "^2.0.0",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0",
"web-component-tester": "6.0.0-prerelease.9"
"web-component-tester": "^6.0.0"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit d087d0f

Please sign in to comment.