Skip to content

Commit e17821b

Browse files
committed
try a preinstall in package.json
1 parent fe5100e commit e17821b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

skipruntime-ts/addon/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
".": "./dist/index.js"
88
},
99
"scripts": {
10+
"preinstall": "skargo build -r --lib --manifest-path=../skiplang/ffi/Skargo.toml --out-dir=../../build/skipruntime",
1011
"prepare": "skargo build -r --lib --manifest-path=../skiplang/ffi/Skargo.toml --out-dir=../../build/skipruntime",
1112
"build": "skargo build -r --lib --manifest-path=../skiplang/ffi/Skargo.toml --out-dir=../../build/skipruntime && tsc && SKIPRUNTIME=$(realpath ../../build/skipruntime) node-gyp configure && node-gyp build",
1213
"clean": "rm -rf dist && node-gyp clean",

0 commit comments

Comments
 (0)