transform-to-tailwindcss-core
Version:
🎨 A powerful, lightweight core library to transform CSS styles or style objects into Tailwind CSS utility classes. Perfect for migration projects and dynamic style generation.
102 lines (101 loc) • 2.56 kB
JSON
{
"name": "transform-to-tailwindcss-core",
"type": "module",
"version": "0.0.41",
"packageManager": "pnpm@10.10.0",
"description": "🎨 A powerful, lightweight core library to transform CSS styles or style objects into Tailwind CSS utility classes. Perfect for migration projects and dynamic style generation.",
"author": {
"name": "Simon He",
"email": "hejian123@qq.com",
"url": "https://github.com/Simon-He95"
},
"license": "MIT",
"funding": "https://github.com/sponsors/Simon-He95",
"homepage": "https://github.com/Simon-He95/transform-to-tailwindcss-core#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Simon-He95/transform-to-tailwindcss-core.git"
},
"bugs": "https://github.com/Simon-He95/transform-to-tailwindcss-core/issues",
"keywords": [
"tailwindcss",
"css",
"transform",
"utility",
"converter",
"style",
"migration",
"core",
"library",
"typescript",
"browser",
"nodejs",
"css-to-tailwind",
"utility-classes",
"frontend",
"web-development",
"css-parser",
"responsive-design",
"zero-dependencies"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"bin": {
"transform-to-tailwind": "./cli.mjs"
},
"files": [
"CONTRIBUTING.md",
"LICENSE",
"README.md",
"cli.mjs",
"dist"
],
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"build": "tsdown ./src/index.ts",
"dev": "npm run build -- --watch src",
"format": "prettier --write --cache .",
"lint": "eslint . --cache",
"lint:fix": "pnpm run lint --fix",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
"start": "esno src/index.ts",
"test": "vitest",
"test:coverage": "vitest --coverage",
"typecheck": "tsc --noEmit",
"ci": "pnpm run lint && pnpm run typecheck && pnpm run test",
"clean": "rimraf dist"
},
"devDependencies": {
"@antfu/eslint-config": "^4.13.0",
"@types/node": "^18.19.98",
"bumpp": "^8.2.1",
"eslint": "^9.26.0",
"esno": "^0.16.3",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"tsdown": "^0.10.2",
"tsx": "^3.14.0",
"typescript": "^4.9.5",
"vitest": "^3.1.3"
}
}