@alicloud/console-components
Version:
Alibaba Cloud React Components
162 lines (161 loc) • 5.94 kB
JSON
{
"name": "@alicloud/console-components",
"version": "2.4.2",
"description": "Alibaba Cloud React Components",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "types/index.d.ts",
"author": "fringey <465964690@qq.com>",
"files": [
"build",
"dist",
"esm",
"lib",
"src/rc/**/demos/*.tsx",
"types",
"CHANGELOG.md"
],
"devDependencies": {
"@alicloud/console-components-actions": "^2.0.2",
"@alicloud/console-components-slide-panel": "^3.0.8",
"@alicloud/console-toolkit-preset-component": "^1.2.63",
"@alicloud/ts-config": "^1.1.3",
"@alicloud/xpkg": "^0.1.9",
"@changesets/cli": "^2.27.12",
"@chromatic-com/storybook": "^1.9.0",
"@cypress/code-coverage": "^3.13.6",
"@mdx-js/mdx": "^1.6.22",
"@storybook/addon-essentials": "^8.3.5",
"@storybook/addon-interactions": "^8.3.5",
"@storybook/addon-links": "^8.3.5",
"@storybook/addon-onboarding": "^8.3.5",
"@storybook/blocks": "^8.3.5",
"@storybook/react": "^8.3.5",
"@storybook/react-vite": "^8.3.5",
"@storybook/test": "^8.3.5",
"@testing-library/react": "^16.3.0",
"@types/classnames": "^2.3.1",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest-environment-puppeteer": "^5.0.6",
"@types/jest-image-snapshot": "^6.4.0",
"@types/pngjs": "^6.0.5",
"@types/react": "^17.0.48",
"@types/react-dom": "^17.0.17",
"chalk": "^5.2.0",
"concurrently": "^5.3.0",
"cpy-cli": "^3.1.1",
"css-loader": "^5.2.7",
"cssnano": "^4.1.10",
"cypress": "^13.14.2",
"cypress-real-events": "^1.13.0",
"dayjs": "^1.11.7",
"download": "^8.0.0",
"eslint": "^8.57.0",
"eslint-config-ali": "^15.1.0",
"eslint-plugin-storybook": "^0.9.0",
"fs-extra": "^9.0.1",
"glob": "^7.1.6",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-puppeteer": "^11.0.0",
"lodash": "^4.17.21",
"mocha-junit-reporter": "^2.2.1",
"moment": "^2.30.1",
"ncp": "^2.0.0",
"pixelmatch": "^7.1.0",
"postcss": "^8.4.21",
"postcss-cli": "^7.1.1",
"power-assert": "^1.6.1",
"prettier": "^2.8.7",
"promise-polyfill": "^8.3.0",
"prop-types": "^15.8.1",
"puppeteer-core": "^24.10.2",
"react": "^18.3.1",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.3.1",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^3.0.2",
"sass": "^1.60.0",
"sass-loader": "^10.5.2",
"serve": "^11.3.2",
"sharp": "^0.34.2",
"sinon": "^19.0.2",
"storybook": "^8.3.5",
"stream": "^0.0.3",
"style-loader": "^2.0.0",
"ts-loader": "^8.2.0",
"ts-node": "^10.9.2",
"typedoc": "^0.26.8",
"typescript": "^4.9.5",
"vite": "^5.4.8"
},
"dependencies": {
"@alicloud/react-hook-controllable": "^1.2.0",
"@alifd/next": "~1.27.30",
"classnames": "^2.3.2",
"cross-env": "^7.0.3",
"dayjs": "^1.11.7",
"hoist-non-react-statics": "^3.3.2",
"react-loading-skeleton": "^3.0.0",
"ts-node-dev": "^2.0.0"
},
"peerDependencies": {
"moment": "^2.29.4",
"prop-types": ">=15",
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"scripts": {
"dev": "storybook dev -p 6006",
"boot": "rm -rf node_modules && npm i",
"// 构建": "被 prepublishOnly 使用",
"build:esm": "tsc -p src --outDir build/esm --module es2015 --declaration false --declarationMap false --sourceMap false",
"build:cjs": "tsc -p src --outDir build/cjs --module commonjs --declaration false --declarationMap false --sourceMap false",
"build:types": "tsc -p src --outDir build/types --declaration --emitDeclarationOnly --declarationMap false",
"build:css": "node ./scripts/build-css.mjs",
"build:bundle": "breezr build --engine webpack",
"build:bundle:xconsole": "breezr build --engine webpack --config ./breezr.config.xconsole.js",
"build:all": "npm run check-fusion-version && concurrently --kill-others-on-fail --success all \"npm:build:esm\" \"npm:build:cjs\" \"npm:build:types\" \"npm:build:css\"",
"check-fusion-version": "node ./scripts/check-fusion-version.js",
"prepublishOnly": "npm run clean && npm run build:all && echo \"Prepare package successfully!\" && node ./scripts/prepare.js --trace-warnings --unhandled-rejections=strict",
"gene-def": "node ./scripts/gene-css-def.mjs",
"update-theme": "node ./scripts/update-theme.mjs && npm run gene-def",
"build-in-locale": "npm run prepublishOnly",
"// 单元测试": "npm run cy:open",
"cy:open": "cross-env NODE_ENV=test cypress open",
"test:coverage": "nyc cypress run --component",
"test:cypress": "npx cypress run --component",
"clean": "rm -rf build dist esm lib types",
"prepare": "husky",
"build:doc": "xpkg build:doc",
"bump-ver:alpha": "changeset pre exit ; changeset pre enter alpha && changeset add && changeset version",
"bump-ver:beta": "npm run update-theme && (changeset pre exit ; changeset pre enter beta) && changeset add && changeset version",
"bump-ver": "changeset pre exit ; changeset add && changeset version",
"changeset": "changeset",
"test:visual": "jest --config ./jest.config.js --no-cache",
"test:visual:images": "NODE_ENV=test jest --config ./jest.images.js --no-cache --maxWorkers=4",
"test:visual:diff": "node tests/scripts/visual-diff.mjs",
"test:visual:with-server": "node tests/scripts/start-test-server.js jest --config ./jest.images.js --no-cache --maxWorkers=4"
},
"sideEffects": [
"dist/*",
"esm/index.js",
"lib/index.js",
"*.scss",
"*.css"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": "git@gitlab.alibaba-inc.com:xconsole/console-components.git",
"eslintConfig": {
"extends": [
"plugin:storybook/recommended",
"plugin:storybook/recommended"
]
},
"overrides": {
"jsdom": "^26.1.0"
}
}