Skip to content

Commit

Permalink
chore: add prettier and format
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinanielsen committed Nov 28, 2023
1 parent 0ba17a1 commit 1ab72e4
Show file tree
Hide file tree
Showing 4 changed files with 3,034 additions and 1,255 deletions.
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"semi": true,
"trailingComma": "es5",
"singleQuote": false,
"printWidth": 100,
"tabWidth": 2,
"useTabs": true
}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
"test": "vitest run",
"lint": "tsc",
"ci": "pnpm run lint && pnpm run test && pnpm run build",
"prerelease": "pnpm run lint && pnpm run test && pnpm run build",
"release": "changeset publish"
"prerelease": "pnpm run lint && pnpm format && pnpm run test && pnpm run build",
"release": "changeset publish",
"format": "prettier --write ."
},
"homepage": "https://github.com/kevinanielsen/tfjs-image-node/",
"repository": {
Expand Down Expand Up @@ -45,6 +46,7 @@
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@types/node": "^20.10.0",
"prettier": "^3.1.0",
"ts-node": "^10.9.1",
"tsup": "^8.0.1",
"typescript": "^5.3.2",
Expand Down
Loading

0 comments on commit 1ab72e4

Please sign in to comment.