forked from payloadcms/public-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.47 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "payload-public-demo",
"description": "Payload Demo",
"version": "1.0.0",
"main": "dist/server.js",
"license": "MIT",
"scripts": {
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png}\" dist/",
"pre:debug": "yarn copyfiles && yarn build:server",
"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 copyfiles && 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",
"generate:graphql-schema": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:graphqlSchema"
},
"dependencies": {
"@faker-js/faker": "^6.0.0-alpha.5",
"@payloadcms/plugin-form-builder": "^1.0.12",
"@payloadcms/plugin-nested-docs": "^1.0.4",
"@payloadcms/plugin-seo": "^1.0.6",
"copyfiles": "^2.4.1",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"mongodb": "^4.3.0",
"node-cron": "^3.0.0",
"payload": "^1.5.9",
"qs": "^6.10.3"
},
"devDependencies": {
"@types/express": "^4.17.9",
"@types/node-cron": "^3.0.1",
"cross-env": "^7.0.3",
"nodemon": "^2.0.6",
"prettier": "^2.5.1",
"ts-node": "^9.1.1",
"typescript": "4.1.3"
}
}