rescript:format

This commit is contained in:
Umur Ozkul 2022-04-05 20:51:54 +02:00
parent 4e6a2341f0
commit 05e8540b31

View File

@ -10,7 +10,8 @@
"test:reducer": "jest --testPathPattern '.*__tests__/Reducer.*'",
"test": "jest",
"test:watch": "jest --watchAll",
"all": "yarn build && yarn bundle && yarn test"
"all": "yarn build && yarn bundle && yarn test",
"rescript:format": "find . -type f \\( -name '*.res' -o -name '*.resi' \\) -exec sh -c 'bsc -format {} | sponge {}' \\;"
},
"keywords": [
"Rescript"