diff options
| author | Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com> | 2023-10-20 13:45:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-20 13:45:52 +0100 |
| commit | 58a6b29df62f95f68baa0fcc7c8b5b053d409ea6 (patch) | |
| tree | 46ffa547685292dc2907da64275f514ea25a68f4 /package.json | |
| parent | 958457be8626148a9559716caf032bb54c10bbdc (diff) | |
| parent | b2e3ed96b703f49af556d641eae57c1c4fcd8db0 (diff) | |
Merge pull request #20 from Sycamost/dev
Dev
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/package.json b/package.json index 03dfdcd..c482c23 100644 --- a/package.json +++ b/package.json @@ -2,11 +2,18 @@ "type": "module", "private": "true", "scripts": { - "dev": "astro dev", - "start": "astro dev", - "build": "astro build", + "start": "concurrently \"npm run astro dev\" \"npm run dev-css\"", + "dev": "concurrently \"npm run astro dev\" \"npm run dev-css\"", + "dev-css": "sass scss:scss-build && concurrently \"npm run dev-sass\" \"npm run dev-csso\"", + "dev-sass": "sass --watch scss:scss-build", + "dev-csso": "sh dev_csso.sh", + "build": "npm run build-css && astro build", + "build-css": "npm run build-sass && npm run build-csso", + "build-sass": "sass scss:scss-build --no-source-map --style compressed", + "build-csso": "sh build_csso.sh", "preview": "astro preview", "astro": "astro", + "csso": "csso", "lint": "eslint .", "format": "prettier ./**/* --check", "format--write": "prettier ./**/* --write", @@ -18,13 +25,16 @@ "@astrojs/sitemap": "^3.0.0", "@paypal/paypal-js": "^6.0.1", "astro": "^3.2.2", + "csso-cli": "^4.0.2", "dotenv": "^16.3.1", + "sass": "^1.69.3", "typescript": "^5.2.2", "vercel": "^32.4.0" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.2.1", "@typescript-eslint/parser": "^6.2.1", + "concurrently": "^8.2.1", "eslint": "^8.46.0", "eslint-plugin-astro": "^0.28.0", "husky": "^8.0.3", |
