generated from payloadcms/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.56 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
{
"name": "@elliott-w/payload-plugin-switch-env",
"version": "1.1.0",
"homepage:": "https://github.com/elliott-w/payload-plugin-switch-env",
"description": "Payload plugin to switch environments",
"author": "Elliott Wagener",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/elliott-w/payload-plugin-switch-env.git"
},
"files": [
"dist",
"LICENSE.md",
"README.md"
],
"main": "./src/index.ts",
"types": "./src/index.ts",
"type": "module",
"scripts": {
"build": "tsc --project tsconfig.json",
"build:all": "pnpm build && pnpm -C dev build",
"build:app": "pnpm -C dev build",
"clean": "rimraf {dist,*.tsbuildinfo,package}",
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png}\" dist/",
"dev": "pnpm -C dev dev",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepack": "pnpm prepublishOnly",
"prepublishOnly": "pnpm clean && pnpm build && pnpm copyfiles"
},
"peerDependencies": {
"@payloadcms/db-mongodb": "^3.2.2",
"@payloadcms/ui": "^3.2.2",
"bson": "^6.7.0",
"mongoose": "^8.8.1",
"next": "^15.0.3",
"payload": "^3.2.2",
"react": "^19.0.0 || ^19.0.0-rc-65a56d0e-20241020",
"react-dom": "^19.0.0 || ^19.0.0-rc-65a56d0e-20241020"
},
"devDependencies": {
"@payloadcms/eslint-config": "^3.0.0",
"@types/node": "22.7.5",
"@types/react": "npm:[email protected]",
"@types/react-dom": "npm:[email protected]",
"copyfiles": "^2.4.1",
"next": "15.0.3",
"payload": "^3.2.2",
"rimraf": "^6.0.1",
"typescript": "5.5.3"
},
"pnpm": {
"overrides": {
"@types/react": "npm:[email protected]",
"@types/react-dom": "npm:[email protected]"
}
},
"publishConfig": {
"main": "./dist/index.js",
"registry": "https://registry.npmjs.org/@elliott-w/payload-plugin-switch-env",
"types": "./dist/index.d.ts",
"access": "public",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./client": {
"import": "./dist/exports/client.js",
"types": "./dist/exports/client.d.ts",
"default": "./dist/exports/client.js"
}
}
},
"exports": {
".": {
"import": "./src/index.ts",
"default": "./src/index.ts",
"types": "./src/index.ts"
},
"./client": {
"import": "./src/exports/client.ts",
"types": "./src/exports/client.ts",
"default": "./src/exports/client.ts"
}
}
}