UNPKG

react-antd-cssvars

Version:
116 lines (115 loc) 3.56 kB
{ "homepage": "https://tenjin0.github.io/react-antd-cssvars/", "repository": { "type": "git", "url": "https://github.com/Tenjin0/react-antd-cssvars" }, "name": "react-antd-cssvars", "version": "0.7.3", "description": "A minimal cssvars antd module", "keywords": [ "react", "antd", "ant design", "cssvars", "custom property", "custom variable", "less", "theme" ], "dir": "dist", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "source": "lib/index.js", "types": "dist/index.d.ts", "scripts": { "build:js": "rollup -c", "build:style": "rollup -c rollup.config.style.js", "build:cp": "cp -r lib/styles lib/style.less lib/customize dist", "build": "rimraf dist && npm run build:js && npm run build:cp", "build-watch": "rollup -c -w", "example:watch": "npx webpack serve --mode development", "example:build": "NODE_ENV=production npx webpack --mode production", "storybook": "start-storybook -p 6006", "storybook:export": "build-storybook", "lint": "eslint ./lib", "test": "jest --ci", "coveralls": "jest --coverage && cat ./tests/coverage/lcov.info | coveralls", "test:watch": "npx jest --watch", "preversion": "npm run ci", "postversion": "git push && git push --tags", "prepublishOnly": "npm run build", "docs": "rimraf docs && typedoc --out docs lib", "gh-pages": "npm run docs && npm run example:build && gh-pages -d docs", "ci": "npm run lint && npm run test && npm run build" }, "author": "", "license": "ISC", "files": [ "dist/*" ], "devDependencies": { "@jest/globals": "^26.6.2", "@rollup/plugin-commonjs": "~17.1.0", "@rollup/plugin-node-resolve": "~11.1.1", "@testing-library/jest-dom": "~5.11.9", "@testing-library/react": "~11.2.5", "@types/estree": "~0.0.46", "@types/jest": "~26.0.20", "@types/react": "^17.0.3", "@types/testing-library__jest-dom": "~5.9.5", "@types/testing-library__react": "~10.2.0", "@typescript-eslint/eslint-plugin": "~4.16.1", "antd": "^4.15.0", "canvas": "^2.7.0", "clean-webpack-plugin": "~3.0.0", "coveralls": "^3.1.0", "css-loader": "~3.6.0", "css-minimizer-webpack-plugin": "~1.2.0", "eslint": "~7.21.0", "eslint-config-airbnb-typescript": "~12.0.0", "eslint-config-prettier": "~7.2.0", "eslint-plugin-import": "~2.22.1", "eslint-plugin-jsx-a11y": "~6.4.1", "eslint-plugin-prettier": "~3.3.1", "eslint-plugin-promise": "~4.2.1", "eslint-plugin-react": "~7.22.0", "eslint-plugin-react-hooks": "~4.2.0", "gh-pages": "~3.1.0", "html-webpack-plugin": "~4.5.1", "identity-obj-proxy": "~3.0.0", "jest": "~26.6.3", "less": "~4.1.1", "less-loader": "~7.3.0", "lint-staged": "~10.5.4", "mini-css-extract-plugin": "~1.3.9", "postcss": "~8.2.4", "prettier": "~2.2.1", "react": "^17.0.2", "react-dom": "^17.0.2", "rollup": "~2.38.5", "rollup-plugin-delete": "~2.0.0", "rollup-plugin-peer-deps-external": "~2.2.4", "rollup-plugin-postcss": "~4.0.0", "rollup-plugin-typescript2": "~0.29.0", "style-loader": "~2.0.0", "ts-jest": "~26.5.0", "ts-loader": "~8.0.15", "typedoc": "~0.20.28", "typescript": "~4.1.3", "webpack": "~5.24.3", "webpack-cli": "~4.5.0", "webpack-dev-server": "~3.11.2" }, "peerDependencies": { "@types/react": ">=16.0.0", "antd": "^4.13.0", "react": ">=16.0.0", "react-dom": ">=16.0.0" }, "dependencies": { "@ctrl/tinycolor": "^3.4.0", "values.js": "^2.0.0", "react-color": "~2.19.3" } }