Skip to content

Commit f227ce7

Browse files
committedFeb 24, 2024
build: move external typings to optional deps
relates google#712
1 parent f8c80eb commit f227ce7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
 

‎package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"build": "npm run build:js && npm run build:dts",
4545
"build:check": "tsc",
4646
"build:js": "node scripts/build-js.mjs --format=esm --entry=src/*.ts && npm run build:vendor",
47-
"build:vendor": "node scripts/build-js.mjs --format=esm --entry=src/vendor.ts --bundle=all --banner",
47+
"build:vendor": "node scripts/build-js.mjs --format=esm --entry=src/vendor.ts --bundle=all --banner --minify",
4848
"build:dts": "tsc --project tsconfig.prod.json && node scripts/build-dts.mjs",
4949
"test": "npm run build && node ./test/all.test.js",
5050
"test:types": "tsd",
@@ -53,11 +53,13 @@
5353
"circular": "madge --circular src/*",
5454
"version": "cat package.json | fx .version"
5555
},
56-
"dependencies": {
56+
"optionalDependencies": {
5757
"@types/fs-extra": "^11.0.4",
5858
"@types/node": ">=20.11.19"
5959
},
6060
"devDependencies": {
61+
"@types/fs-extra": "^11.0.4",
62+
"@types/node": ">=20.11.19",
6163
"@types/ps-tree": "^1.1.6",
6264
"@types/minimist": "^1.2.5",
6365
"@types/which": "^3.0.3",
@@ -83,7 +85,7 @@
8385
"yaml": "^2.3.4"
8486
},
8587
"publishConfig": {
86-
"registry": "https://wombat-dressing-room.appspot.com"
88+
"registry": "https://wombat-dressing-room.appspot.com",
8789
},
8890
"files": [
8991
"build",

0 commit comments

Comments
 (0)