diff --git a/package.json b/package.json index 126cd63..f0828ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@chatie/eslint-config", - "version": "1.1.2", + "version": "1.2.0", "description": "ESLint Sharable Configurations and Rules in Chatie Organization", "main": "./src/eslintrc.cjs", "scripts": { @@ -9,7 +9,7 @@ "lint": "eslint src/**/*.*js", "test:pack": "bash -x scripts/npm-pack-testing.sh", "test": "npm run lint && npm run test:unit", - "test:unit": "blue-tape -r ts-node/register 'src/**/*.spec.ts' 'src/*.spec.ts' 'tests/*.spec.ts' 'tests/**/*.spec.ts'" + "test:unit": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" tap \"tests/*.spec.ts\"" }, "repository": { "type": "git", @@ -28,28 +28,26 @@ "url": "https://github.com/Chatie/eslint-config/issues" }, "homepage": "https://github.com/Chatie/eslint-config#readme", - "peerDependencies": {}, "dependencies": { - "@typescript-eslint/eslint-plugin": "^4.31.1", - "@typescript-eslint/parser": "^4.31.1", - "eslint": "^7.32.0", - "eslint-config-standard": "^16.0.3", - "eslint-plugin-import": "^2.24.2", + "@typescript-eslint/eslint-plugin": "^5.48.1", + "@typescript-eslint/parser": "^5.48.1", + "array.prototype.flatmap": "^1.3.1", + "eslint": "^8.31.0", + "eslint-config-standard": "^17.0.0", + "eslint-plugin-import": "^2.27.0", "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^5.1.0", + "eslint-plugin-promise": "^6.1.1", "file-name-linter": "^1.1.0", - "markdownlint-cli": "^0.28.1", - "pkg-up": "^3.1.0" + "markdownlint-cli": "^0.33.0", + "pkg-up": "^3.0.0" }, "devDependencies": { "@chatie/git-scripts": "^0.6.2", "@chatie/semver": "^0.4.7", - "@chatie/tsconfig": "^0.20.2", - "@types/eslint": "^7.28.0", - "@types/glob": "^7.1.4", - "glob": "^7.1.7", - "tstest": "^0.4.10", - "typescript": "^4.4.3" + "@chatie/tsconfig": "^4.6.4", + "@types/eslint": "^8.4.10", + "@types/glob": "^8.0.0", + "glob": "^8.0.3" }, "publishConfig": { "access": "public", diff --git a/tests/detect-patterns.spec.ts b/tests/detect-patterns.spec.ts index 1f2dd63..4babc7e 100755 --- a/tests/detect-patterns.spec.ts +++ b/tests/detect-patterns.spec.ts @@ -4,7 +4,7 @@ import fs from 'fs' import path from 'path' import util from 'util' -import test from 'blue-tape' +import { test } from 'tstest' import glob from 'glob' import { ESLint } from 'eslint'