generated from payloadcms/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
119 lines (119 loc) · 3.61 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
{
"name": "@payload-enchants/translator",
"version": "1.3.0",
"private": false,
"bugs": "https://github.com/r1tsuu/payload-enchants/issues",
"repository": "https://github.com/r1tsuu/payload-enchants",
"license": "MIT",
"author": "r1tsuu",
"type": "module",
"exports": {
".": {
"import": "./src/index.ts",
"require": "./src/index.ts",
"types": "./src/index.ts"
},
"./types": {
"import": "./src/types.ts",
"require": "./src/types.ts",
"types": "./src/types.ts"
},
"./resolvers/types": {
"import": "./src/resolvers/types.ts",
"require": "./src/resolvers/types.ts",
"types": "./src/resolvers/types.ts"
},
"./resolvers/google": {
"import": "./src/resolvers/google.ts",
"require": "./src/resolvers/google.ts",
"types": "./src/resolvers/google.ts"
},
"./resolvers/copy": {
"import": "./src/resolvers/copy.ts",
"require": "./src/resolvers/copy.ts",
"types": "./src/resolvers/copy.ts"
},
"./resolvers/openAI": {
"import": "./src/resolvers/openAI.ts",
"require": "./src/resolvers/openAI.ts",
"types": "./src/resolvers/openAI.ts"
},
"./client": {
"import": "./src/exports/client.ts",
"require": "./src/exports/client.ts",
"types": "./src/exports/client.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "pnpm copyfiles && pnpm build:swc && pnpm build:types",
"build:swc": "swc ./src -d ./dist --config-file .swcrc",
"build:types": "tsc --emitDeclarationOnly --outDir dist",
"clean": "rimraf dist && rimraf tsconfig.tsbuildinfo",
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
"lint": "eslint src",
"lint:fix": "eslint --fix --ext .ts,.tsx src",
"prepublishOnly": "pnpm clean && pnpm build"
},
"dependencies": {
"bson-objectid": "^2.0.4",
"he": "^1.2.0"
},
"devDependencies": {
"@types/he": "^1.2.3",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"typescript": "5.7.2"
},
"peerDependencies": {
"@payloadcms/translations": "^3.1.0",
"@payloadcms/ui": "^3.1.0",
"payload": "^3.1.0"
},
"publishConfig": {
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./types": {
"import": "./dist/types.js",
"require": "./dist/types.js",
"types": "./dist/types.d.ts"
},
"./resolvers/types": {
"import": "./dist/resolvers/types.js",
"require": "./dist/resolvers/types.js",
"types": "./dist/resolvers/types.d.ts"
},
"./resolvers/google": {
"import": "./dist/resolvers/google.js",
"require": "./dist/resolvers/google.js",
"types": "./dist/resolvers/google.d.ts"
},
"./resolvers/copy": {
"import": "./dist/resolvers/copy.js",
"require": "./dist/resolvers/copy.js",
"types": "./dist/resolvers/copy.d.ts"
},
"./resolvers/openAI": {
"import": "./dist/resolvers/openAI.js",
"require": "./dist/resolvers/openAI.js",
"types": "./dist/resolvers/openAI.d.ts"
},
"./client": {
"import": "./dist/exports/client.js",
"require": "./dist/exports/client.js",
"types": "./dist/exports/client.d.ts"
}
},
"main": "./dist/index.js",
"registry": "https://registry.npmjs.org/",
"types": "./dist/index.d.ts"
}
}