Skip to content

Commit 9eed37b

Browse files
committed
Make sure dist/config.json is present
1 parent c8f0158 commit 9eed37b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/class/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
"dev": "concurrently -n \"tsc,json2ts\" -c \"blue,green\" \"pnpm dev:tsc\" \"pnpm json2ts --watch\"",
7070
"dev:tsc": "tsc --watch",
7171
"build:tsc": "tsc",
72-
"build": "pnpm json2ts && pnpm build:tsc",
72+
"build:config": "cp src/config.json dist/config.json",
73+
"build": "pnpm json2ts && pnpm build:tsc && pnpm build:config",
7374
"prepack": "pnpm build",
7475
"test": "tsx --test src/*.test.ts",
7576
"typecheck": "tsc --noEmit",

0 commit comments

Comments
 (0)