adui
Version:
<div> <img src="https://wxa.wxs.qq.com/mpweb/delivery/legacy/wxadtouch/upload/t1/od834zef_52939fc6.png" style="margin:40px 0 0 -8px; background-color: #fcfcfc; box-shadow: none;" /> </div>
223 lines (222 loc) • 7.98 kB
JSON
{
"name": "adui",
"author": "yijiejiang <yijiejiang@tencent.com>",
"version": "2.45.3",
"files": [
"lib",
"es",
"components",
"adui-icon-loader.js",
"adui-icon-plugin.js",
"adui-tailwind-config.js",
"adui-tailwind.css",
"adui-tailwind-build.css",
"rollup-plugin-adui.js",
"tailwind.config.js"
],
"keywords": [
"design",
"react",
"react-component",
"component",
"components",
"ui",
"framework",
"frontend"
],
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"typings": "lib/index.d.ts",
"dependencies": {
"classnames": "^2.3.1",
"cleave.js": "^1.6.0",
"day-picker-react": "^1.0.1",
"debounce": "^1.2.1",
"popmotion": "^9.4.2",
"prop-types": "^15.7.2",
"rc-animate": "^3.1.1",
"rc-motion": "^2.6.2",
"rc-select": "^14.8.0",
"rc-slider": "^9.7.5",
"rc-tree-select": "4.8.0",
"rc-trigger": "^5.2.16",
"rc-util": "^5.21.0",
"rc-virtual-list": "^3.4.6",
"react-window": "^1.8.6",
"resize-observer-polyfill": "^1.5.1",
"shallowequal": "^1.1.0"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"sideEffects": [
"es/index.js",
"lib/index.js",
"es/**/style/*",
"lib/**/style/*",
"components/**/*",
"*.scss"
],
"scripts": {
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"tailwind": "tailwindcss-cli build -i ./adui-tailwind.css -o ./adui-tailwind-build.css --no-autoprefixer && uglifycss ./adui-tailwind-build.css --output ./adui-tailwind-build.css",
"compile": "node scripts/generate-svg-icons.js && npm run tailwind && npm run compile:lib && npm run compile:es && node scripts/build",
"compile:lib": "rimraf lib && mkdir lib && mkdir lib/style && tsc --outDir lib --declaration --emitDeclarationOnly && NODE_ENV=production COMPILE_TYPE=lib webpack -p --config webpack.config.js && cp components/style/base.css lib/style/base.css && babel components --out-dir lib --extensions \".ts,.tsx\" --source-maps inline --ignore 'components/**/style/*'",
"compile:es": "rimraf es && mkdir es && mkdir es/style && tsc --outDir es --declaration --emitDeclarationOnly && NODE_ENV=production COMPILE_TYPE=es webpack -p --config webpack.config.js && cp components/style/base.css es/style/base.css && babel components --no-babelrc --config-file ./babel.config.json --out-dir es --extensions \".ts,.tsx\" --source-maps inline --ignore 'components/**/style/*'",
"commitmsg": "commitlint -e $GIT_PARAMS",
"lint-staged": "lint-staged",
"eslint": "eslint $(git diff-index --cached HEAD --name-only --diff-filter ACMR | egrep '.js$')",
"start": "node scripts/generate-svg-icons.js && rimraf _site && mkdir _site && NODE_ENV=development bisheng start -c ./site/bisheng.config.js",
"site": "node scripts/generate-svg-icons.js && rimraf _site && cross-env NODE_ENV=production bisheng build -c ./site/bisheng.config.js",
"test": "jest --coverage",
"release": "standard-version",
"release-minor": "npm run release -- --release-as minor",
"prepublishOnly": "npm run compile",
"prettier": "prettier -c --write components",
"component-log": "node scripts/component-log.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"components/**/*.{js,jsx,ts,tsx}": "eslint",
"components/**/*.{scss,css}": "stylelint"
},
"eslintConfig": {
"extends": "react-app"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-numeric-separator": "^7.12.7",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@babel/runtime": "^7.12.5",
"@babel/standalone": "^7.12.12",
"@commitlint/config-conventional": "^11.0.0",
"@types/classnames": "^2.2.11",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.21",
"@types/prop-types": "^15.7.3",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
"adui-design-token": "^1.0.9",
"adui-icon": "^1.8.31",
"async": "^3.2.0",
"autoprefixer": "^9.8.6",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"babel-plugin-add-react-displayname": "0.0.5",
"babel-plugin-import": "^1.13.3",
"babel-preset-react-app": "^10.0.0",
"babel-preset-stage-0": "^6.24.1",
"babel-runtime": "6.26.0",
"bisheng": "^3.0.0",
"capitalize": "^2.0.3",
"case-sensitive-paths-webpack-plugin": "2.3.0",
"chalk": "4.1.0",
"chroma-js": "^2.1.0",
"commitlint": "^11.0.0",
"create-react-class": "^15.7.0",
"create-react-context": "^0.3.0",
"cross-env": "^7.0.3",
"css-loader": "^5.0.1",
"css-split-webpack-plugin": "^0.2.6",
"cssnano": "^4.1.10",
"delegate": "^3.2.0",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.1",
"eslint": "^7.27.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-alloy": "^3.10.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-flowtype": "5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-markdown": "^1.0.2",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.22.0",
"file-loader": "6.2.0",
"fs-extra": "9.0.1",
"html-webpack-plugin": "4.5.1",
"husky": "^4.3.8",
"identity-obj-proxy": "^3.0.0",
"intersection-observer": "^0.12.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"lodash": "^4.17.21",
"lz-string": "^1.4.4",
"mini-css-extract-plugin": "^1.3.4",
"mutationobserver-shim": "^0.3.7",
"offline-plugin": "^5.0.7",
"postcss-flexbugs-fixes": "5.0.2",
"postcss-import": "^14.0.0",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.3.0",
"promise": "8.1.0",
"raf": "3.4.1",
"raw-loader": "^4.0.2",
"react": "^17.0.2",
"react-app-rewired": "^2.1.8",
"react-dev-utils": "^11.0.1",
"react-docgen": "^5.3.1",
"react-document-title": "^2.0.3",
"react-dom": "^17.0.2",
"react-element-to-jsx-string": "^14.3.2",
"react-intl": "^5.10.16",
"react-syntax-highlighter": "^15.4.3",
"react-test-renderer": "^17.0.1",
"regenerator-runtime": "^0.13.7",
"resolve": "1.19.0",
"sass": "^1.51.0",
"scrollama": "^2.2.1",
"sinon": "^9.2.3",
"standard-version": "^9.3.2",
"style-loader": "^1.1.3",
"stylelint": "^13.12.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-order": "^4.1.0",
"stylelint-prettier": "^1.1.2",
"stylelint-scss": "^3.18.0",
"stylelint-webpack-plugin": "^2.1.1",
"svgo": "^1.3.2",
"sw-precache-webpack-plugin": "1.0.0",
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.2",
"ts-jest": "^26.4.4",
"ts-loader": "^8.1.0",
"typescript": "^4.9.4",
"uglifycss": "^0.0.29",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "4.1.1",
"webpack": "^4.42.0",
"webpack-bundle-analyzer": "^3.6.1",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "3.10.3",
"webpack-manifest-plugin": "2.2.0",
"webpackbar": "^4.0.0",
"whatwg-fetch": "3.5.0"
}
}