Skip to content

Commit

Permalink
Refactor scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 23, 2020
1 parent 963292f commit e8e65ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
coverage/
remark.js
remark.min.js
*.json
*.md
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"scripts": {
"postinstall": "lerna bootstrap --no-ci",
"format": "packages/remark-cli/cli.js . -qfo && prettier --write \"**/*.{js,ts}\" && xo --fix",
"format": "packages/remark-cli/cli.js . -qfo && prettier . --write && xo --fix",
"build-bundle": "browserify packages/remark -s remark > remark.js",
"build-mangle": "browserify packages/remark -s remark -p tinyify > remark.min.js",
"build": "npm run build-bundle && npm run build-mangle",
Expand Down

0 comments on commit e8e65ce

Please sign in to comment.