{ "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/ && copyfiles -u 1 \"src/sdk.ts\" dist/ && copyfiles -u 1 \"src/constants.ts\" dist/ && copyfiles -u 1 \"src/types/collections.ts\" 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/constants.ts;src/sdk.ts;src/types/collections.ts'", "prettier": "prettier --list-different --end-of-line auto --write src", "tsc": "tsc --noEmit", "precommit": "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 precommit && npm run build && npm run serve" }, "dependencies": { "@fontsource/vollkorn": "5.0.20", "@iconify-json/material-symbols": "^1.1.79", "@payloadcms/bundler-webpack": "1.0.6", "@payloadcms/db-mongodb": "1.5.1", "@payloadcms/richtext-lexical": "0.10.0", "cross-env": "7.0.3", "language-tags": "1.0.9", "luxon": "3.4.4", "payload": "2.16.1", "payloadcms-sftp-storage": "1.0.1", "sharp": "0.33.3", "styled-components": "6.1.11" }, "devDependencies": { "@types/dotenv": "8.2.0", "@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.0", "prettier": "3.2.5", "ts-node": "10.9.2", "ts-unused-exports": "10.0.1", "typescript": "5.4.5" } }