UNPKG

astro-tw-autoreference

Version:

Automaticaly inject tailwind `@reference` directives into Astro component style blocks.

86 lines (85 loc) 2.62 kB
{ "name": "astro-tw-autoreference", "private": false, "version": "0.0.3", "description": "Automaticaly inject tailwind `@reference` directives into Astro component style blocks.", "keywords": [ "astro", "astrojs", "astro-component", "tailwind", "tailwindcss", "autoinject", "css", "plugin", "tooling" ], "homepage": "https://github.com/bitgumbo/astro-tw-autoreference", "repository": { "type": "git", "url": "https://github.com/bitgumbo/astro-tw-autoreference.git" }, "author": "BitGumbo <bitgumbo@gmail.com", "license": "MIT", "type": "module", "module": "./dist/index.js", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "files": [ "dist" ], "scripts": { "clean": "rimraf ./dist", "biome": "npx biome check", "biome:fix": "npm run biome -- --fix", "typecheck": "npx tsc -p ./src/tsconfig.json --declaration --noEmit --incremental false", "check": "npx concurrently npm:typecheck npm:biome", "attw": "npm run build && npx attw", "vitest": "npx vitest -c vitest.config.ts", "test": "npm run vitest -- --run", "test:cov": "npm run test -- --coverage", "test:html": "npm run test:cov && open ./coverage/lcov-report/index.html", "validate": "npm run check && npm run test:cov && npm run attw", "tsc": "tsc -p ./src/tsconfig.json", "build": "npm run clean && npm run tsc", "build:docs": "npx typedoc", "watch:ts": "npm run tsc -- --watch --sourceMap true --incremental true", "watch:tests": "npm run vitest -- --watch", "watch:yalc": "scripts/sandbox-dev.sh", "dev": "npm run clean && npm run build && npx concurrently 'npm:watch:*'", "init": "lefthook install && scripts/sandbox-setup.sh" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@biomejs/biome": "2.1.4", "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@release-it/conventional-changelog": "^10.0.1", "@types/node": "^24.2.1", "@vitest/coverage-v8": "^3.2.4", "astro": "^5.13.0", "browser-sync": "^3.0.4", "chokidar-cli": "^3.0.0", "concurrently": "^9.2.0", "lefthook": "^1.12.2", "prettier": "^3.6.2", "release-it": "^19.0.4", "rimraf": "^6.0.1", "tailwindcss": "^4.1.12", "typedoc": "^0.28.9", "typescript": "^5.9.2", "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.2.4", "yalc": "^1.0.0-pre.53" }, "peerDependencies": { "astro": "^5.13.0", "tailwindcss": "^4.0.0" } }