-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
104 lines (104 loc) · 2.57 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
{
"name": "unplugin-moment-to-dayjs",
"version": "0.5.0",
"description": "Register global imports on demand for Vite and Webpack",
"keywords": [
"unplugin",
"moment",
"dayjs",
"momenttodayjs",
"antd-dayjs",
"antd-dayjs-webpack-plugin",
"vite",
"webpack",
"rollup",
"transform"
],
"homepage": "https://github.com/Dunqing/unplugin-moment-to-dayjs#readme",
"bugs": {
"url": "https://github.com/Dunqing/unplugin-moment-to-dayjs/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Dunqing/unplugin-moment-to-dayjs.git"
},
"license": "MIT",
"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"
},
"./plugins/*": {
"require": "./dist/plugins/*.js",
"import": "./dist/plugins/*.mjs"
},
"./*": "./*"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist",
"*.d.ts"
],
"scripts": {
"build": "tsup",
"build:examples": "pnpm --filter ./examples/* run build",
"dev:examples": "pnpm --filter ./examples/* run dev",
"dev": "tsup --watch src",
"build:fix": "esno scripts/postbuild.ts",
"lint": "eslint \"{src,test}/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"play": "npm -C playground run dev",
"prepublishOnly": "npm run build",
"release": "bumpp --commit --push --tag && pnpm publish",
"start": "esno src/index.ts",
"test": "vitest",
"test:update": "vitest -u"
},
"dependencies": {
"magic-string": "^0.26.2",
"tsup": "^6.2.2",
"typescript": "^4.7.4",
"unplugin": "^0.9.0",
"vite": "^3.0.7",
"vitest": "^0.21.1",
"webpack": "^5.74.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.20.2",
"@rollup/plugin-alias": "^3.1.9",
"@types/node": "^18.7.2",
"bumpp": "^8.2.1",
"eslint": "^8.21.0",
"esno": "^0.16.3",
"fast-glob": "^3.2.11",
"nodemon": "^2.0.19",
"rimraf": "^3.0.2",
"rollup": "^2.77.3",
"unplugin-moment-to-dayjs": "link:"
},
"peerDependencies": {
"dayjs": "^1.11.0"
}
}