Skip to content

Commit

Permalink
build: move external typings to optional deps
Browse files Browse the repository at this point in the history
relates #712
  • Loading branch information
antongolub committed Feb 24, 2024
1 parent f8c80eb commit f227ce7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"build": "npm run build:js && npm run build:dts",
"build:check": "tsc",
"build:js": "node scripts/build-js.mjs --format=esm --entry=src/*.ts && npm run build:vendor",
"build:vendor": "node scripts/build-js.mjs --format=esm --entry=src/vendor.ts --bundle=all --banner",
"build:vendor": "node scripts/build-js.mjs --format=esm --entry=src/vendor.ts --bundle=all --banner --minify",
"build:dts": "tsc --project tsconfig.prod.json && node scripts/build-dts.mjs",
"test": "npm run build && node ./test/all.test.js",
"test:types": "tsd",
Expand All @@ -53,11 +53,13 @@
"circular": "madge --circular src/*",
"version": "cat package.json | fx .version"
},
"dependencies": {
"optionalDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/node": ">=20.11.19"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/node": ">=20.11.19",
"@types/ps-tree": "^1.1.6",
"@types/minimist": "^1.2.5",
"@types/which": "^3.0.3",
Expand All @@ -83,7 +85,7 @@
"yaml": "^2.3.4"
},
"publishConfig": {
"registry": "https://wombat-dressing-room.appspot.com"
"registry": "https://wombat-dressing-room.appspot.com",
},
"files": [
"build",
Expand Down

0 comments on commit f227ce7

Please sign in to comment.