Skip to content

Commit c89994f

Browse files
authored
Install typescript and prettier (#3)
1 parent 4379b61 commit c89994f

4 files changed

Lines changed: 3605 additions & 59 deletions

File tree

package.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"test": "echo \"Error: no test specified\" && exit 1",
88
"dev": "astro dev",
99
"build": "astro build",
10-
"preview": "astro preview"
10+
"preview": "astro preview",
11+
"format": "prettier --write src"
1112
},
1213
"keywords": [],
1314
"author": "",
@@ -17,5 +18,28 @@
1718
"@tailwindcss/vite": "^4.1.18",
1819
"astro": "^5.16.8",
1920
"tailwindcss": "^4.1.18"
21+
},
22+
"devDependencies": {
23+
"prettier": "^3.7.4",
24+
"prettier-plugin-astro": "^0.14.1",
25+
"typescript": "^5.9.3"
26+
},
27+
"prettier": {
28+
"tabWidth": 2,
29+
"singleQuote": true,
30+
"printWidth": 110,
31+
"useTabs": false,
32+
"semi": false,
33+
"plugins": [
34+
"prettier-plugin-astro"
35+
],
36+
"overrides": [
37+
{
38+
"files": "*.astro",
39+
"options": {
40+
"parser": "astro"
41+
}
42+
}
43+
]
2044
}
2145
}

0 commit comments

Comments
 (0)