加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 8.91 KB
一键复制 编辑 原始数据 按行查看 历史
oasis-cloud 提交于 2024-02-23 19:43 . chore(release): v2.3.11
{
"name": "@nutui/nutui-react-taro",
"version": "2.3.11",
"style": "dist/style.css",
"main": "dist/nutui.react.umd.js",
"module": "dist/esm/nutui-react.es.js",
"typings": "dist/types/index.d.ts",
"sideEffects": [
"*.scss",
"dist/esm/**/style/*",
"dist/style.css",
"dist/styles/font/*",
"dist/styles/font-jmapp/*"
],
"description": "京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序",
"keywords": [
"nutui",
"nutui2",
"nutui3",
"react",
"nutui-react",
"webpack",
"react component",
"vite",
"jdc",
"jdcfe",
"taro"
],
"author": "jdcfe",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/jdf2e/nutui-react.git"
},
"files": [
"dist",
"README.md",
"package.json",
"LICENSE",
"CHANGELOG.md"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"add": "node scripts/create-component-mode.js && npm run prepare",
"generate:file": "node scripts/generate-nutui.js",
"generate:themes": "node scripts/generate-themes.js",
"generate:themes-dev": "node scripts/generate-themes-dev.js",
"checked": "npm run generate:file && tsc --project ./tsconfig.h5.json",
"changelog": "node ./scripts/generate-changelog.js",
"dev": "vite --open --force",
"dev:rtl": "VITE_RTL=rtl vite --open --force",
"dev:jmapp": "VITE_APP_PROJECT_ID=jmapp vite --open --force",
"dev:theme": "npm run generate:themes-dev && npm run checked && vite --force --config vite.config.theme.ts",
"replace:scss": "node scripts/replace-scss-alias.js",
"build:loader-style": "node scripts/generate-loader-style.js",
"build:component:css": "node scripts/build-component-css.js",
"build:css": "npm run generate:themes && vite build --config vite.config.build.css.ts && npm run build:replace ",
"build:replace": "npm run replace:scss",
"build:es": "vite build --config vite.config.build.disperse.ts",
"build:locales": "vite build --config vite.config.build.locales.ts",
"build": "npm run checked && node scripts/create-theme-typings.js && vite build --config vite.config.build.ts && npm run build:es && npm run build:css && npm run build:loader-style && npm run build:component:css && npm run build:locales && node scripts/add-comments-to-dts.js",
"build:site": "npm run checked && vite build --config vite.config.build.site.ts",
"build:site:jmapp": "npm run checked && VITE_APP_PROJECT_ID=jmapp vite build --config vite.config.build.site.ts",
"build:taro:site": "npm run checked:taro && npm run generate:file:taro:pages && pnpm --dir ./packages/nutui-taro-demo build:h5",
"build:taro:site:jmapp": "npm run checked:taro && VITE_APP_PROJECT_ID=jmapp npm run generate:file:taro:pages && pnpm --dir ./packages/nutui-taro-demo build:h5",
"build:theme:site": "npm run checked && vite build --config vite.config.theme.ts && npm run generate:themes-dev",
"lint": "eslint ./src/packages",
"lint:fix": "eslint --fix ./src/packages",
"publish:beta": "npm publish --tag beta",
"prepare": "husky && npm run generate:file && npm run generate:file:taro && npm run generate:file:taro:pages",
"test": "jest",
"generate:file:taro": "node scripts/taro/generate-nutui-taro.js",
"checked:taro": "npm run generate:file:taro && tsc --project ./tsconfig.taro.json",
"generate:file:taro:pages": "node scripts/taro/generate-taro-pages.js",
"dev:taro:weapp": "pnpm --dir ./packages/nutui-taro-demo dev:weapp",
"dev:taro:jd": "pnpm --dir ./packages/nutui-taro-demo dev:jd",
"dev:taro:h5": "pnpm --dir ./packages/nutui-taro-demo dev:h5",
"dev:taro:h5:jmapp": "pnpm --dir ./packages/nutui-taro-demo dev:h5:jmapp",
"dev:taro:alipay": "pnpm --dir ./packages/nutui-taro-demo dev:alipay",
"dev:taro:weapp:jmapp": "cd ./src/sites/mobile-taro && npm run dev:weapp:jmapp",
"build:taro": "npm run checked:taro && node scripts/create-theme-typings.js && vite build --config vite.config.build.taro.ts && npm run build:taro:es && npm run build:css && npm run build:loader-style && npm run build:component:css && npm run build:locales && TARO=1 node scripts/add-comments-to-dts.js",
"build:taro:es": "vite build --config vite.config.build.disperse.taro.ts",
"build:taro:jmapp": "npm run checked:taro && VITE_APP_PROJECT_ID=jmapp node scripts/create-theme-typings.js && vite build --config vite.config.build.taro.ts && npm run build:taro:es && VITE_APP_PROJECT_ID=jmapp npm run build:css && VITE_APP_PROJECT_ID=jmapp npm run build:loader-style && VITE_APP_PROJECT_ID=jmapp npm run build:component:css && npm run build:locales && TARO=1 node scripts/add-comments-to-dts.js",
"add:taro:config": "node scripts/taro/generate-taro-route.js",
"prepublishOnly": "node scripts/prepublish.js",
"postpublish": "node scripts/postpublish.js"
},
"lint-staged": {
"*.scss": "prettier --write",
"*.{ts,tsx,js,md}": "eslint"
},
"dependencies": {
"@babel/runtime": "^7.23.9",
"@nutui/icons-react": "^1.0.2",
"@nutui/icons-react-taro": "^1.0.2",
"@nutui/touch-emulator": "^1.0.0",
"@react-spring/web": "~9.6.1",
"@use-gesture/react": "10.2.20",
"async-validator": "^4.2.5",
"classnames": "^2.5.1",
"lodash.isequal": "^4.5.0",
"lodash.kebabcase": "^4.1.1",
"react-transition-group": "^4.4.5"
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"@loadable/component": "^5.16.3",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@tarojs/components": "3.6.22",
"@tarojs/plugin-platform-alipay": "3.6.22",
"@tarojs/plugin-platform-weapp": "3.6.22",
"@tarojs/react": "3.6.22",
"@tarojs/taro": "3.6.22",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.12",
"@types/loadable__component": "^5.13.8",
"@types/lodash.isequal": "^4.5.8",
"@types/lodash.kebabcase": "^4.1.9",
"@types/node": "^20.11.19",
"@types/postcss-import": "^14.0.3",
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19",
"@types/react-syntax-highlighter": "^15.5.11",
"@types/react-test-renderer": "^18.0.7",
"@types/react-transition-group": "^4.4.10",
"@types/testing-library__jest-dom": "^5.14.9",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.17",
"axios": "^1.6.7",
"babel-plugin-react-scoped-css": "^1.1.1",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^3.1.0",
"fs-extra": "^11.2.0",
"glob": "^10.3.10",
"husky": "^9.0.11",
"inquirer": "^9.2.15",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jscodeshift": "^0.15.1",
"lint-staged": "^15.2.2",
"lzutf8": "0.6.3",
"map-stream": "0.0.7",
"markdown-it": "^14.0.0",
"marked": "^12.0.0",
"mobx": "^6.12.0",
"mobx-react-lite": "^4.0.5",
"postcss": "^8.4.35",
"postcss-import": "^16.0.1",
"postcss-modules": "^6.0.0",
"postcss-rtlcss": "^5.1.0",
"postcss-scss": "^4.0.9",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-color": "^2.19.3",
"react-dom": "^18.2.0",
"react-markdown": "^9.0.1",
"react-refresh": "^0.14.0",
"react-router-dom": "^6.22.1",
"react-syntax-highlighter": "^15.5.0",
"react-test-renderer": "^18.2.0",
"reactcss": "^1.2.3",
"remark-directive": "^3.0.0",
"remark-gfm": "^4.0.0",
"rollup": "^4.12.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-dts": "^6.1.0",
"sass": "^1.71.1",
"shelljs": "^0.8.5",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"turndown": "^7.1.2",
"turndown-plugin-gfm": "^1.0.2",
"typescript": "^4.9.5",
"unist-util-visit": "^5.0.0",
"vinyl-fs": "^4.0.0",
"vite": "^5.1.3",
"vite-plugin-dts": "^3.7.3"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"resolutions": {
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化