Skip to content

Commit

Permalink
Refactor scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 19, 2020
1 parent d7ef237 commit 41ec48a
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/
retext-emoji.js
retext-emoji.min.js
*.json
*.md
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"xo": "^0.32.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"format": "remark . -qfo && prettier . --write && xo --fix",
"build-bundle": "browserify . -s retextEmoji > retext-emoji.js",
"build-mangle": "browserify . -s retextEmoji -p tinyify > retext-emoji.min.js",
"build": "npm run build-bundle && npm run build-mangle",
Expand Down

0 comments on commit 41ec48a

Please sign in to comment.