Skip to content

Commit

Permalink
update dev dependencies: upgrade babel (katspaugh#1469)
Browse files Browse the repository at this point in the history
* update dev dependencies: upgrade babel

* ci: lint files
  • Loading branch information
thijstriemstra committed Sep 28, 2018
1 parent 4e813e0 commit 6f7a4ae
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 22 deletions.
6 changes: 5 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"presets": [
["env"]
["@babel/preset-env", {
"targets": "last 3 version",
"debug": false
}]
],
"plugins": ["transform-class-properties", "add-module-exports"],

"env": {
"test": {
"plugins": [
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ install:
- npm install
- npm update
script:
- npm run lint
- npm run build
- npm run test
- npm run doc
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ shallow_clone: true
test_script:
- node --version
- npm --version
- npm run lint
- npm run build
- npm run test
- npm run doc
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
process.env.BABEL_ENV = 'test';
process.traceDeprecation = true;

require('babel-register');
require('@babel/register');
var webpackConfig = require('./build-config/webpack.prod.main.js');
var ci = process.env.TRAVIS || process.env.APPVEYOR;

Expand Down
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
"url": "https://github.com/katspaugh/wavesurfer.js/issues"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-loader": "^7.1.5",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-istanbul": "^4.1.6",
"@babel/core": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/register": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"babel-plugin-add-module-exports": "^1.0.0",
"babel-plugin-istanbul": "^5.0.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0",
"debounce": "^1.2.0",
"esdoc": "^1.1.0",
"esdoc-accessor-plugin": "^1.0.0",
Expand All @@ -54,30 +54,30 @@
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-integrate-test-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
"eslint": "^5.4.0",
"eslint-config-prettier": "^3.0.1",
"eslint-loader": "^2.1.0",
"eslint-plugin-prettier": "^2.6.2",
"htmlhint": "^0.9.13",
"eslint": "^5.6.1",
"eslint-config-prettier": "^3.1.0",
"eslint-loader": "^2.1.1",
"eslint-plugin-prettier": "^2.7.0",
"htmlhint": "^0.10.1",
"in-publish": "^2.0.0",
"jasmine-core": "^3.2.1",
"karma": "^3.0.0",
"karma-chrome-launcher": "2.2.0",
"karma-coverage": "^1.1.2",
"karma-coveralls": "^2.0.0",
"karma-coveralls": "^2.1.0",
"karma-firefox-launcher": "^1.1.0",
"karma-jasmine": "1.1.2",
"karma-jasmine-matchers": "3.8.3",
"karma-verbose-reporter": "0.0.6",
"karma-webpack": "^4.0.0-beta.0",
"lint-staged": "^7.2.2",
"karma-webpack": "^3.0.0",
"lint-staged": "^7.3.0",
"load-script": "^1.0.0",
"pre-commit": "^1.2.2",
"prettier": "^1.14.2",
"uglifyjs-webpack-plugin": "^1.3.0",
"webpack": "^4.16.5",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "3",
"prettier": "^1.14.3",
"uglifyjs-webpack-plugin": "^2.0.1",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.1",
"webpack-dev-server": "^3.1.9",
"webpack-merge": "^4.1.4"
},
"homepage": "https://github.com/katspaugh/wavesurfer.js",
Expand Down

0 comments on commit 6f7a4ae

Please sign in to comment.