-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.96 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.96 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "affilibuster-cms",
"version": "0.1.0",
"private": true,
"description": "Affiliate platform CMS",
"workspaces": [
"src/plugins/*"
],
"scripts": {
"strapi": "strapi",
"build:plugins": "npm run build --workspaces --if-present",
"clean:plugins": "npm run clean --workspaces --if-present",
"openapi:generate": "mkdir -p public/uploads && strapi openapi generate --output ../contracts/strapi.openapi.yaml && npx tsx ./scripts/merge-openapi.ts && npx @redocly/cli lint ../contracts/strapi.openapi.yaml && npx @redocly/cli lint ../contracts/affilibuster.openapi.yaml",
"type-check": "tsc --noEmit -p tsconfig.json",
"lint": "eslint --concurrency=auto --max-warnings 0 . && npm run type-check",
"lint:fix": "eslint --concurrency=auto --fix --max-warnings 0 . && npm run type-check",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"preflight": "npm run build:plugins && strapi ts:generate-types && npm run openapi:generate && npm run format:fix && npm run lint:fix",
"dev": "npm run preflight && strapi develop",
"develop": "npm run dev",
"build": "strapi build",
"clean": "npm run clean:plugins && rm -rf coverage node_modules build .tmp .strapi dist",
"start": "strapi start",
"data:export": "mkdir -p ../data; rm -rf ../data/assets ../data/entities ../data/schemas ../data/configuration ../data/links ../data/metadata.json || true; npm run strapi export -- --no-encrypt --no-compress -f ../data/export; tar -xf ../data/export.tar -C ../data; rm -f ../data/export.tar || true; sed -i '/\"type\":\"api::api-config.api-config\"/d' ../data/entities/entities_*.jsonl",
"data:import": "strapi import"
},
"dependencies": {
"@eslint/js": "^9.39.3",
"@redocly/cli": "^2.24.0",
"@strapi/provider-upload-cloudinary": "^5.40.0",
"@strapi/strapi": "^5.40.0",
"@types/js-yaml": "^4.0.9",
"@types/node": "^25.5.0",
"@typescript-eslint/eslint-plugin": "^8.53.0",
"@typescript-eslint/parser": "^8.53.0",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsdoc": "^62.8.0",
"jiti": "^2.6.1",
"js-yaml": "^4.1.1",
"lint-staged": "^16.4.0",
"pg": "^8.20.0",
"prettier": "^3.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.30.3",
"strapi-plugin-nested-populator": "^1.0.0",
"strapi-plugin-relation-filter": "^1.0.0",
"strapi-plugin-required-relation-field": "^0.3.1",
"styled-components": "^6.3.12",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.1"
},
"overrides": {
"zod": "3.26.0-canary.20250708T225111"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix --max-warnings=0",
"prettier --write"
],
"*.{json,css,scss,md,yaml,yml}": [
"prettier --write"
]
},
"strapi": {
"uuid": "f7dd1be1-42f2-4868-a3da-645d455df353"
},
"engines": {
"node": ">=20.0.0 <=22.x.x",
"npm": ">=6.0.0"
}
}