Skip to content

Commit

Permalink
Upgrade dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pokusew committed Sep 28, 2023
1 parent 62cd1fe commit 33b7ed7
Show file tree
Hide file tree
Showing 4 changed files with 1,009 additions and 2,913 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"plugins": [
"@babel/plugin-transform-modules-commonjs",
"@babel/plugin-syntax-object-rest-spread",
"@babel/plugin-proposal-class-properties"
"@babel/plugin-transform-class-properties"
]
}
45 changes: 45 additions & 0 deletions ava.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
"use strict";

// run AVA
// npx ava --match='*foo'
// ./node_modules/.bin/ava --match='*foo'
// see https://github.com/avajs/ava/blob/main/docs/05-command-line.md

// https://github.com/avajs/ava/blob/main/docs/06-configuration.md
module.exports = {
// https://github.com/avajs/ava/blob/main/docs/recipes/typescript.md
extensions: {
// https://github.com/avajs/ava/blob/main/docs/06-configuration.md#configuring-module-formats
js: true,
ts: 'commonjs',
},
// extensions: ['.js', '.ts'],
require: [
'@babel/register',
],
files: [
'./test/**/*',
],
ignoredByWatcher: [
//
// some files and directories are ignored by default,
// see https://github.com/avajs/ava/blob/main/docs/recipes/watch-mode.md#ignoring-changes
//
// note:
// AVA dependency tracking (https://github.com/avajs/ava/blob/main/docs/recipes/watch-mode.md#dependency-tracking)
// currently does not work with native ES modules.
// See
// https://github.com/avajs/ava/issues/2388
// https://github.com/avajs/ava/pull/3123
// https://github.com/avajs/ava/issues/2905
//
// use the following to debug:
// DEBUG=ava:watcher npx ava --watch
// or
// DEBUG=ava:* npx ava --watch
//
'./.idea/',
'./temp/',
'./dist/',
],
};
29 changes: 9 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,28 +53,17 @@
"@pokusew/pcsclite": "^0.6.0"
},
"devDependencies": {
"@ava/babel": "^1.0.1",
"@babel/cli": "^7.12.17",
"@babel/core": "^7.12.17",
"@babel/plugin-proposal-class-properties": "^7.12.13",
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.0",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "^7.12.13",
"@babel/register": "^7.12.13",
"ava": "^3.15.0",
"chalk": "^4.1.0",
"@babel/plugin-transform-class-properties": "^7.22.5",
"@babel/plugin-transform-modules-commonjs": "^7.23.0",
"@babel/register": "^7.22.15",
"ava": "^5.3.1",
"chalk": "^5.3.0",
"cross-env": "^7.0.3",
"mock-require": "^3.0.3",
"triple-beam": "^1.3.0",
"winston": "^3.3.3"
},
"ava": {
"babel": {
"testOptions": {
"babelrc": true
}
},
"require": [
"@babel/register"
]
"triple-beam": "^1.4.1",
"winston": "^3.10.0"
}
}
Loading

0 comments on commit 33b7ed7

Please sign in to comment.