init submodule on npm install
This commit is contained in:
1 parent
90d2e30ff7
commit
f37bf6b48a
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -14,7 +14,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"tsc-check": "tsc --noEmit",
|
||||
"postinstall": "tsx pre-commit.ts",
|
||||
"postinstall": "git submodule update --init --recursive && tsx pre-commit.ts",
|
||||
"dev": "vite",
|
||||
"build": "tsc && vite build && electron-builder",
|
||||
"preview": "vite preview",
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import * as fs from "node:fs";
|
||||
import * as fs from "fs";
|
||||
|
||||
const hooks = `
|
||||
#!/bin/sh
|
||||
|
||||
Reference in new issue
Block a user