2023-05-13 14:38:56 +00:00
|
|
|
{
|
2023-06-17 10:36:40 +00:00
|
|
|
"name": "astroad",
|
|
|
|
"description": "Astroad - Payload",
|
2023-07-28 15:03:49 +00:00
|
|
|
"version": "1.1",
|
2023-05-13 14:38:56 +00:00
|
|
|
"main": "dist/server.js",
|
|
|
|
"license": "MIT",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts nodemon",
|
2023-06-17 10:25:57 +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",
|
2023-05-13 14:38:56 +00:00
|
|
|
"build:server": "tsc",
|
2023-07-28 15:02:19 +00:00
|
|
|
"build": "yarn build:payload && yarn build:server",
|
2023-06-17 10:32:53 +00:00
|
|
|
"serve": "cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js node -r tsconfig-paths/register dist/server.js",
|
2023-06-17 10:25:57 +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"
|
2023-05-13 14:38:56 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-04-03 17:11:33 +00:00
|
|
|
"cors": "^2.8.5",
|
2023-05-17 16:43:20 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2023-06-22 23:07:06 +00:00
|
|
|
"dotenv": "^16.3.1",
|
2023-05-17 07:18:08 +00:00
|
|
|
"express": "^4.17.1",
|
2023-09-14 10:30:15 +00:00
|
|
|
"payload": "^1.15.6",
|
2023-06-17 10:36:40 +00:00
|
|
|
"tsconfig-paths": "^4.2.0"
|
2023-05-13 14:38:56 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-09-25 10:48:13 +00:00
|
|
|
"@types/express": "^4.17.18",
|
2023-07-10 10:37:47 +00:00
|
|
|
"nodemon": "^3.0.1",
|
2023-06-07 08:21:48 +00:00
|
|
|
"ts-node": "^10.9.1",
|
2023-06-29 11:04:07 +00:00
|
|
|
"typescript": "^5.1.6"
|
2023-05-13 14:38:56 +00:00
|
|
|
}
|
|
|
|
}
|