dashboard.accords-library.com/package.json

54 lines
2.3 KiB
JSON

{
"name": "payload",
"description": "Payload project created from blank template",
"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": "npm run copyfiles && npm run build:payload && npm run build:server",
"serve": "cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js NODE_ENV=production node dist/server.js",
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png}\" dist/ && copyfiles -u 1 \"src/sdk.ts\" dist/ && copyfiles -u 1 \"src/constants.ts\" dist/ && copyfiles -u 1 \"src/types/collections.ts\" dist/",
"generate:types": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:types",
"generate:graphQLSchema": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:graphQLSchema",
"unused-exports": "ts-unused-exports ./tsconfig.json --excludePathsFromReport='src/payload.config.ts;src/constants.ts;src/sdk.ts;src/types/collections.ts'",
"prettier": "prettier --list-different --end-of-line auto --write src",
"tsc": "tsc --noEmit",
"precommit": "npm run generate:types && npm run prettier && npm run unused-exports && npm run tsc",
"upgrade": "ncu",
"clean": "sudo rm -r uploads mongo",
"start": "npm install && npm run generate:types && npm run dev"
},
"dependencies": {
"@fontsource/vollkorn": "5.0.19",
"@payloadcms/bundler-webpack": "1.0.6",
"@payloadcms/db-mongodb": "1.4.4",
"@payloadcms/richtext-lexical": "0.8.0",
"cross-env": "7.0.3",
"language-tags": "1.0.9",
"luxon": "3.4.4",
"payload": "2.12.1",
"payloadcms-sftp-storage": "1.0.1",
"sharp": "0.33.3",
"styled-components": "6.1.8"
},
"devDependencies": {
"@types/dotenv": "8.2.0",
"@types/express": "4.17.21",
"@types/language-tags": "1.0.4",
"@types/luxon": "3.4.2",
"@types/qs": "6.9.14",
"@types/react-router-dom": "5.3.3",
"@types/styled-components": "5.1.34",
"copyfiles": "2.4.1",
"nodemon": "3.1.0",
"npm-check-updates": "16.14.18",
"prettier": "3.2.5",
"ts-node": "10.9.2",
"ts-unused-exports": "10.0.1",
"typescript": "5.4.4"
}
}