Skip to content

Commit 505eb92

Browse files
committed
fix: typedef files copy properly
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 3c5c9f8 commit 505eb92

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,10 @@
117117
"@types/node": "ts5.7",
118118
"@types/spdx-expression-parse": "^3",
119119
"c8": "^10",
120+
"copyfiles": "^2.4.1",
120121
"deepmerge": "^4.2.2",
121122
"fast-glob": "^3.3.1",
122-
"memfs": "4.46.1",
123+
"memfs": "^4.46.1",
123124
"mocha": "11.7.2",
124125
"npm-run-all2": "^8",
125126
"rimraf": "^6",
@@ -209,6 +210,7 @@
209210
"build:web": "webpack build",
210211
"prebuild:d": "rimraf dist.d",
211212
"build:d": "tsc -b ./tsconfig.d.json",
213+
"postbuild:d": "copyfiles -u 1 src/**/*.d.ts dist.d",
212214
"test": "run-p --aggregate-output -lc test:\\*",
213215
"test:node": "c8 mocha -p",
214216
"test:web": "node -e 'console.log(\"TODO: write web test\")'",

0 commit comments

Comments
 (0)