Skip to content

Commit

Permalink
fix: npm configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
developer239 committed Jul 27, 2024
1 parent 775e493 commit 91f2f33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules/
cpp/build/
cpp/externals/
.gitmodules
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"cmake-js": "7.3.0"
},
"scripts": {
"postinstall": "npm run build",
"postinstall": "npm run submodules && npm run build",
"submodules": "git submodule update --init --recursive",
"build": "cmake-js compile -d cpp print-configure",
"example": "node example/index.js"
Expand Down

0 comments on commit 91f2f33

Please sign in to comment.