kios-webapp/payload/package.json

29 lines
1.0 KiB
JSON
Raw Normal View History

{
"name": "astroad",
"description": "Astroad - Payload",
"version": "1.1",
"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 node -r tsconfig-paths/register node_modules/payload/dist/bin/index.js build",
"build:server": "tsc",
"build": "yarn build:payload && yarn build:server",
"serve": "cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js node -r tsconfig-paths/register dist/server.js",
"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"
},
"dependencies": {
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"express": "^4.17.1",
"payload": "^1.11.1",
"tsconfig-paths": "^4.2.0"
},
"devDependencies": {
"@types/express": "^4.17.9",
"nodemon": "^3.0.1",
2023-06-07 08:21:48 +00:00
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
}
}