Skip to content

Commit 7ba3a5e

Browse files
committed
chore: update npm scripts to build before execution
1 parent 3d80f68 commit 7ba3a5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@
121121
"lint-shell": "find ./src ./tests ./scripts -type f -regextype posix-extended -regex '.*\\.(sh)' -exec shellcheck {} +",
122122
"docs": "shx rm -rf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src",
123123
"pkg": "node ./scripts/build.mjs --pkg && node ./scripts/pkg.mjs",
124-
"polykey": "node dist/polykey.mjs",
125-
"start": "node dist/polykey.mjs -- agent start --verbose"
124+
"polykey": "node ./scripts/build.mjs && node dist/polykey.mjs",
125+
"start": "node ./scripts/build.mjs && node dist/polykey.mjs -- agent start --verbose"
126126
},
127127
"optionalDependencies": {
128128
"@matrixai/db": "*",

0 commit comments

Comments
 (0)