UNPKG

@ucloud-pccl/react-components

Version:
178 lines (177 loc) 6.36 kB
{ "name": "@ucloud-pccl/react-components", "version": "1.2.41", "title": "UCloud pccl react components", "description": "UCloud pccl react components", "keywords": [ "react", "react-component", "component", "components", "frontend", "ucloud" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/UCloud-FE/react-components.git" }, "bugs": { "url": "https://github.com/UCloud-FE/react-components/issues" }, "homepage": "https://ucloud-fe.github.io/react-components/", "scripts": { "start": "pm2 startOrReload start-pm2.json", "start:withlog": "pm2 startOrReload start-pm2.json && pm2 logs react-components-styleguide", "restart": "npm start", "styleguide": "styleguidist server", "cm": "git-cz", "precommit": "lint-staged", "commitmsg": "commitlint -E GIT_PARAMS", "build": "webpack", "build:analyzer": "NODE_ENV=production ANALYZER=true npm run build -- --config webpack.dist.config.js", "build:lib": "babel src/ --extensions '.js,.jsx,.ts,.tsx' -d lib/ --ignore '**/__demo__/*','**/__tests__/*' && node build-index.js", "build:dist": "NODE_ENV=production npm run build -- --config webpack.dist.config.js", "build:styleguide": "styleguidist build", "build:gh-pages": "./scripts/gh-pages.sh", "build:ts": "tsc && tsc-alias", "build:recodo": "recodo-gen build -p src/components -t .recodo/data/", "start:recodo-doc": "webpack serve --config .recodo/webpack.config.js", "build:recodo-doc": "NODE_ENV=production webpack --config .recodo/webpack.config.js", "test": "jest --testPathIgnorePatterns=image.test.js --testPathIgnorePatterns=lib.manual.test.js", "lint:es": "eslint . --ext .js,.jsx", "lint:style": "stylelint './src/style/*.js' && stylelint './src/components/**/*.(jsx|js)'", "deploy:gh-pages": "./scripts/gh-pages.sh -p", "publish:patch": "standard-version --release-as patch", "publish:minor": "standard-version --release-as minor", "publish:major": "standard-version --release-as major", "component:add": "./scripts/add_component.sh", "font:update": "npm install @ucloud/ucloud-icons --registry=http://registry.npm.pre.ucloudadmin.com --no-save && cp -f node_modules/@ucloud/ucloud-icons/dist/css/icon.min.css static/style/icon.css && cp -rf node_modules/@ucloud/ucloud-icons/dist/fonts/* static/fonts" }, "main": "lib/index.js", "files": [ "README.md", "index.d.ts", "dist/", "lib/" ], "dependencies": { "@emotion/core": "^10.0.35", "@emotion/styled": "^10.0.27", "@emotion/styled-base": "^10.3.0", "@z-r/calendar": "0.1.2", "classnames": "^2.2.5", "color": "^3.0.0", "component-classes": "^1.2.6", "create-react-context": "^0.2.3", "dom-align": "^1.12.0", "emotion": "^10.0.27", "emotion-theming": "^10.0.27", "file-bytes-formatter": "^1.0.4", "hoist-non-react-statics": "^3.3.2", "lodash": "^4.17.5", "mini-store": "^1.0.2", "moment": "^2.22.2", "prop-types": "^15.7.2", "rc-dialog": "7.2.1", "rc-form": "2.4.12", "rc-slider": "8.6.13", "rc-trigger": "2.5.3", "rc-util": "4.21.1", "react-lifecycles-compat": "^3.0.4", "react-transition-group": "^2.4.0", "resize-observer-polyfill": "^1.5.1", "shallowequal": "^1.0.2", "warning": "^3.0.0" }, "devDependencies": { "@babel/plugin-proposal-private-methods": "^7.18.6", "@babel/cli": "^7.11.6", "@babel/core": "^7.11.6", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-proposal-decorators": "^7.10.5", "@babel/plugin-transform-runtime": "^7.11.5", "@babel/polyfill": "^7.4.4", "@babel/preset-env": "^7.11.5", "@babel/preset-react": "^7.10.4", "@babel/preset-typescript": "^7.10.4", "@commitlint/cli": "^7.1.2", "@commitlint/config-conventional": "^7.1.2", "@rapiop/mod": "^1.1.2", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.0.0", "@types/classnames": "^2.2.11", "@types/hoist-non-react-statics": "^3.3.1", "@types/lodash": "^4.14.165", "@types/raf": "^3.4.0", "@types/react": "^16", "@types/react-dom": "^16", "@typescript-eslint/eslint-plugin": "^4.14.2", "@typescript-eslint/parser": "^4.14.2", "ast-types": "^0.14.2", "axios": "^0.21.1", "babel-eslint": "^10.1.0", "babel-jest": "^26.3.0", "babel-loader": "^8.1.0", "babel-plugin-emotion": "^10.0.33", "babel-plugin-lodash": "^3.3.2", "babel-plugin-typescript-to-proptypes": "^1.4.2", "babel-plugin-webpack-alias": "^2.1.2", "commitizen": "^2.10.1", "css-hot-loader": "^1.3.9", "css-loader": "^0.28.11", "cz-conventional-changelog": "^2.1.0", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1", "enzyme-to-json": "^3.3.4", "eslint": "^7.19.0", "eslint-plugin-react": "^7.22.0", "eslint-plugin-react-hooks": "^4.2.0", "file-loader": "^1.1.11", "fs-extra": "^9", "gitalk": "^1.7.0", "html-webpack-plugin": "^4", "husky": "^0.14.3", "jest": "^26.4.2", "jest-emotion": "^10.0.32", "jest-image-snapshot": "^4.2.0", "jsdom-screenshot": "^3.2.0", "lint-staged": "^7.0.5", "mini-css-extract-plugin": "^0.4.0", "moment-timezone": "^0.5.21", "optimize-css-assets-webpack-plugin": "^4.0.2", "prettier": "^2.0.5", "raw-loader": "^0.5.1", "react": "^16", "react-dom": "^16", "react-resizable": "^2.0.0", "react-styleguidist": "^11.1.5", "react-test-renderer": "^16", "recodo-compiler": "^0.1.1", "recodo-doc": "^0.1.6", "recodo-gen": "^0.0.5", "recodo-live": "^0.1.2", "standard-version": "^8.0.2", "style-loader": "^0.20.3", "stylelint": "^9.9.0", "stylelint-config-recommended": "^2.1.0", "stylelint-config-styled-components": "^0.1.1", "stylelint-processor-styled-components": "^1.10.0", "tsc-alias": "^1.2.10", "typescript": "^4.3.2", "uglifyjs-webpack-plugin": "^2.2.0", "url-loader": "^1.0.1", "webpack": "^4.44.1", "webpack-bundle-analyzer": "^3.8.0", "webpack-cli": "^4.7.2" }, "peerDependencies": { "react": "^16", "react-dom": "^16" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }