-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 5.03 KB
/
package.json
File metadata and controls
160 lines (160 loc) · 5.03 KB
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
{
"name": "payload-auditor",
"type": "module",
"version": "1.11.0",
"description": "Simple, fast and customizable plugin for payload cms",
"author": {
"name": "seyed mojtaba shadab | shaadcode",
"email": "[email protected]"
},
"license": "MIT",
"homepage": "https://github.com/shaadcode/payload-auditor#readme",
"repository": {
"type": "git",
"url": "https://github.com/shaadcode/payload-auditor"
},
"bugs": {
"url": "https://github.com/shaadcode/payload-auditor/issues"
},
"keywords": [
"payload",
"plugin",
"auditor",
"logger",
"payload-plugin",
"payload-cms",
"security",
"payloadcms"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./client": {
"types": "./dist/exports/client.d.ts",
"import": "./dist/exports/client.js",
"default": "./dist/exports/client.js"
},
"./rsc": {
"types": "./dist/exports/rsc.d.ts",
"import": "./dist/exports/rsc.js",
"default": "./dist/exports/rsc.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"LICENSE",
"README.md",
"dist"
],
"engines": {
"node": "^18.20.2 || >=20.19.1"
},
"scripts": {
"build:safe": "npm run test && npm run check-types && npm run lint && npm run copyfiles && npm run build:types && npm run build:swc",
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths --ignore **/*.test.ts **/*.test.tsx **/__tests__/**",
"build": "npm run copyfiles && npm run build:types && npm run build:swc",
"build:types": "tsc --outDir dist --rootDir ./src",
"build:only": "npm run copyfiles && npm run build:types && npm run build:swc",
"clean": "rimraf {dist,*.tsbuildinfo}",
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
"eslint": "eslint .",
"lint": "npm run eslint:base",
"lint:commit": "npm run lint-staged",
"lint:fix": "npm run eslint:base -- --fix",
"eslint:base": "eslint . --cache --cache-location .cache/eslint/ --no-warn-ignored",
"eslint:clear": "rimraf .cache/eslint",
"manual-publish": "npm publish --access public",
"check-types": "npx tsc --noEmit --pretty",
"prepublishOnly": "npm run clean && npm run build",
"test:plugin": "npm run clean && npm run build && npm run link && npm run --dir ./dev link payload-auditor && npm run dev",
"test:watch": "vitest --reporter=verbose ",
"test": "vitest run",
"prepare": "husky",
"commit": "cz",
"sync-main": "git fetch origin main && git rebase origin/main",
"sync-main:fork": "git fetch upstream main && git rebase upstream/main",
"release": "release-it --config .release-it.ts",
"lint-staged": "lint-staged",
"pre-release": "release-it --config .release-it.prerelease.ts --preRelease=beta"
},
"peerDependencies": {
"payload": "^3.76.1"
},
"devDependencies": {
"@antfu/eslint-config": "^7.4.3",
"@commitlint/cli": "^20.4.1",
"@commitlint/config-conventional": "^20.4.1",
"@eslint-react/eslint-plugin": "^2.12.4",
"@next/eslint-plugin-next": "^16.0.6",
"@payloadcms/db-mongodb": "^3.76.1",
"@payloadcms/next": "^3.76.1",
"@payloadcms/richtext-lexical": "^3.76.1",
"@payloadcms/translations": "^3.76.1",
"@payloadcms/ui": "^3.76.1",
"@release-it/conventional-changelog": "^10.0.1",
"@swc-node/register": "^1.11.1",
"@swc/cli": "^0.8.0",
"@swc/core": "^1.15.11",
"@types/node": "^25.2.3",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"conventional-changelog-conventionalcommits": "^8.0.0",
"copyfiles": "2.4.1",
"cross-env": "^10.1.0",
"cz-git": "^1.11.1",
"eslint": "^9.39.1",
"eslint-plugin-perfectionist": "^5.5.0",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.0",
"graphql": "^16.12.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"next": "^16.2.0-canary.10",
"payload": "^3.76.1",
"payload-auditor": "^1.11.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"release-it": "^19.0.6",
"rimraf": "^6.1.2",
"sharp": "^0.34.5",
"typescript": "^5.9.3",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.0.18"
},
"publishConfig": {
"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"
},
"./rsc": {
"import": "./dist/exports/rsc.js",
"types": "./dist/exports/rsc.d.ts",
"default": "./dist/exports/rsc.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"pnpm": {
"onlyBuiltDependencies": [
"sharp"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"registry": "https://registry.npmjs.org/"
}