Skip to content

Commit a3861c7

Browse files
committed
Simpler prettier run
1 parent f331311 commit a3861c7

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
@@ -19,7 +19,7 @@
1919
],
2020
"scripts": {
2121
"ci": "npm run lint && tsc --noEmit",
22-
"build": "tsc && npm run renameCjs && npm run prettier",
22+
"build": "tsc && npm run renameCjs && prettier \"*.cjs\" --write",
2323
"lint": "eslint src",
2424
"renameCjs": "node -e \"require('fs').renameSync('px.js', 'px.cjs')\"",
2525
"prettier": "prettier \"./**/*.{ts,d.ts,cjs,md,json}\" --write"

0 commit comments

Comments
 (0)