Skip to content

Commit

Permalink
feat: add npm run format script (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Nov 18, 2018
1 parent 5077193 commit 293fbae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"lint:md": "markdownlint --ignore node_modules --ignore CHANGELOG.md \"**/*.md\"",
"lint": "npm-run-all --print-label --parallel lint:*",
"prettier:write": "prettier --write --ignore-path .gitignore \"**/*.{html,json,md,yaml,yml}\"",
"format": "npm-run-all --print-label --parallel lint:js:fix prettier:write",
"release": "standard-version --sign",
"release:dry-run": "npm run release -- --dry-run"
},
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/package-empty_expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"lint:md": "markdownlint --ignore node_modules --ignore CHANGELOG.md \"**/*.md\"",
"lint": "npm-run-all --print-label --parallel lint:*",
"prettier:write": "prettier --write --ignore-path .gitignore \"**/*.{html,json,md,yaml,yml}\"",
"format": "npm-run-all --print-label --parallel lint:js:fix prettier:write",
"release": "standard-version --sign",
"release:dry-run": "npm run release -- --dry-run"
},
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/package-normal_expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"lint:md": "markdownlint --ignore node_modules --ignore CHANGELOG.md \"**/*.md\"",
"lint": "npm-run-all --print-label --parallel lint:*",
"prettier:write": "prettier --write --ignore-path .gitignore \"**/*.{html,json,md,yaml,yml}\"",
"format": "npm-run-all --print-label --parallel lint:js:fix prettier:write",
"release": "standard-version --sign",
"release:dry-run": "npm run release -- --dry-run"
},
Expand Down

0 comments on commit 293fbae

Please sign in to comment.