diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-05 21:16:45 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-05 21:37:58 +0100 |
| commit | 3098c31049e17dfdcdf451e843f6c4bdcf5b2fa1 (patch) | |
| tree | b3590c527d147db6ef5519d43e8a1976f9674f42 /package.json | |
| parent | 97147d56d93c7949fdccf22abe569b1b9d7a22ab (diff) | |
Moves to root folder
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 17 |
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" + ] } } |
