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",
|
|
|
|
"prettier": "prettier --list-different --end-of-line auto --write src",
|
|
|
|
"tsc": "tsc --noEmit",
|
2023-07-27 21:36:20 +00:00
|
|
|
"precommit": "npm run generate:types && npm run prettier && npm run tsc",
|
|
|
|
"upgrade": "ncu"
|
2023-07-14 11:03:01 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-07-22 18:32:18 +00:00
|
|
|
"@fontsource/vollkorn": "^5.0.5",
|
2023-07-27 21:36:20 +00:00
|
|
|
"clean-deep": "^3.4.0",
|
2023-07-14 11:03:01 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2023-07-27 21:36:20 +00:00
|
|
|
"dotenv": "^16.3.1",
|
|
|
|
"express": "^4.18.2",
|
2023-07-14 11:03:01 +00:00
|
|
|
"iso-639-1": "^2.1.15",
|
2023-07-27 21:36:20 +00:00
|
|
|
"payload": "^1.11.7",
|
2023-07-22 18:32:18 +00:00
|
|
|
"slugify": "^1.6.6",
|
2023-07-27 21:36:20 +00:00
|
|
|
"styled-components": "^6.0.5",
|
|
|
|
"unset-value": "^2.0.1"
|
2023-07-14 11:03:01 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-22 18:34:58 +00:00
|
|
|
"@types/dotenv": "^8.2.0",
|
2023-07-27 21:36:20 +00:00
|
|
|
"@types/express": "^4.17.17",
|
2023-07-25 23:14:10 +00:00
|
|
|
"@types/react-router-dom": "^5.3.3",
|
2023-07-14 11:03:01 +00:00
|
|
|
"copyfiles": "^2.4.1",
|
2023-07-27 21:36:20 +00:00
|
|
|
"nodemon": "^3.0.1",
|
2023-07-14 11:03:01 +00:00
|
|
|
"prettier": "^3.0.0",
|
2023-07-27 21:36:20 +00:00
|
|
|
"ts-node": "^10.9.1",
|
|
|
|
"typescript": "^5.1.6"
|
2023-07-14 11:03:01 +00:00
|
|
|
}
|
|
|
|
}
|