forked from unplugin/unplugin-auto-import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 2.59 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
{
"name": "unplugin-auto-import",
"version": "0.2.7",
"description": "Register global imports on demand for Vite and Webpack",
"keywords": [
"unplugin",
"vite",
"webpack",
"rollup",
"auto-import",
"transform"
],
"homepage": "https://github.com/antfu/unplugin-auto-import#readme",
"bugs": {
"url": "https://github.com/antfu/unplugin-auto-import/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/antfu/unplugin-auto-import.git"
},
"funding": "https://github.com/sponsors/antfu",
"license": "MIT",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"sideEffects": false,
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./vite": {
"require": "./dist/vite.js",
"import": "./dist/vite.mjs"
},
"./webpack": {
"require": "./dist/webpack.js",
"import": "./dist/webpack.mjs"
},
"./rollup": {
"require": "./dist/rollup.js",
"import": "./dist/rollup.mjs"
},
"./nuxt": {
"require": "./dist/nuxt.js",
"import": "./dist/nuxt.mjs"
},
"./types": {
"require": "./dist/types.js",
"import": "./dist/types.mjs"
},
"./*": "./*"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist",
"*.d.ts"
],
"scripts": {
"build": "rimraf dist && tsup src/*.ts --format cjs,esm --dts && esno scripts/postbuild.ts",
"dev": "tsup 'src/*.ts' --watch src",
"lint": "eslint \"{src,test}/**/*.ts\"",
"lint:fix": "nr lint -- --fix",
"play": "npm -C playground run dev",
"prepublishOnly": "nr build",
"release": "bumpp --commit --push --tag && pnpm publish",
"start": "esno src/index.ts",
"test": "jest",
"test:update": "jest -u"
},
"dependencies": {
"@antfu/utils": "^0.3.0",
"@rollup/pluginutils": "^4.1.1",
"has-pkg": "^0.0.1",
"magic-string": "^0.25.7",
"unplugin": "^0.2.1"
},
"peerDependencies": {
"@vueuse/core": "^6.0.0"
},
"peerDependenciesMeta": {
"@vueuse/core": {
"optional": true
}
},
"devDependencies": {
"@antfu/eslint-config": "^0.7.0",
"@antfu/ni": "^0.7.0",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.2",
"bumpp": "^6.0.6",
"eslint": "^7.32.0",
"eslint-plugin-jest": "^24.4.0",
"esno": "^0.9.1",
"fast-glob": "^3.2.7",
"jest": "^27.0.6",
"rimraf": "^3.0.2",
"rollup": "^2.56.3",
"ts-jest": "^27.0.5",
"tsup": "^4.14.0",
"typescript": "^4.4.2",
"vite": "^2.5.1",
"webpack": "^5.51.1"
}
}