diff --git a/payload/package.json b/payload/package.json index ab09b28..fd027d7 100644 --- a/payload/package.json +++ b/payload/package.json @@ -8,7 +8,7 @@ "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 generate:types && build:payload && yarn build:server", + "build": "yarn generate:types && 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", "generate:types:listen": "nodemon --watch src --ext ts --exec 'npm run generate:types'"