加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 4.93 KB
一键复制 编辑 原始数据 按行查看 历史
eiinu 提交于 2023-11-25 01:00 . chore(deps): bump vite to v5 (#2689)
{
"name": "@nutui/nutui",
"version": "4.2.2",
"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 install && 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 --ext .vue,.ts,.tsx,.js,.jsx",
"lint:fix": "pnpm lint --fix",
"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.declaration.json && pnpm generate:types",
"dts:taro": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.taro.json && pnpm generate:types:taro",
"copy:h5": "node ./scripts/copyh5.cjs",
"copy:taro": "node ./scripts/copytaro.cjs",
"changelog": "node ./scripts/generate-changelog.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.69.3",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"@nutui/eslint-config": "workspace:*",
"@nutui/prettier-plugin": "workspace:*",
"@nutui/vite-plugins": "workspace:*",
"@tarojs/taro": "3.6.19",
"@types/node": "^18.18.5",
"@vitejs/plugin-vue": "^4.5.0",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/ui": "^0.34.6",
"@vue/test-utils": "^2.4.1",
"autoprefixer": "^10.4.16",
"codesandbox": "^2.2.3",
"eslint": "^8.51.0",
"fs-extra": "^11.1.1",
"husky": "^8.0.3",
"inquirer": "^9.2.11",
"lint-staged": "^15.0.1",
"lzutf8": "^0.6.3",
"markdown-it": "^13.0.2",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"typescript": "^5.2.2",
"unplugin-vue-components": "^0.25.2",
"vite": "^5.0.2",
"vitest": "^0.34.6",
"vitest-canvas-mock": "^0.3.3",
"vue": "^3.3.4",
"vue-tsc": "^1.8.22",
"vite-plugin-inspect": "^0.7.42"
},
"engines": {
"pnpm": ">= 8.0.0"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,vue,scss,md}": "prettier --write",
"*.{ts,tsx,js,jsx,vue}": "eslint --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/jdf2e/nutui.git"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化