UNPKG

vite-plugin-sass-dts

Version:

A plugin that automatically creates a type file when using the css module type-safely.

86 lines (85 loc) 2.2 kB
{ "name": "vite-plugin-sass-dts", "version": "1.3.31", "engines": { "node": ">=20" }, "description": "A plugin that automatically creates a type file when using the css module type-safely.", "type": "module", "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.cjs", "import": "./dist/index.js" } }, "scripts": { "tsup": "tsup src/index.ts --format esm,cjs --dts --clean --shims", "build": "turbo run tsup", "watch": "turbo run tsup -- --watch", "local:publish": "turbo run tsup && npm link", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "lint:fix": "eslint . --fix --ext .js,.jsx,.ts,.tsx", "prepare": "husky install", "prettier": "prettier src --write" }, "repository": { "type": "git", "url": "git+https://github.com/activeguild/vite-plugin-sass-dts.git" }, "keywords": [ "vite", "vite-plugin", "css", "scss", "classnames", "clsx", "typescript", "generics", "cssmodules" ], "author": "j1ngzoue", "license": "MIT", "bugs": { "url": "https://github.com/activeguild/vite-plugin-sass-dts/issues" }, "homepage": "https://github.com/activeguild/vite-plugin-sass-dts#readme", "dependencies": { "postcss-js": "^4.0.1" }, "devDependencies": { "@types/node": "^20.12.7", "@types/prettier": "^2.7.3", "@types/sass": "1.43.1", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "husky": "^9.0.11", "lint-staged": "^15.2.2", "npm-check-updates": "^16.14.20", "postcss": "^8.4.38", "postcss-js": "^4.0.1", "prettier": "^3.2.5", "sass-embedded": "^1.78.0", "tsup": "^8.0.2", "turbo": "^1.13.3", "typescript": "^5.4.5", "vite": "^5.4.5" }, "peerDependencies": { "postcss": "^8", "prettier": "^2.7 || ^3", "vite": ">=3", "sass-embedded": "^1.78.0" }, "lint-staged": { "*.{js,ts,jsx,tsx}": [ "eslint . --fix", "prettier . --write" ] } }