From 9f1ea533d54407e5067e5837b4b3fb380ab9f5fa Mon Sep 17 00:00:00 2001 From: nmccready Date: Thu, 12 Sep 2024 17:10:56 -0400 Subject: [PATCH] chore: dependency cleanup --- .gitignore | 4 ---- package.json | 20 +++++++------------- test/helpers/watchLeaks.js | 2 +- test/perf/perfWith.js | 2 +- test/perf/perfWithout.js | 2 +- 5 files changed, 10 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 854db45..6580060 100644 --- a/.gitignore +++ b/.gitignore @@ -21,12 +21,8 @@ bower_components/ package-lock.json crashes.json .history -.editorconfig -.prettierrc.js -.eslint* !.eslintrc.js .tmp -babel.config.js *.lock docs/website/*.md diff --git a/package.json b/package.json index 28739b4..f7edffb 100644 --- a/package.json +++ b/package.json @@ -24,15 +24,13 @@ "scripts": { "build": "npm run gulp default && npm run roll:it", "coveralls": "cat ./coverage/lcov.info | coveralls", - "docs:api:markdown": "npm run typedoc --theme markdown --exclude ./src/test --out ./docs/api ./src", - "docs:api:website": "npm run typedoc --exclude ./src/test --out docs ./src", + "docs:api:markdown": "npx typedoc --theme markdown --exclude ./src/test --out ./docs/api ./src", + "docs:api:website": "npx typedoc --exclude ./src/test --out docs ./src", "gulp": "node -r esm ./node_modules/.bin/gulp", "jest": "node -r esm ./node_modules/.bin/jest", "lint": "eslint --ext .js,.ts,.tsx *.js src test --color", "mocha": "mocha", - "postinstall:1": "js-common-editorconfig-clone && js-common-babel-config-clone", - "postinstall:2": "js-common-prettierrc-clone", - "prepare": "npm run postinstall:1 && npm run postinstall:2 && sort-package-json", + "prepare": "npx sort-package-json", "roll:it": "rollup -c ./rollup.config.ts", "test": "npm run lint && npm run jest", "test:ci": "npm run build && npm run test --coverage && npm run coveralls", @@ -43,16 +41,12 @@ "memoizee": "0.4" }, "devDependencies": { + "@biiaidt/node-memwatch": "2.0.1", "@commitlint/cli": "^19", "@commitlint/config-conventional": "^19", - "@raghb1/node-memwatch": "^3.0.1", "@types/debug": "^4", - "@znemz/js-common-babel-config": "^0.0.23", - "@znemz/js-common-babel-config-clone": "^0.0.23", - "@znemz/js-common-editorconfig-clone": "^0.0.23", - "@znemz/js-common-eslint-config": "^0.2.1", - "@znemz/js-common-gulp-monorepo-typescript": "^0.0.23", - "@znemz/js-common-prettierrc-clone": "^0.0.23", + "@znemz/js-common-babel-config": "^0.2.1", + "@znemz/js-common-eslint-config": "^0.2.2", "@znemz/react-extras-jest": "^1.1.0", "JSONStream": "1.X", "bluebird": "^3.5.5", @@ -69,7 +63,7 @@ "rollup": "^1.20.1", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-typescript": "^1.0.1", - "sort-package-json": "^1.21.0", + "sort-package-json": "^2.10.1", "typedoc": "~0.15.0", "typedoc-plugin-markdown": "~2.1.4", "typescript": "~4.4" diff --git a/test/helpers/watchLeaks.js b/test/helpers/watchLeaks.js index 3c6b7f7..7891b0d 100644 --- a/test/helpers/watchLeaks.js +++ b/test/helpers/watchLeaks.js @@ -1,4 +1,4 @@ -const memwatch = require('@raghb1/node-memwatch'); +const memwatch = require('@biiaidt/node-memwatch'); /* eslint-disable no-console */ const watchLeaks = () => { diff --git a/test/perf/perfWith.js b/test/perf/perfWith.js index cb1cf15..a0c4367 100644 --- a/test/perf/perfWith.js +++ b/test/perf/perfWith.js @@ -1,6 +1,6 @@ const fs = require('fs'); const JSONStream = require('JSONStream'); -const memwatch = require('@raghb1/node-memwatch'); +const memwatch = require('@biiaidt/node-memwatch'); const debug = require('../../lib') .spawnable(require('../../package.json').name) .spawn('perf'); diff --git a/test/perf/perfWithout.js b/test/perf/perfWithout.js index d8989ee..8e4f101 100644 --- a/test/perf/perfWithout.js +++ b/test/perf/perfWithout.js @@ -1,6 +1,6 @@ const fs = require('fs'); const JSONStream = require('JSONStream'); -const memwatch = require('@raghb1/node-memwatch'); +const memwatch = require('@biiaidt/node-memwatch'); const debug = require('debug')(`${require('../../package.json').name}:perf`); /* eslint-disable no-console */