forked from NouanceLabs/payload-better-fields-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.56 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
41
{
"name": "plugin-development",
"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",
"test": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts PAYLOAD_SEED=true jest --detectOpenHandles --forceExit",
"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",
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png}\" 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"
},
"dependencies": {
"@payloadcms/bundler-webpack": "^1.0.6",
"@payloadcms/db-mongodb": "^1.4.3",
"@payloadcms/richtext-slate": "^1.4.0",
"cross-env": "^7.0.3",
"dotenv": "^8.6.0",
"express": "^4.18.2",
"payload": "^2.11.2"
},
"devDependencies": {
"@swc/jest": "^0.2.29",
"@types/express": "^4.17.20",
"@types/jest": "^29.5.7",
"copyfiles": "^2.4.1",
"jest": "^29.7.0",
"mongodb-memory-server": "^8.16.0",
"nodemon": "^2.0.22",
"ts-node": "^9.1.1",
"typescript": "^4.9.5"
},
"peerDependencies": {
"@swc/core": "^1.2.71"
}
}