Skip to content

Commit

Permalink
chore: install and configure prettier
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Kuppens Groot <[email protected]>
  • Loading branch information
tkgroot committed Feb 10, 2022
1 parent 55a3a47 commit 131b3f7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib/
6 changes: 6 additions & 0 deletions package-lock.json

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

9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,21 @@
"canvas"
],
"devDependencies": {
"jest": "^25.2.3",
"rollup": "^1.0.0",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-replace": "^2.3.3",
"jest": "^25.2.3",
"prettier": "^2.5.1",
"rollup": "^1.0.0",
"rollup-plugin-notify": "^1.1.0",
"rollup-plugin-uglify": "^6.0.4"
},
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"format": "npm run format:prettier",
"format:prettier": "prettier . --write",
"lint": "npm run lint:prettier",
"lint:prettier": "prettier . --check",
"test": "jest --watch"
}
}

0 comments on commit 131b3f7

Please sign in to comment.