Skip to content

Commit bd8e790

Browse files
committed
Define a task that runs prettier over the codebase
1 parent ce9362f commit bd8e790

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"module": "lib/mobx.module.js",
88
"typings": "lib/mobx.d.ts",
99
"scripts": {
10+
"prettier": "prettier --write --print-width 100 --tab-width 4 --no-semi \"**/*.js\" \"**/*.jsx\" \"**/*.tsx\" \"**/*.ts\"",
1011
"test": "npm run quick-build && npm run tape",
1112
"full-test": "npm run small-build && npm run build-tests && npm run use-minified && npm run tape && node --expose-gc test/perf/index.js && npm run test-flow && node test/mixed-versions/mixed-versions.js && npm run test-webpack",
1213
"tape": "tape test/*.js test/typescript/typescript-tests.js | faucet",

0 commit comments

Comments
 (0)