37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"name": "@turbopress/api",
|
|
"description": "Headless CMS based on Payload",
|
|
"version": "1.0.0",
|
|
"main": "dist/server.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "nodemon",
|
|
"build:payload": "payload build",
|
|
"build:server": "tsc",
|
|
"build": "pnpm copyfiles && pnpm build:payload && pnpm build:server",
|
|
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png}\" dist/",
|
|
"generate:types": "payload generate:types",
|
|
"lint": "eslint \"./src/**/*.{js,ts}\" --fix",
|
|
"serve": "PAYLOAD_CONFIG_PATH=dist/payload.config.js node dist/server.js"
|
|
},
|
|
"dependencies": {
|
|
"dotenv": "^8.2.0",
|
|
"express": "^4.17.1",
|
|
"payload": "1.12.0",
|
|
"@payloadcms/plugin-seo": "latest",
|
|
"@payloadcms/plugin-cloud-storage": "latest",
|
|
"@aws-sdk/client-s3": "latest",
|
|
"@aws-sdk/lib-storage": "latest"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "latest",
|
|
"@types/express": "^4.17.9",
|
|
"copyfiles": "^2.4.1",
|
|
"nodemon": "^2.0.6",
|
|
"ts-node": "^9.1.1",
|
|
"typescript": "^4.8.4",
|
|
"webpack-hot-middleware": "^2.25.4",
|
|
"eslint-config-custom": "*"
|
|
}
|
|
}
|