diff --git a/package.json b/package.json index 188c56bf63..e84f5f8bde 100644 --- a/package.json +++ b/package.json @@ -15,13 +15,7 @@ "build:components": "webpack --config src/webpack/components.config.js", "build": "cross-env PAYLOAD_CONFIG_PATH=demo/payload.config.ts node dist/bin/build", "build:tsc": "tsc", - "build:watch": "nodemon --watch 'src/**' --ext 'ts' --exec 'yarn build:tsc'", - "build:analyze": "cross-env PAYLOAD_CONFIG_PATH=demo/payload.config.js PAYLOAD_ANALYZE_BUNDLE=true node src/bin/build", - "cov": "npm run core:build && node ./node_modules/jest/bin/jest.js src/tests --coverage", - "debug": "cross-env PAYLOAD_CONFIG_PATH=demo/payload.config.ts nodemon --inspect demo/server.js", - "debug:test:int": "node --inspect-brk node_modules/.bin/jest --runInBand", "dev": "cross-env PAYLOAD_CONFIG_PATH=demo/payload.config.ts nodemon", - "lint": "eslint .", "test": "yarn test:int && yarn test:client", "pretest": "tsc-silent --project tsconfig.json --suppress @", "test:int": "cross-env PAYLOAD_CONFIG_PATH=demo/payload.config.ts NODE_ENV=test DISABLE_LOGGING=true jest --forceExit --runInBand", diff --git a/src/config/types.ts b/src/config/types.ts index 3aa788f5a7..66544db7bc 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -80,7 +80,6 @@ export type PayloadConfig = { cookiePrefix?: string; csrf?: string[]; cors?: string[] | '*'; - publicENV?: { [key: string]: string }; routes?: { api?: string; admin?: string; @@ -135,7 +134,6 @@ export type PayloadConfig = { }; webpack?: (config: Configuration) => Configuration; middleware?: any[] - serverModules?: string[]; }; export type Config = Omit, 'collections'> & {