[TASK] Move to v8 promies polyfill & eslint5
This commit is contained in:
parent
3085c14c3b
commit
ad89c910ab
@ -4,8 +4,10 @@ module.exports = function (gulp, plugins, config) {
|
|||||||
.pipe(gulp.dest(config.build));
|
.pipe(gulp.dest(config.build));
|
||||||
gulp.src(['assets/logo.svg', 'service-worker.js'])
|
gulp.src(['assets/logo.svg', 'service-worker.js'])
|
||||||
.pipe(gulp.dest(config.build));
|
.pipe(gulp.dest(config.build));
|
||||||
gulp.src(['node_modules/promise-polyfill/dist/promise.js', 'polyfill.js'])
|
gulp.src(['polyfill.js'])
|
||||||
.pipe(gulp.dest(config.build + '/vendor'));
|
.pipe(gulp.dest(config.build + '/vendor'));
|
||||||
|
gulp.src(['node_modules/promise-polyfill/dist/polyfill.js'])
|
||||||
|
.pipe(gulp.dest(config.build + '/vendor/promise'));
|
||||||
return gulp.src(['assets/fonts/*', 'assets/icons/fonts/*'])
|
return gulp.src(['assets/fonts/*', 'assets/icons/fonts/*'])
|
||||||
.pipe(gulp.dest(config.build + '/fonts'));
|
.pipe(gulp.dest(config.build + '/fonts'));
|
||||||
};
|
};
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<!-- contents of html partials will be injected here -->
|
<!-- contents of html partials will be injected here -->
|
||||||
<!-- endinject -->
|
<!-- endinject -->
|
||||||
<script src="vendor/polyfill.js" inline></script>
|
<script src="vendor/polyfill.js" inline></script>
|
||||||
<script src="vendor/promise.js" inline></script>
|
<script src="vendor/promise/polyfill.js" inline></script>
|
||||||
<script src="app.js"></script>
|
<script src="app.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
14
package.json
14
package.json
@ -10,12 +10,12 @@
|
|||||||
"url": "https://github.com/ffrgb/meshviewer/issues"
|
"url": "https://github.com/ffrgb/meshviewer/issues"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-eslint": "^8.2.3",
|
"babel-eslint": "^8.2.5",
|
||||||
"browser-sync": "^2.24.4",
|
"browser-sync": "^2.24.5",
|
||||||
"eslint": "^4.18.2",
|
"eslint": "^5.0.0",
|
||||||
"eslint-config-airbnb-es5": "^1.2.0",
|
"eslint-config-airbnb-es5": "^1.2.0",
|
||||||
"eslint-config-defaults": "^9.0.0",
|
"eslint-config-defaults": "^9.0.0",
|
||||||
"eslint-plugin-react": "^7.7.0",
|
"eslint-plugin-react": "^7.10.0",
|
||||||
"gulp": "github:gulpjs/gulp#4.0",
|
"gulp": "github:gulpjs/gulp#4.0",
|
||||||
"gulp-autoprefixer": "^5.0.0",
|
"gulp-autoprefixer": "^5.0.0",
|
||||||
"gulp-cache-bust": "^1.3.0",
|
"gulp-cache-bust": "^1.3.0",
|
||||||
@ -30,7 +30,7 @@
|
|||||||
"gulp-real-favicon": "^0.3.0",
|
"gulp-real-favicon": "^0.3.0",
|
||||||
"gulp-requirejs-optimize": "^1.3.0",
|
"gulp-requirejs-optimize": "^1.3.0",
|
||||||
"gulp-sass": "^4.0.1",
|
"gulp-sass": "^4.0.1",
|
||||||
"gulp-sass-lint": "^1.3.4",
|
"gulp-sass-lint": "^1.4.0",
|
||||||
"gulp-sourcemaps": "^2.6.4",
|
"gulp-sourcemaps": "^2.6.4",
|
||||||
"gulp-uglify": "^3.0.0"
|
"gulp-uglify": "^3.0.0"
|
||||||
},
|
},
|
||||||
@ -49,10 +49,10 @@
|
|||||||
"d3-selection": "^1.3.0",
|
"d3-selection": "^1.3.0",
|
||||||
"d3-zoom": "^1.7.1",
|
"d3-zoom": "^1.7.1",
|
||||||
"leaflet": "^1.3.1",
|
"leaflet": "^1.3.1",
|
||||||
"moment": "^2.22.1",
|
"moment": "^2.22.2",
|
||||||
"navigo": "^7.1.2",
|
"navigo": "^7.1.2",
|
||||||
"node-polyglot": "^2.2.2",
|
"node-polyglot": "^2.2.2",
|
||||||
"promise-polyfill": "^7.1.2",
|
"promise-polyfill": "^8.0.0",
|
||||||
"rbush": "^2.0.2",
|
"rbush": "^2.0.2",
|
||||||
"requirejs": "^2.3.5",
|
"requirejs": "^2.3.5",
|
||||||
"snabbdom": "^0.7.1"
|
"snabbdom": "^0.7.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user