2023-05-13 14:38:56 +00:00
|
|
|
{
|
2023-06-17 10:36:40 +00:00
|
|
|
"name": "astroad",
|
|
|
|
"description": "Astroad - Payload",
|
|
|
|
"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",
|
|
|
|
"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": {
|
2023-05-17 16:43:20 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2023-06-07 08:21:48 +00:00
|
|
|
"dotenv": "^16.1.4",
|
2023-05-17 07:18:08 +00:00
|
|
|
"express": "^4.17.1",
|
2023-06-22 23:07:28 +00:00
|
|
|
"payload": "^1.10.1",
|
2023-06-17 10:36:40 +00:00
|
|
|
"tsconfig-paths": "^4.2.0"
|
2023-05-13 14:38:56 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/express": "^4.17.9",
|
|
|
|
"nodemon": "^2.0.6",
|
2023-06-07 08:21:48 +00:00
|
|
|
"ts-node": "^10.9.1",
|
|
|
|
"typescript": "^5.1.3"
|
2023-05-13 14:38:56 +00:00
|
|
|
}
|
|
|
|
}
|