Skip to content

Commit de9287e

Browse files
committed
fix: change prepare to prepublishOnly + update readme
1 parent 8bddbe7 commit de9287e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
npm install minidump
77
```
88

9-
## Building
9+
## Building (for development)
1010

11-
* `git clone --recurse-submodules https://github.com/electron/node-minidump`
11+
* `git clone https://github.com/electron/node-minidump`
12+
* `npm run submodule`
1213
* `npm install`
1314

1415
## Docs

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"test": "mocha test && standard",
2121
"build": "node build.js",
2222
"submodule": "git submodule update --recursive --init",
23-
"prepare": "npm run submodule && npm run build",
23+
"prepublishOnly": "npm run submodule && npm run build",
2424
"postinstall": "npm run build"
2525
},
2626
"devDependencies": {

0 commit comments

Comments
 (0)