forked from tusen-ai/naive-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
192 lines (192 loc) · 6.67 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"name": "naive-ui",
"version": "2.33.2",
"description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
"main": "lib/index.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"unpkg": "dist/index.js",
"jsdelivr": "dist/index.js",
"scripts": {
"start": "pnpm run dev",
"dev": "pnpm run clean && pnpm run gen-version && pnpm run gen-volar-dts && cross-env NODE_ENV=development vite",
"build:package": "pnpm run gen-version && pnpm run clean && pnpm run gen-volar-dts && tsc -b --force tsconfig.esm.json && node scripts/pre-build/pre-cjs-build.js && tsc -b --force tsconfig.cjs.json && rollup -c && pnpm run test:umd && node scripts/post-build && rimraf {es,lib}/*.tsbuildinfo",
"build:site": "./scripts/pre-build-site/pre-build-site.sh && cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && ./scripts/post-build-site/post-build-site.sh",
"clean": "rimraf site lib es dist node_modules/naive-ui themes/**/es themes/**/lib",
"release:package": "pnpm run test && pnpm run build:package && pnpm publish --no-git-checks",
"release:changelog": "node scripts/release-changelog.mjs",
"lint": "pnpm run lint:code && pnpm run lint:type",
"lint:type": "pnpm run lint:src-type && pnpm run lint:demo-type",
"lint:code": "eslint \"{src,build,scripts,demo}/**/*.{ts,tsx,js,vue,md}\"",
"lint:fix": "eslint --fix \"{src,build,scripts,demo}/**/*.{ts,tsx,js,vue,md}\"",
"lint:src-type": "tsc -b --force tsconfig.esm.json",
"lint:demo-type": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vue-tsc -p src/tsconfig.demo.json",
"format": "pnpm run format:code && pnpm run format:md && pnpm run lint:fix",
"format:code": "prettier --write \"(src|demo)/**/*.(vue|js)\"",
"format:md": "prettier --write --parser markdown --prose-wrap never \"(src|demo)/**/*.md\"",
"test": "cross-env NODE_ENV=test jest --collectCoverage=false",
"test:update": "cross-env NODE_ENV=test jest -u --collectCoverage=false",
"test:cov": "cross-env NODE_ENV=test NODE_OPTIONS=--unhandled-rejections=warn jest",
"test:watch": "cross-env NODE_ENV=test jest ---watch --verbose --coverage",
"test:umd": "jest --collectCoverage=false --testMatch=\"<rootDir>/umd-test/index.spec.js\"",
"gen-version": "node scripts/gen-version",
"gen-volar-dts": "esbuild scripts/gen-component-declaration.js --bundle --platform=node --tsconfig=tsconfig.esbuild.json | node",
"build:site:ts": "./scripts/pre-build-site/pre-build-site.sh && cross-env TUSIMPLE=true NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && ./scripts/post-build-site/post-build-site.sh",
"prepare": "husky install",
"transpile-docs": "node scripts/md-to-vue data-table",
"release:site": "cross-env TUSIMPLE=true pnpm run build:site && node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh"
},
"author": "07akioni",
"license": "MIT",
"files": [
"es",
"lib",
"dist",
"volar.d.ts",
"web-types.json",
"README.md"
],
"exports": {
".": {
"import": "./es/index.js",
"require": "./lib/index.js"
}
},
"web-types": "./web-types.json",
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix"
],
"*.ts": [
"prettier --write",
"eslint --fix"
],
"*.tsx": [
"prettier --write",
"eslint --fix"
],
"*.vue": [
"prettier --parser=vue --write",
"eslint --fix"
],
"*.css": [
"prettier --write"
],
"*.md": [
"prettier --write --parser markdown --prose-wrap never",
"eslint --fix"
]
},
"devDependencies": {
"@babel/core": "^7.18.9",
"@babel/eslint-parser": "^7.17.0",
"@babel/generator": "^7.17.9",
"@babel/parser": "^7.17.9",
"@babel/preset-env": "^7.16.11",
"@babel/traverse": "^7.17.9",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"@types/estree": "^1.0.0",
"@types/jest": "^28.1.3",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"@typescript-eslint/parser": "^5.18.0",
"@vicons/fluent": "^0.12.0",
"@vicons/ionicons4": "^0.12.0",
"@vicons/ionicons5": "^0.12.0",
"@vitejs/plugin-vue": "^3.0.0",
"@vue/compiler-sfc": "^3.2.36",
"@vue/eslint-config-standard": "^8.0.1",
"@vue/eslint-config-typescript": "^11.0.0",
"@vue/server-renderer": "^3.2.36",
"@vue/test-utils": "^2.0.2",
"autoprefixer": "^10.4.4",
"babel-jest": "^28.1.3",
"codesandbox": "^2.2.3",
"cross-env": "^7.0.3",
"cssnano": "^5.1.7",
"deepmerge": "^4.2.2",
"esbuild": "0.15.6",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-with-typescript": "^22.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-markdown": "^3.0.0",
"eslint-plugin-n": "^15.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-vue": "^9.3.0",
"express": "^4.17.3",
"fast-glob": "^3.2.11",
"fs-extra": "^10.0.1",
"husky": "^8.0.1",
"inquirer": "^9.1.0",
"jest": "^28.0.3",
"jest-canvas-mock": "^2.3.1",
"jest-environment-jsdom": "^29.0.0",
"lint-staged": "^13.0.3",
"lyla": "^0.6.8",
"marked": "^4.0.13",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"rollup": "^2.75.6",
"rollup-plugin-esbuild": "^4.9.1",
"rollup-plugin-terser": "^7.0.2",
"superagent": "^8.0.0",
"ts-jest": "^28.0.1",
"typescript": "~4.6.3",
"vfonts": "^0.1.0",
"vite": "3.0.9",
"vue": "^3.2.36",
"vue-router": "^4.0.14",
"vue-tsc": "^0.40.1"
},
"peerDependencies": {
"vue": "^3.0.0"
},
"dependencies": {
"@css-render/plugin-bem": "^0.15.10",
"@css-render/vue3-ssr": "^0.15.10",
"@types/lodash": "^4.14.181",
"@types/lodash-es": "^4.17.6",
"async-validator": "^4.0.7",
"css-render": "^0.15.10",
"date-fns": "^2.28.0",
"date-fns-tz": "^1.3.3",
"evtd": "^0.2.4",
"highlight.js": "^11.5.0",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"seemly": "^0.3.6",
"treemate": "^0.3.11",
"vdirs": "^0.1.8",
"vooks": "^0.2.12",
"vueuc": "^0.4.47"
},
"sideEffects": false,
"homepage": "https://www.naiveui.com",
"repository": {
"type": "git",
"url": "https://github.com/TuSimple/naive-ui"
},
"keywords": [
"naive-ui",
"component library",
"ui framework",
"ui",
"vue"
],
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@babel/core",
"postcss",
"rollup",
"webpack"
]
}
}
}