Skip to content

Commit 002c75d

Browse files
committed
Retain JS string keys in package.json in postinstall (Fixes #3)
1 parent cf3eb42 commit 002c75d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/post_install.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
(-> (readFileSync "package.json")
4343
str
4444
js/JSON.parse
45-
(js->clj :keywordize-keys true)
46-
(update :scripts dissoc :postinstall)
45+
js->clj
46+
(update "scripts" dissoc "postinstall")
4747
clj->js))
4848

4949
(writeFileSync "package.json" (js/JSON.stringify package-json nil 2))

0 commit comments

Comments
 (0)