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 Jan 4, 2023
1 parent b35ec9b commit b8fed60
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib/
23 changes: 23 additions & 0 deletions package-lock.json

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

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,17 @@
"@rollup/plugin-replace": "^4.0.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"prettier": "^2.8.1",
"rollup": "^2.77.2",
"rollup-plugin-terser": "^7.0.2"
},
"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": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --watch"
}
}

0 comments on commit b8fed60

Please sign in to comment.