Skip to content

Commit 9da68dc

Browse files
committed
chore: format package.json and tsconfig.json for consistency and readability
1 parent 5e9e48c commit 9da68dc

2 files changed

Lines changed: 49 additions & 71 deletions

File tree

package.json

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
{
2-
"name": "webdev-bot",
3-
"version": "1.0.0",
4-
"description": "Web Dev & Web Design discord bot",
5-
"type": "module",
6-
"scripts": {
7-
"build:ci": "tsup && node scripts/copy-assets.js",
8-
"build:dev": "pnpm run build:ts && pnpm run build:copy",
9-
"build:ts": "tsup",
10-
"build:copy": "node scripts/copy-assets.js",
11-
"start": "node dist/index.js",
12-
"dev": "tsx watch src/index.ts",
13-
"deploy": "tsx src/util/deploy.ts",
14-
"lint": "biome lint .",
15-
"lint:fix": "biome lint --fix .",
16-
"format": "biome format --write .",
17-
"check": "biome check .",
18-
"check:fix": "biome check --write .",
19-
"test": "node --test",
20-
"prepare": "husky",
2+
"name": "webdev-bot",
3+
"version": "1.0.0",
4+
"description": "Web Dev & Web Design discord bot",
5+
"type": "module",
6+
"scripts": {
7+
"build:ci": "tsup && node scripts/copy-assets.js",
8+
"build:dev": "pnpm run build:ts && pnpm run build:copy",
9+
"build:ts": "tsup",
10+
"build:copy": "node scripts/copy-assets.js",
11+
"start": "node dist/index.js",
12+
"dev": "tsx watch src/index.ts",
13+
"deploy": "tsx src/util/deploy.ts",
14+
"lint": "biome lint .",
15+
"lint:fix": "biome lint --fix .",
16+
"format": "biome format --write .",
17+
"check": "biome check .",
18+
"check:fix": "biome check --write .",
19+
"test": "node --test",
20+
"prepare": "husky",
2121
"pre-commit": "lint-staged"
22-
},
23-
"keywords": [],
24-
"author": "",
25-
"license": "MIT",
26-
"packageManager": "pnpm@10.17.1",
27-
"dependencies": {
28-
"@discordjs/core": "^2.2.2",
29-
"discord.js": "^14.22.1"
30-
},
31-
"devDependencies": {
32-
"@biomejs/biome": "2.2.4",
33-
"@types/node": "^24.5.2",
34-
"husky": "^9.1.7",
22+
},
23+
"keywords": [],
24+
"author": "",
25+
"license": "MIT",
26+
"packageManager": "pnpm@10.17.1",
27+
"dependencies": {
28+
"@discordjs/core": "^2.2.2",
29+
"discord.js": "^14.22.1"
30+
},
31+
"devDependencies": {
32+
"@biomejs/biome": "2.2.4",
33+
"@types/node": "^24.5.2",
34+
"husky": "^9.1.7",
3535
"lint-staged": "^16.2.1",
36-
"tsup": "^8.5.0",
37-
"tsx": "^4.20.6",
38-
"typescript": "^5.9.2",
39-
"zod": "^4.1.11"
40-
},
41-
"lint-staged": {
36+
"tsup": "^8.5.0",
37+
"tsx": "^4.20.6",
38+
"typescript": "^5.9.2",
39+
"zod": "^4.1.11"
40+
},
41+
"lint-staged": {
4242
"*.{ts,js}": [
4343
"biome format --write",
4444
"biome lint --fix"

tsconfig.json

Lines changed: 11 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,13 @@
1-
// {
2-
// "compilerOptions": {
3-
// "target": "ES2022",
4-
// "lib": ["ES2022"],
5-
// "module": "ESNext",
6-
// "moduleResolution": "node",
7-
// "allowSyntheticDefaultImports": true,
8-
// "esModuleInterop": true,
9-
// "strict": true,
10-
// "skipLibCheck": true,
11-
// "forceConsistentCasingInFileNames": true,
12-
// "resolveJsonModule": true,
13-
// "declaration": false,
14-
// "outDir": "dist",
15-
// // "rootDir": "./",
16-
// "noEmit": true,
17-
// "erasableSyntaxOnly": true
18-
// },
19-
// "include": ["*.ts", "src/**/*"],
20-
// "exclude": ["node_modules", "dist"]
21-
// }
22-
231
{
24-
"compilerOptions": {
25-
"declaration": false,
26-
"declarationMap": false,
27-
"module": "nodenext",
28-
"moduleResolution": "nodenext",
29-
"target": "esnext",
30-
"outDir": "dist",
31-
"skipLibCheck": true,
32-
"strict": true
33-
},
34-
"include": ["src/**/*"]
2+
"compilerOptions": {
3+
"declaration": false,
4+
"declarationMap": false,
5+
"module": "nodenext",
6+
"moduleResolution": "nodenext",
7+
"target": "esnext",
8+
"outDir": "dist",
9+
"skipLibCheck": true,
10+
"strict": true
11+
},
12+
"include": ["src/**/*"]
3513
}

0 commit comments

Comments
 (0)