2023-07-14 11:03:01 +00:00
|
|
|
{
|
|
|
|
"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",
|
2023-07-14 14:42:37 +00:00
|
|
|
"generate:graphQLSchema": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:graphQLSchema",
|
2023-10-14 09:27:32 +00:00
|
|
|
"unused-exports": "ts-unused-exports ./tsconfig.json --excludePathsFromReport='src/payload.config.ts;src/sdk.ts;src/types/collections.ts'",
|
2023-07-14 14:42:37 +00:00
|
|
|
"prettier": "prettier --list-different --end-of-line auto --write src",
|
|
|
|
"tsc": "tsc --noEmit",
|
2023-10-14 09:27:32 +00:00
|
|
|
"precommit": "npm run generate:types && npm run prettier && npm run unused-exports && npm run tsc",
|
2023-08-11 21:11:10 +00:00
|
|
|
"upgrade": "ncu",
|
|
|
|
"clean": "sudo rm -r uploads mongo",
|
2024-02-02 11:57:57 +00:00
|
|
|
"start": "npm install && npm run generate:types && npm run dev"
|
2023-07-14 11:03:01 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-02-02 11:57:57 +00:00
|
|
|
"@fontsource/vollkorn": "5.0.18",
|
|
|
|
"@payloadcms/bundler-webpack": "1.0.6",
|
2024-02-18 09:52:23 +00:00
|
|
|
"@payloadcms/db-mongodb": "1.4.0",
|
2024-02-02 11:57:57 +00:00
|
|
|
"@payloadcms/richtext-lexical": "0.5.2",
|
|
|
|
"cross-env": "7.0.3",
|
|
|
|
"language-tags": "1.0.9",
|
|
|
|
"luxon": "3.4.4",
|
2024-02-18 09:52:23 +00:00
|
|
|
"payload": "2.9.0",
|
2024-02-02 11:57:57 +00:00
|
|
|
"sharp": "0.33.2",
|
|
|
|
"styled-components": "6.1.8"
|
2023-07-14 11:03:01 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-02-02 11:57:57 +00:00
|
|
|
"@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.11",
|
|
|
|
"@types/react-router-dom": "5.3.3",
|
|
|
|
"@types/styled-components": "5.1.34",
|
|
|
|
"copyfiles": "2.4.1",
|
|
|
|
"nodemon": "3.0.3",
|
2024-02-18 09:52:23 +00:00
|
|
|
"npm-check-updates": "16.14.14",
|
2024-02-02 11:57:57 +00:00
|
|
|
"prettier": "3.2.4",
|
|
|
|
"ts-node": "10.9.1",
|
|
|
|
"ts-unused-exports": "10.0.1",
|
|
|
|
"typescript": "5.3.3"
|
2023-07-14 11:03:01 +00:00
|
|
|
}
|
|
|
|
}
|