2024-05-17 22:32:32 +00:00
|
|
|
{
|
2024-05-18 21:04:24 +00:00
|
|
|
"name": "paystro",
|
|
|
|
"description": "Paystro - Payload",
|
2024-05-17 22:32:32 +00:00
|
|
|
"version": "1.1",
|
|
|
|
"main": "dist/server.js",
|
|
|
|
"license": "MIT",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts nodemon",
|
2024-05-21 10:22:55 +00:00
|
|
|
"build:payload": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts node -r tsconfig-paths/register node_modules/payload/dist/bin/index.js build ",
|
2024-05-17 22:32:32 +00:00
|
|
|
"build:server": "tsc",
|
2024-06-04 08:02:40 +00:00
|
|
|
"build": "yarn generate:types && yarn build:payload && yarn build:server",
|
2024-05-17 22:32:32 +00:00
|
|
|
"serve": "cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js node -r tsconfig-paths/register dist/server.js",
|
2024-05-21 09:39:10 +00:00
|
|
|
"generate:types": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts node -r tsconfig-paths/register node_modules/payload/dist/bin/index.js generate:types",
|
|
|
|
"generate:types:listen": "nodemon --watch src --ext ts --exec 'npm run generate:types'"
|
2024-05-17 22:32:32 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-05-27 09:24:42 +00:00
|
|
|
"@payloadcms/bundler-webpack": "^1.0.6",
|
|
|
|
"@payloadcms/db-mongodb": "^1.5.1",
|
|
|
|
"@payloadcms/plugin-cloud": "^3.0.1",
|
|
|
|
"@payloadcms/richtext-slate": "^1.5.2",
|
2024-05-17 22:32:32 +00:00
|
|
|
"cross-env": "^7.0.3",
|
|
|
|
"dotenv": "^16.3.1",
|
|
|
|
"express": "^4.17.1",
|
2024-05-27 09:24:42 +00:00
|
|
|
"payload": "^2.18.3",
|
2024-05-17 22:32:32 +00:00
|
|
|
"tsconfig-paths": "^4.2.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/express": "^4.17.18",
|
|
|
|
"nodemon": "^3.0.1",
|
|
|
|
"ts-node": "^10.9.1",
|
|
|
|
"typescript": "^5.1.6"
|
|
|
|
}
|
|
|
|
}
|