加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 5.35 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "@nutui/nutui",
"version": "4.3.13",
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
"main": "dist/nutui.umd.js",
"module": "dist/nutui.es.js",
"style": "dist/style.css",
"type": "module",
"typings": "dist/types/index.d.ts",
"web-types": "dist/smartips/web-types.json",
"keywords": [
"nutui",
"nutui2",
"nutui3",
"nutui4",
"vue",
"vue3",
"webpack",
"vue component",
"vue3 component",
"vite",
"jdc",
"jdcfe"
],
"author": "jdcfe",
"license": "MIT",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [
"dist",
"README.md",
"package.json",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "husky && node scripts/generate-nutui.cjs && node scripts/generate-nutui-taro-vue.cjs && node ./scripts/generate-taro-route.cjs",
"dev": "vite --open --force",
"dev:h5": "pnpm --dir ./packages/nutui-taro-demo dev h5",
"dev:weapp": "pnpm --dir ./packages/nutui-taro-demo dev weapp",
"dev:taro": "pnpm --dir ./packages/nutui-taro-demo dev",
"build:demo": "vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.json && vite build",
"build:h5": "pnpm --dir ./packages/nutui-taro-demo build h5",
"build:weapp": "pnpm --dir ./packages/nutui-taro-demo build weapp",
"build": "vite build --config vite.config.build.ts && vite build --config vite.config.build.disperse.ts && pnpm generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && vite build --config vite.config.build.resolver.ts && pnpm dts && pnpm attrs && node scripts/generate-unplugin-deps.cjs nutui && node scripts/copy-dist.cjs nutui",
"build:taro": "vite build --config vite.config.build.taro.vue.ts && vite build --config vite.config.build.taro.vue.disperse.ts && pnpm generate:themes:taro && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && vite build --config vite.config.build.resolver.ts && pnpm dts:taro && pnpm attrs:taro && node scripts/generate-unplugin-deps.cjs nutui-taro && node scripts/copy-dist.cjs nutui-taro",
"add": "node scripts/createComponentMode.js",
"generate:types": "rimraf ./dist/types && node scripts/generate-types.cjs",
"generate:types:taro": "rimraf ./dist/types && node scripts/generate-types-taro.cjs",
"generate:themes": "node scripts/generate-themes.cjs",
"generate:themes:taro": "node scripts/generate-themes.cjs taro",
"test": "vitest",
"test:ui": "vitest --ui --coverage",
"test:c": "vitest --coverage",
"lint": "eslint ./src ./packages/**/src",
"lint:fix": "pnpm lint --fix",
"lint:ui": "pnpm eslint-config-inspector",
"copydocs": "node ./scripts/copymd.cjs",
"attrs": "node ./scripts/createAttributes.cjs",
"attrs:taro": "node ./scripts/createAttributes.cjs taro",
"dts": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.h5.json && pnpm generate:types",
"dts:taro": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.taro.json && pnpm generate:types:taro",
"copy:h5": "node ./scripts/copyh5.cjs",
"copy:taro": "node ./scripts/copytaro.cjs",
"copy:info": "node ./scripts/copy-dist.cjs nutui && node ./scripts/copy-dist.cjs nutui-taro",
"changelog": "node ./scripts/generate-changelog.cjs",
"gen:setup": "node ./scripts/generate-script-setup.cjs",
"publish:h5:beta": "pnpm --dir ./publish/nutui publish:beta",
"publish:taro:beta": "pnpm --dir ./publish/nutui-taro publish:beta"
},
"dependencies": {
"@nutui/icons-vue": "^0.1.1",
"@nutui/icons-vue-taro": "^0.0.9",
"@nutui/touch-emulator": "workspace:^",
"sass": "^1.77.6",
"vue-router": "^4.4.0"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@eslint/config-inspector": "^0.5.1",
"@eslint/eslintrc": "^3.1.0",
"@nutui/eslint-config": "workspace:*",
"@nutui/vite-plugins": "workspace:*",
"@tarojs/taro": "3.6.34",
"@types/node": "^20.14.9",
"@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"@vitest/coverage-istanbul": "^2.0.1",
"@vitest/coverage-v8": "^2.0.1",
"@vitest/ui": "^2.0.1",
"@vue/test-utils": "^2.4.6",
"autoprefixer": "^10.4.19",
"codesandbox": "^2.2.3",
"eslint": "^9.6.0",
"eslint-config-flat-gitignore": "^0.1.5",
"fs-extra": "^11.2.0",
"happy-dom": "^14.12.3",
"husky": "^9.0.11",
"inquirer": "^10.0.1",
"lzutf8": "^0.6.3",
"markdown-it": "^14.1.0",
"nano-staged": "^0.8.0",
"prettier": "^3.3.2",
"prettier-markdown-table": "^1.0.2",
"rimraf": "^6.0.0",
"typescript": "^5.4.5",
"unplugin-vue-components": "^0.27.2",
"vite": "^5.3.2",
"vite-plugin-vue-devtools": "^7.2.1",
"vitest": "^2.0.1",
"vitest-canvas-mock": "^0.3.3",
"vue": "^3.5.10",
"vue-tsc": "^1.8.27"
},
"engines": {
"node": "^18.0.0 || >=20.0.0",
"pnpm": ">= 9.0.0"
},
"nano-staged": {
"*.{css,scss,md}": "prettier --write",
"*.{ts,tsx,js,jsx,vue}": "eslint --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/jdf2e/nutui.git"
},
"resolutions": {
"@typescript-eslint/utils": "^8.0.0-alpha.16"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化