-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.9 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
{
"name": "payloadbun",
"description": "A blank template to get started with Payload and Bun",
"version": "1.0.0",
"main": "dist/index.js",
"license": "MIT",
"trustedDependencies": ["sharp"],
"overrides": {
"sharp": "0.33.1"
},
"scripts": {
"dev": "bun --watch src/index.ts",
"build:payload": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload build",
"build:server": "tsc",
"build": "bun run copyfiles && bun run build:payload && bun run build:server",
"serve": "cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js NODE_ENV=production bun run dist/index.js",
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png}\" dist/",
"generate:types": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:types",
"generate:graphQLSchema": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:graphQLSchema",
"payload": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload",
"clean:unix": "find . \\( -type d \\( -name node_modules -o -name dist -o -name .cache -o -name build \\) -o -type f -name tsconfig.tsbuildinfo \\) -exec rm -rf {} +",
"cleanbuild:unix": "find . \\( -type d \\( -name dist -o -name .cache -o -name build \\) -o -type f -name tsconfig.tsbuildinfo \\) -exec rm -rf {} +",
"checkUpdates": "bunx npm-check-updates --format group -i"
},
"dependencies": {
"@payloadcms/bundler-webpack": "^1.0.5",
"@payloadcms/db-mongodb": "^1.2.0",
"@payloadcms/plugin-cloud": "^2.2.6",
"@payloadcms/richtext-lexical": "^0.5.1",
"cross-env": "^7.0.3",
"express": "^4.18.2",
"payload": "^2.6.0"
},
"devDependencies": {
"@types/express": "^4.17.21",
"copyfiles": "^2.4.1",
"typescript": "5.3.3",
"@payloadcms/eslint-config": "^1.1.0",
"prettier": "^3.1.1",
"@types/bun": "latest"
},
"resolutions": {
"jackspeak": "2.1.1"
}
}