-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
134 lines (134 loc) · 3.6 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "strapi-plugin-preview-button",
"version": "3.0.0",
"description": "A plugin for Strapi CMS that adds a preview button and live view button to the content manager edit view.",
"license": "MIT",
"strapi": {
"kind": "plugin",
"name": "preview-button",
"displayName": "Preview Button",
"description": "Adds a preview button and live view button to the content manager edit view."
},
"author": {
"name": "Matt Milburn",
"url": "https://github.com/mattmilburn"
},
"maintainers": [
{
"name": "Matt Milburn",
"url": "https://github.com/mattmilburn"
}
],
"type": "commonjs",
"exports": {
"./package.json": "./package.json",
"./strapi-admin": {
"types": "./dist/admin/src/index.d.ts",
"source": "./admin/src/index.ts",
"import": "./dist/admin/index.mjs",
"require": "./dist/admin/index.js",
"default": "./dist/admin/index.js"
},
"./strapi-server": {
"types": "./dist/server/src/index.d.ts",
"source": "./server/src/index.ts",
"import": "./dist/server/index.mjs",
"require": "./dist/server/index.js",
"default": "./dist/server/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "strapi-plugin build",
"format": "prettier --check \"{admin,server}/**/*.(ts|tsx|json|md)\"",
"format:fix": "prettier --write \"{admin,server}/**/*.(ts|tsx|json|md)\"",
"lint": "eslint --fix-dry-run '{admin,server}/**/*.{ts,tsx}'",
"lint:fix": "eslint --fix '{admin,server}/**/*.{ts,tsx}'",
"prepare": "husky",
"test": "jest --forceExit --detectOpenHandles",
"test:ts:front": "run -T tsc -p admin/tsconfig.json",
"test:ts:back": "run -T tsc -p server/tsconfig.json",
"verify": "strapi-plugin verify",
"watch": "strapi-plugin watch",
"watch:link": "strapi-plugin watch:link"
},
"jest": {
"preset": "ts-jest",
"transform": {
"^.+\\.test\\.{ts,tsx}?$": "ts-jest"
},
"testPathIgnorePatterns": [
"/coverage/",
"/dist/",
"/node_modules/",
"/public/",
".tmp",
".cache"
]
},
"lint-staged": {
"{admin,server}/**/*.(ts|tsx|json|css|md)": "prettier --check",
"{admin,server}/**/*.{ts,tsx}": "eslint --fix-dry-run"
},
"prettier": {
"endOfLine": "lf",
"tabWidth": 2,
"printWidth": 100,
"singleQuote": true,
"trailingComma": "es5"
},
"dependencies": {
"@strapi/design-system": "^2.0.0-rc.14",
"@strapi/utils": "^5.5.0",
"immer": "^9",
"lodash": "4.17.21",
"qs": "^6",
"react-copy-to-clipboard": "^5",
"react-intl": "^7",
"react-redux": "^8",
"styled-components": "^6"
},
"peerDependencies": {
"@strapi/sdk-plugin": "^5.2.0",
"@strapi/strapi": "^5.5.0",
"react": "^18",
"react-dom": "^18",
"react-router-dom": "^6",
"styled-components": "^6"
},
"devDependencies": {
"@eslint/js": "^9",
"@strapi/sdk-plugin": "^5.2.0",
"@strapi/strapi": "^5.5.0",
"@strapi/typescript-utils": "^5.5.0",
"@types/eslint__js": "^8",
"@types/jest": "^29",
"@types/react-copy-to-clipboard": "^5",
"eslint": "^9",
"husky": "^9",
"jest": "^29",
"jest-environment-jsdom": "^29",
"lint-staged": "^15",
"prettier": "^3",
"react": "^18",
"react-dom": "^18",
"react-router-dom": "^6",
"ts-jest": "^29",
"typescript": "^5.7.0",
"typescript-eslint": "^7"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mattmilburn/strapi-plugin-preview-button.git"
},
"keywords": [
"strapi",
"plugin",
"preview",
"draft",
"page",
"published"
]
}