Skip to content

Commit

Permalink
Upgrade prettier and use built in check
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeSidSmith committed Mar 20, 2019
1 parent c8b0fa2 commit 8d72f82
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"scripts": {
"dist": "./scripts/dist",
"lint": "tsc --noEmit --project tsconfig.json && npm run prettier-check && tslint --project tsconfig.json '{src,tests,types,examples,docs}/**/*.@(ts|tsx)'",
"prettier-check": "./scripts/prettier-check",
"prettier": "prettier --write \"{src,tests,types,examples,docs}/**/*.{ts,tsx,js,jsx}\"",
"prettier-check": "prettier --check '{src,tests,types,examples,docs}/**/*.{ts,tsx,js,jsx}'",
"prettier": "prettier --write '{src,tests,types,examples,docs}/**/*.{ts,tsx,js,jsx}'",
"tests": "jest",
"test": "npm run lint && npm run tests -- --runInBand --coverage",
"prepublishOnly": "npm test && npm run dist"
Expand Down Expand Up @@ -46,7 +46,7 @@
"devDependencies": {
"@types/jest": "^23.3.1",
"jest": "^23.5.0",
"prettier": "^1.14.2",
"prettier": "^1.16.4",
"request": "^2.88.0",
"ts-jest": "^23.1.4",
"tslint": "^5.11.0",
Expand Down
12 changes: 0 additions & 12 deletions scripts/prettier-check

This file was deleted.

0 comments on commit 8d72f82

Please sign in to comment.