summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json17
1 files changed, 14 insertions, 3 deletions
diff --git a/package.json b/package.json
index a7a1868..8cf3866 100644
--- a/package.json
+++ b/package.json
@@ -1,12 +1,20 @@
{
+ "type": "module",
+ "private": "true",
"scripts": {
- "set": "npm i && cd frontend && npm i",
- "set--ci": "npm ci && cd frontend && npm ci",
+ "dev": "astro dev",
+ "start": "astro dev",
+ "build": "astro build",
+ "preview": "astro preview",
+ "astro": "astro",
"lint": "eslint .",
"format": "prettier ./**/* --check",
"format--write": "prettier ./**/* --write",
"prepare": "husky install"
},
+ "dependencies": {
+ "astro": "^2.9.7"
+ },
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
@@ -18,6 +26,9 @@
"prettier-plugin-astro": "^0.11.0"
},
"lint-staged": {
- "frontend/**/*.{ts,cts,mts,astro,json,md,js,cjs,mjs,html,css}": ["eslint", "prettier"]
+ "**/*.{ts,cts,mts,astro,json,md,js,cjs,mjs,html,css}": [
+ "eslint",
+ "prettier"
+ ]
}
}