-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
53 lines (53 loc) · 2.2 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
{
"name": "payload",
"description": "Payload project created from blank template",
"version": "1.0.0",
"main": "dist/server.js",
"license": "MIT",
"scripts": {
"dev": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts nodemon",
"build:payload": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload build",
"build:server": "tsc",
"build": "npm run copyfiles && npm run build:payload && npm run build:server",
"serve": "cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js NODE_ENV=production node dist/server.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",
"unused-exports": "ts-unused-exports ./tsconfig.json --excludePathsFromReport='src/payload.config.ts;src/types/collections.ts;src/shared/*'",
"prettier": "prettier --list-different --end-of-line auto --write src",
"tsc": "tsc --noEmit",
"fetch-submodules": "cd src/shared && git pull && cd ../..",
"precommit": "npm run fetch-submodules && npm run generate:types && npm run prettier && npm run unused-exports && npm run tsc",
"upgrade": "ncu",
"prod": "rm -rf build && rm -rf dist && npm ci && npm run build && npm run serve"
},
"dependencies": {
"@fontsource/vollkorn": "5.0.20",
"@iconify-json/material-symbols": "^1.1.87",
"@payloadcms/bundler-webpack": "1.0.7",
"@payloadcms/db-mongodb": "1.7.2",
"@payloadcms/richtext-lexical": "0.11.3",
"cross-env": "7.0.3",
"dotenv": "^16.4.5",
"language-tags": "1.0.9",
"luxon": "3.5.0",
"payload": "2.26.0",
"payloadcms-relationships": "github:DrMint/payloadcms-relationships",
"payloadcms-sftp-storage": "1.0.1",
"sharp": "0.33.4",
"styled-components": "6.1.12"
},
"devDependencies": {
"@types/express": "4.17.21",
"@types/language-tags": "1.0.4",
"@types/luxon": "3.4.2",
"@types/qs": "6.9.15",
"@types/react-router-dom": "5.3.3",
"@types/styled-components": "5.1.34",
"copyfiles": "2.4.1",
"nodemon": "3.1.4",
"prettier": "3.3.3",
"ts-node": "10.9.2",
"ts-unused-exports": "10.1.0",
"typescript": "5.4.5"
}
}