Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
fix: use postinstall to install bindings with npm
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrosenberg committed Apr 6, 2022
1 parent 6b2776f commit ff6635d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"request": "^2.88.0",
"rimraf": "^2.6.2",
"safe-buffer": "^5.0.1",
"serialport": "^10.4.0",
"slugify": "^1.3.4",
"tar": ">=2.2.2",
"telnet-client": "^0.16.1",
Expand All @@ -58,9 +57,8 @@
},
"scripts": {
"watch": "onchange '**/*.js' '**/*.html' '**/*.less' -- sh scripts/restart-atom.sh",
"@preinstall": "bindings-ccp needs to be preinstalled for Unix. Don't know why. : makes Windows ignore the command",
"preinstall": ":; cp preinstalled_modules node_modules -r",
"_postinstall": "node scripts/post-install.js",
"@postinstall": "apm cant install bindings-ccp on linux/mac, so we use npm",
"postinstall": "npm install serialport",
"test-electron": "pwsh -nop -f ./test-electron/runtest.ps1",
"download-native": "node scripts/download-binaries.js",
"semantic-release": "semantic-release"
Expand Down

0 comments on commit ff6635d

Please sign in to comment.