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 0c95d15 commit cb28a9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
cpp/build/
cpp/externals/
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"cmake-js": "7.3.0"
},
"scripts": {
"install": "cmake-js compile -d cpp print-configure",
"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 cb28a9b

Please sign in to comment.