28 lines
883 B
JSON
28 lines
883 B
JSON
|
{
|
||
|
"name": "payload-blog-typescript",
|
||
|
"description": "Blog 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": "yarn build:payload && yarn build:server",
|
||
|
"serve": "cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js NODE_ENV=production node dist/server.js",
|
||
|
"generate:types": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:types"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"payload": "^1.8.2",
|
||
|
"dotenv": "^8.2.0",
|
||
|
"express": "^4.17.1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/express": "^4.17.9",
|
||
|
"cross-env": "^7.0.3",
|
||
|
"nodemon": "^2.0.6",
|
||
|
"ts-node": "^9.1.1",
|
||
|
"typescript": "^4.1.3"
|
||
|
}
|
||
|
}
|