chore: add prettier setup

This commit is contained in:
visargD
2024-03-29 14:23:34 +05:30
parent 82440c2cf3
commit 8cbab5802f
3 changed files with 18 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
node_modules
package-lock.json
build
.wrangler
public
wrangler.toml
+10
View File
@@ -0,0 +1,10 @@
{
"semi": true,
"tabWidth": 2,
"printWidth": 80,
"endOfLine": "lf",
"singleQuote": true,
"arrowParens": "always",
"bracketSpacing": true,
"trailingComma": "es5"
}
+2 -1
View File
@@ -30,7 +30,8 @@
"pretty": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\"",
"build": "rollup -c",
"prepublishOnly": "npm run build",
"start:node": "node build/start-server.js"
"start:node": "node build/start-server.js",
"format": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\""
},
"dependencies": {
"@aws-crypto/sha256-js": "^5.2.0",