UNPKG

@glodon-aiot/react-components

Version:

aiot react components

152 lines (151 loc) 4.89 kB
{ "name": "@glodon-aiot/react-components", "version": "3.20.1", "author": "glodoncv", "description": "aiot react components", "type": "module", "sideEffects": [ "*.css", "*.less", "./dist/style.css", "./dist/es/index.mjs" ], "keywords": [ "aiot", "components", "react components" ], "files": [ "dist" ], "module": "./dist/es/index.mjs", "main": "./dist/lib/index.js", "typings": "./dist/src/index.d.ts", "exports": { ".": { "import": "./dist/es/index.mjs", "require": "./dist/lib/index.js", "types": "./dist/src/index.d.ts" }, "./style.css": "./dist/style.css" }, "license": "MIT", "scripts": { "dev": "vite", "start": "vite", "build": "tsc && vite build --mode prod && yarn build:cdn", "build:cdn": "tsc && vite build --mode prod --config ./vite.config.cdn.ts", "watch": "tsc && vite build --watch", "preview": "vite preview", "check": "yarn prettier --check .", "write": "yarn prettier --write .", "lint": "eslint --ext .tsx,.ts --fix ./example -c .eslintrc.js", "storybook": "NODE_PATH=./node_modules storybook dev -p 6006", "build-storybook": "NODE_PATH=./node_modules storybook build", "docs": "NODE_PATH=./node_modules storybook dev -p 6006", "vpublish:major": "sh ./publish.sh major", "vpublish:minor": "sh ./publish.sh minor", "vpublish:patch": "sh ./publish.sh patch", "vpublish:premajor": "sh ./publish.sh premajor", "vpublish:preminor": "sh ./publish.sh preminor", "vpublish:prepatch": "sh ./publish.sh prepatch", "vpublish:prerelease": "sh ./publish.sh prerelease", "publish:snapshot": "sh ./publish-snapshot.sh snapshot", "publish:beta": "sh ./publish-snapshot.sh beta", "cy-open": "yarn run cypress open", "cy-run": "cypress run --component", "test": "yarn cy-run" }, "dependencies": { "@ant-design/icons": "^5.0.1", "@cypress/react": "^5.12.0", "@cypress/webpack-dev-server": "^3.2.0", "@matejmazur/react-mathjax": "^0.1.10", "@react-pdf-viewer/core": "^3.7.0", "@react-pdf-viewer/default-layout": "^3.7.0", "@react-pdf-viewer/locales": "^1.0.0", "@xstate/immer": "^0.3.2", "@xstate/react": "^3.2.1", "@zip.js/zip.js": "^2.8.11", "ahooks": "^3.7.8", "antd": "^5.25.3", "antd-mobile": "^5.39.0", "autoprefixer": "^10.4.14", "cypress": "^12.5.1", "deep-object-diff": "^1.1.9", "docx-preview": "^0.3.7", "immer": "^9.0.21", "katex": "^0.16.22", "lodash": "^4.17.21", "moment": "^2.29.4", "react": "^17.0.2", "react-device-detect": "^2.2.3", "react-dom": "^17.0.2", "react-draggable": "^4.4.5", "react-markdown": "^9.0.1", "react-moveable": "^0.56.0", "react-syntax-highlighter": "^15.6.1", "rehype-external-links": "^3.0.0", "rehype-katex": "^7.0.1", "rehype-mathjax": "^7.1.0", "rehype-raw": "^7.0.0", "remark-gfm": "^4.0.0", "remark-math": "^6.0.0", "tailwindcss": "^3.3.1", "use-immer": "^0.9.0", "vite-plugin-externalize-deps": "^0.9.0", "xstate": "^4.37.1" }, "devDependencies": { "@babel/core": "^7.20.12", "@commitlint/cli": "^17.0.3", "@commitlint/config-conventional": "^17.0.3", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-typescript": "^11.0.0", "@storybook/addon-actions": "^7.6.19", "@storybook/addon-essentials": "^7.6.19", "@storybook/addon-interactions": "^7.6.19", "@storybook/addon-links": "^7.6.19", "@storybook/react": "^7.6.19", "@storybook/react-vite": "^7.6.19", "@storybook/testing-library": "^0.2.2", "@types/lodash": "^4", "@types/react": "^17.0.44", "@types/react-dom": "^17.0.17", "@types/react-syntax-highlighter": "^15", "@typescript-eslint/eslint-plugin": "^5.35.1", "@typescript-eslint/parser": "^5.35.1", "@vitejs/plugin-react": "^3.1.0", "babel-loader": "^8.3.0", "cypress-vite": "^1.6.0", "eslint": "^8.0.1", "eslint-config-prettier": "^8.5.0", "eslint-config-standard-with-typescript": "^22.0.0", "eslint-plugin-import": "^2.25.2", "eslint-plugin-n": "^15.0.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-react": "^7.31.0", "eslint-plugin-storybook": "^0.6.10", "less": "^4.1.2", "prettier": "2.7.1", "require-from-string": "^2.0.2", "rollup-plugin-less-modules": "^0.1.11", "rollup-plugin-visualizer": "^6.0.1", "storybook": "7.6.19", "typescript": "*", "vite": "^4.1.1", "vite-plugin-css-injected-by-js": "^3.5.2", "vite-plugin-dts": "^4.3.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "lint-staged": { "*.{js,css,md,jsx,less,ts,tsx,json}": "prettier --write" }, "resolutions": { "@types/react": "17.0.0", "@types/react-dom": "17.0.9" } }