|
1 | 1 | {
|
2 | 2 | "name": "@nutui/nutui",
|
3 |
| - "version": "3.2.7", |
| 3 | + "version": "4.0.0", |
4 | 4 | "description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
|
5 | 5 | "main": "dist/nutui.umd.js",
|
6 | 6 | "module": "dist/nutui.es.js",
|
7 | 7 | "style": "dist/style.css",
|
| 8 | + "type": "module", |
8 | 9 | "typings": "dist/types/index.d.ts",
|
9 | 10 | "vetur": {
|
10 | 11 | "tags": "dist/smartips/tags.json",
|
|
89 | 90 | "@types/node": "^17.0.16",
|
90 | 91 | "@typescript-eslint/eslint-plugin": "^4.20.0",
|
91 | 92 | "@typescript-eslint/parser": "^4.20.0",
|
92 |
| - "@vitejs/plugin-legacy": "^1.6.4", |
93 |
| - "@vitejs/plugin-vue": "^2.1.0", |
94 |
| - "@vue/compiler-sfc": "^3.2.30", |
| 93 | + "@vitejs/plugin-vue": "^3.2.0", |
| 94 | + "@vue/compiler-sfc": "^3.2.45", |
95 | 95 | "@vue/eslint-config-prettier": "^6.0.0",
|
96 | 96 | "@vue/eslint-config-typescript": "^7.0.0",
|
97 | 97 | "@vue/test-utils": "^2.0.0-rc.18",
|
98 | 98 | "autoprefixer": "^10.3.4",
|
99 | 99 | "axios": "^0.21.0",
|
100 | 100 | "canvas": "^2.9.0",
|
| 101 | + "codesandbox": "^2.2.3", |
101 | 102 | "cz-git": "^1.3.8",
|
102 | 103 | "eslint": "^7.23.2",
|
103 | 104 | "eslint-plugin-prettier": "^3.3.1",
|
|
113 | 114 | "markdown-it-container": "^3.0.0",
|
114 | 115 | "prettier": "^2.0.0",
|
115 | 116 | "remark-codesandbox": "^0.10.1",
|
| 117 | + "rollup-plugin-visualizer": "^5.8.3", |
116 | 118 | "standard-version": "^9.3.0",
|
117 | 119 | "swiper": "6.5.1",
|
118 | 120 | "transliteration": "^2.2.0",
|
119 | 121 | "ts-jest": "^26.5.5",
|
120 |
| - "typescript": "^4.6.4", |
121 |
| - "vite": "^2.9.15", |
122 |
| - "vite-plugin-dts": "1.4.1", |
123 |
| - "vite-plugin-md": "^0.11.8", |
| 122 | + "typescript": "^4.9.3", |
| 123 | + "vite": "^3.2.4", |
| 124 | + "vite-plugin-dts": "^1.7.1", |
| 125 | + "vite-plugin-md": "^0.20.4", |
124 | 126 | "vue": "^3.2.24",
|
125 | 127 | "vue-jest": "^5.0.0-alpha.7"
|
126 | 128 | },
|
|
149 | 151 | "path": "node_modules/cz-git"
|
150 | 152 | }
|
151 | 153 | },
|
| 154 | + "engines": { |
| 155 | + "node": ">= 16.0.0", |
| 156 | + "pnpm": ">= 7.0.0" |
| 157 | + }, |
152 | 158 | "lint-staged": {
|
153 | 159 | "*.md": "prettier --write",
|
154 | 160 | "*.{ts,tsx,js,vue,scss}": "prettier --write"
|
|
0 commit comments