Merge pull request #719 from zenorocha/update-devdeps

Update dev dependencies.
This commit is contained in:
Beto Muniz 2021-01-19 15:02:14 -03:00 committed by GitHub
commit 6479739564
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2646 additions and 5152 deletions

993
dist/clipboard.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,30 +1,36 @@
var webpackConfig = require('./webpack.config.js'); var webpackConfig = require("./webpack.config.js");
module.exports = function (karma) { module.exports = function (karma) {
karma.set({ karma.set({
plugins: ['karma-webpack', 'karma-chai', 'karma-sinon', 'karma-mocha', 'karma-chrome-launcher'], plugins: [
"karma-webpack",
"karma-chai",
"karma-sinon",
"karma-mocha",
"karma-chrome-launcher",
],
frameworks: ['chai', 'sinon', 'mocha'], frameworks: ["chai", "sinon", "mocha", "webpack"],
files: [ files: [
'src/**/*.js', { pattern: "src/**/*.js", watched: false },
'test/**/*.js', { pattern: "test/**/*.js", watched: false },
], ],
preprocessors: { preprocessors: {
'src/**/*.js': ['webpack'], "src/**/*.js": ["webpack"],
'test/**/*.js': ['webpack'] "test/**/*.js": ["webpack"],
}, },
webpack: { webpack: {
module: webpackConfig.module, module: webpackConfig.module,
plugins: webpackConfig.plugins plugins: webpackConfig.plugins,
}, },
webpackMiddleware: { webpackMiddleware: {
stats: 'errors-only' stats: "errors-only",
}, },
browsers: ['ChromeHeadless'] browsers: ["ChromeHeadless"],
}); });
}; };

6733
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -17,22 +17,22 @@
"tiny-emitter": "^2.0.0" "tiny-emitter": "^2.0.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.11.6", "@babel/core": "^7.12.10",
"@babel/preset-env": "^7.11.5", "@babel/preset-env": "^7.12.11",
"babel-loader": "^8.1.0", "babel-loader": "^8.2.2",
"chai": "^4.2.0", "chai": "^4.2.0",
"cross-env": "^5.2.0", "cross-env": "^7.0.3",
"karma": "^3.1.1", "karma": "^6.0.0",
"karma-chai": "^0.1.0", "karma-chai": "^0.1.0",
"karma-mocha": "^1.2.0", "karma-chrome-launcher": "^3.1.0",
"karma-chrome-launcher": "^2.2.0", "karma-mocha": "^2.0.1",
"karma-sinon": "^1.0.4", "karma-sinon": "^1.0.4",
"karma-webpack": "^3.0.5", "karma-webpack": "^5.0.0-alpha.5",
"mocha": "^5.2.0", "mocha": "^8.2.1",
"sinon": "^7.1.1", "sinon": "^9.2.3",
"uglifyjs-webpack-plugin": "^2.0.1", "uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^4.5.0", "webpack": "^5.15.0",
"webpack-cli": "^3.1.2" "webpack-cli": "^4.4.0"
}, },
"scripts": { "scripts": {
"build": "npm run build-debug && npm run build-min", "build": "npm run build-debug && npm run build-min",