UNPKG

astro-themes

Version:
111 lines (110 loc) 3.17 kB
{ "name": "astro-themes", "version": "0.2.7", "description": "Easy dark mode for Astro websites", "type": "module", "exports": { ".": "./index.ts" }, "files": [ "index.ts", "build/Themes.astro" ], "scripts": { "clean": "rm -rf build", "build": "node build.js", "build:watch": "chokidar \"*.ts\" Themes.astro.template -c \"npm run build\"", "example": "npm-run-all --parallel build:watch example:dev", "example:dev": "astro dev --root example", "example:build": "astro build --root example", "example:start": "astro preview --root example", "test": "playwright test", "test:install": "playwright install --with-deps", "test:server": "npm-run-all --sequential build example:build example:start", "check": "npm-run-all --parallel check:*", "check:code": "astro check", "check:format": "prettier --check --cache .", "check:styles": "stylelint --formatter verbose --cache --cache-location .cache --ignore-path .gitignore \"**/*.astro\"", "fix": "npm-run-all --sequential fix:styles fix:format", "fix:format": "prettier --write --cache .", "fix:styles": "stylelint --formatter verbose --cache --cache-location .cache --ignore-path .gitignore \"**/*.astro\"", "cz": "cz", "prepare": "is-ci || husky install" }, "repository": { "type": "git", "url": "git+https://github.com/alex-grover/astro-themes.git" }, "keywords": [ "astro", "astro-component", "css", "dark-mode", "theme", "ui" ], "author": "Alex Grover <hello@alexgrover.me> (https://alexgrover.me)", "license": "MIT", "bugs": { "url": "https://github.com/alex-grover/astro-themes/issues" }, "homepage": "https://github.com/alex-grover/astro-themes#readme", "peerDependencies": { "astro": "*" }, "devDependencies": { "@astrojs/check": "^0.9.4", "@commitlint/cli": "^17.6.1", "@commitlint/config-conventional": "^17.0.3", "@playwright/test": "^1.50.1", "astro": "^4.16.6", "chokidar-cli": "^3.0.0", "cz-conventional-changelog": "^3.3.0", "esbuild": "^0.25.0", "husky": "^7.0.0", "is-ci": "^3.0.1", "lint-staged": "^13.0.3", "npm-run-all": "^4.1.5", "postcss-html": "^1.5.0", "prettier": "^3.6.2", "prettier-plugin-astro": "^0.14.1", "stylelint": "^15.6.0", "stylelint-config-astro": "^1.0.4", "stylelint-config-prettier": "^9.0.3", "stylelint-config-recess-order": "^4.0.0", "stylelint-config-standard": "^33.0.0", "typescript": "<5.5.0" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "prettier": { "plugins": [ "prettier-plugin-astro" ], "semi": false, "singleQuote": true }, "stylelint": { "extends": [ "stylelint-config-standard", "stylelint-config-recess-order", "stylelint-config-prettier", "stylelint-config-astro" ] }, "lint-staged": { "*.astro": [ "stylelint --fix", "prettier --write" ], "!*.astro": "prettier --write --ignore-unknown" } }