This commit is contained in:
2022-07-20 19:24:59 +01:00
commit b709b69364
19 changed files with 31916 additions and 0 deletions

34
package.json Normal file
View File

@@ -0,0 +1,34 @@
{
"name": "payload-starter-typescript",
"description": "Blank template - no collections",
"version": "1.0.0",
"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 payload build",
"build:server": "tsc",
"build": "yarn build:payload && yarn build:server",
"serve": "cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js NODE_ENV=production node dist/server.js",
"generate:types": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:types",
"lint": "npm run lint:check",
"lint:fix": "eslint --fix .",
"lint:check": "eslint ."
},
"dependencies": {
"dotenv": "^8.2.0",
"express": "^4.17.1",
"payload": "^1.0.7"
},
"devDependencies": {
"@matt-fidd/eslint-config": "^1.3.2",
"@types/express": "^4.17.9",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"cross-env": "^7.0.3",
"eslint": "^8.20.0",
"nodemon": "^2.0.6",
"ts-node": "^9.1.1",
"typescript": "^4.7.4"
}
}