-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.85 KB
/
Copy pathpackage.json
File metadata and controls
103 lines (103 loc) · 2.85 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "strapi-plugin-draft-preview",
"version": "2.0.1",
"description": "Preview unpublished Strapi v5 content from your frontend by sending one HTTP header. Works on both REST and GraphQL with all populated relations, no per-query rewrites needed.",
"keywords": [
"strapi",
"strapi-plugin",
"strapi-v5",
"rest",
"rest-api",
"graphql",
"draft",
"drafts",
"preview",
"draft-preview",
"preview-mode",
"draft-and-publish",
"headless-cms",
"cms",
"header",
"apollo",
"apollo-server"
],
"strapi": {
"name": "draft-preview",
"description": "Preview unpublished Strapi content from your frontend with one HTTP header.",
"kind": "plugin",
"displayName": "Draft Preview"
},
"homepage": "https://github.com/BretCameron/strapi-plugin-draft-preview",
"bugs": {
"url": "https://github.com/BretCameron/strapi-plugin-draft-preview/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BretCameron/strapi-plugin-draft-preview.git"
},
"main": "strapi-server.js",
"exports": {
".": "./strapi-server.js",
"./middleware": {
"types": "./dist/server/middleware.d.ts",
"default": "./dist/server/middleware.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"strapi-server.js",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"develop": "tsc -p tsconfig.json -w",
"test": "vitest run",
"test:unit": "vitest run",
"test:coverage": "vitest run --coverage",
"test:integration": "npm run build && npm run link-self && vitest run -c vitest.integration.config.ts",
"test:watch": "vitest",
"link-self": "node scripts/link-self.js",
"typecheck": "tsc -p tsconfig.json --noEmit",
"changeset": "changeset",
"version": "changeset version",
"release": "npm run build && changeset publish",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"devDependencies": {
"@changesets/cli": "^2.31.0",
"@eslint/js": "^10.0.1",
"@strapi/plugin-graphql": "^5.43.0",
"@strapi/plugin-users-permissions": "^5.43.0",
"@strapi/strapi": "^5.0.0",
"@strapi/typescript-utils": "^5.0.0",
"@types/koa": "^2.15.0",
"@types/node": "^25.6.0",
"@vitest/coverage-v8": "^4.1.5",
"better-sqlite3": "^12.9.0",
"eslint": "^10.2.1",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.5.0",
"graphql": "^16.0.0",
"koa": "^2.16.4",
"prettier": "^3.8.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.1",
"vitest": "^4.1.5"
},
"peerDependencies": {
"@strapi/strapi": "5.x"
},
"author": {
"name": "Bret Cameron",
"email": "bretcameron@gmail.com"
},
"engines": {
"node": ">=20.0.0"
},
"license": "MIT"
}