X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=package.json;h=e74fcb6c66996697c181d79702677fa2b63962b3;hb=689ce42b8eda73e5197190607e64e7ed80d30dae;hp=23fca8014015c5a6592ee0f8e09397711b11b029;hpb=496a897f8de811e8381be34809e210a4c6b2fda7;p=poolifier.git diff --git a/package.json b/package.json index 23fca801..e74fcb6c 100644 --- a/package.json +++ b/package.json @@ -11,15 +11,16 @@ } }, "scripts": { + "preinstall": "npx only-allow pnpm", "prepare": "node prepare.js", "build": "rollup --config --environment BUILD:development", "build:typedoc": "rollup --config --environment BUILD:development --environment DOCUMENTATION", "build:prod": "rollup --config", - "benchmark": "npm run build && node -r source-map-support/register benchmarks/internal/bench.js", - "benchmark:debug": "npm run build && node -r source-map-support/register --inspect benchmarks/internal/bench.js", - "benchmark:prod": "npm run build:prod && node -r source-map-support/register benchmarks/internal/bench.js", - "test": "npm run build && c8 mocha 'tests/**/*.test.js'", - "test:debug": "npm run build && mocha --no-parallel --inspect 'tests/**/*.test.js'", + "benchmark": "pnpm run build && node -r source-map-support/register benchmarks/internal/bench.js", + "benchmark:debug": "pnpm run build && node -r source-map-support/register --inspect benchmarks/internal/bench.js", + "benchmark:prod": "pnpm run build:prod && node -r source-map-support/register benchmarks/internal/bench.js", + "test": "pnpm run build && c8 mocha 'tests/**/*.test.js'", + "test:debug": "pnpm run build && mocha --no-parallel --inspect 'tests/**/*.test.js'", "coverage": "c8 report --reporter=lcov", "coverage:html": "c8 report --reporter=html", "format": "prettier . --cache --write; ts-standard . --fix", @@ -28,7 +29,7 @@ "lint:report": "eslint . --cache --format json --output-file reports/eslint.json", "release": "release-it", "typedoc": "typedoc", - "prepublishOnly": "npm run build:prod" + "prepublishOnly": "pnpm run build:prod" }, "ts-standard": { "globals": [ @@ -41,8 +42,7 @@ ] }, "engines": { - "node": ">=16.0.0", - "npm": ">=8.0.0" + "node": ">=16.0.0" }, "repository": { "type": "git", @@ -90,13 +90,13 @@ "lib" ], "devDependencies": { - "@commitlint/cli": "^17.4.4", + "@commitlint/cli": "^17.5.0", "@commitlint/config-conventional": "^17.4.4", "@release-it/bumper": "^4.0.2", "@release-it/keep-a-changelog": "^3.1.0", "@rollup/plugin-terser": "^0.4.0", "@rollup/plugin-typescript": "^11.0.0", - "@types/node": "^18.15.5", + "@types/node": "^18.15.9", "@typescript-eslint/eslint-plugin": "^5.56.0", "@typescript-eslint/parser": "^5.56.0", "benny": "^3.7.1", @@ -118,10 +118,10 @@ "microtime": "^3.1.1", "mocha": "^10.2.0", "mochawesome": "^7.1.3", - "prettier": "^2.8.6", + "prettier": "^2.8.7", "prettier-plugin-organize-imports": "^3.2.2", - "release-it": "^15.9.1", - "rollup": "^3.20.0", + "release-it": "^15.9.3", + "rollup": "^3.20.2", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-command": "^1.1.3", "rollup-plugin-delete": "^2.0.0",