Skip to content

Commit e780f40

Browse files
committed
Fix: postinstall to rename source json file after npm install
1 parent 2e0c5c7 commit e780f40

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"scripts": {
88
"test": "echo \"Error: no test specified\" && exit 1",
99
"start": "node index.js",
10-
"dev": "nodemon index.js"
10+
"dev": "nodemon index.js",
11+
"postinstall": "mv ./node_modules/rwanda-geo-structure/rwanda.json ./node_modules/rwanda-geo-structure/Rwanda.json || true"
1112
},
1213
"keywords": [
1314
"rwanda-geo-structure",

0 commit comments

Comments
 (0)