Skip to content

Commit ce2d76e

Browse files
committed
Revert "code golf"
This reverts commit 28e495c.
1 parent 524be6d commit ce2d76e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build": "NODE_ENV=production npm-run-all --serial clean tsc copy:* \"rollup:* -- --compact\"",
1818
"pack": "npm-run-all --parallel pack:*",
1919
"watch": "npm-run-all --parallel -l \"tsc -- -w\" \"copy:* -- -v -w\" \"rollup:* -- -w\"",
20-
"version": "node -p \"JSON.stringify({ ...require('./static/manifest.json'), version: require('./package.json').version }, null, 2)\" > static/manifest.json && git add static/manifest.json",
20+
"version": "node -p \"require('fs').writeFileSync('static/manifest.json', JSON.stringify({ ...require('./static/manifest.json'), version: require('./package.json').version }, null, 2))\" && git add static/manifest.json",
2121
"start": "npm run watch"
2222
},
2323
"author": "Dan Rouse <dan@rouse.house>",

0 commit comments

Comments
 (0)