@prop-styles/react
Version:
Process CSS-related properties in Props so that they can generate the element style.
55 lines (54 loc) • 1.33 kB
JSON
{
"name": "@prop-styles/react",
"version": "1.0.3-beta",
"description": "Process CSS-related properties in Props so that they can generate the element style.",
"type": "module",
"main": "./dist/index.es.js",
"types": "./dist/types.d.ts",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js",
"types": "./dist/types.d.ts"
}
},
"files": [
"dist",
"package.json",
"README.md"
],
"scripts": {
"build": "vite build --emptyOutDir && npm run docs && node ../../node_modules/@zx-libs/header --dir=dist",
"docs": "node scripts/docs.mjs",
"pl": "npm run build && npm publish",
"eslint": "eslint . --fix --ext .js,.jsx,.cjs,.mjs,.ts,.tsx",
"test": "vitest"
},
"keywords": [
"libs",
"react",
"libs/react",
"usePropStyles",
"use-prop-styles",
"react-hook",
"front-end"
],
"workspaces": [],
"lint-staged": {
"*.{js,ts,cjs,mjs,ts,tsx}": "eslint --fix"
},
"dependencies": {
"react": "^18.2.0"
},
"devDependencies": {
"@types/react-dom": "^18.2.25",
"csstype": "^3.1.3"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"homepage": "https://github.com/capricorncd/prop-styles#readme",
"author": "Capricorncd<capricorncd@qq.com>",
"license": "MIT"
}