-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
117 lines (117 loc) · 2.89 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
{
"name": "strapi-plugin-do-not-delete",
"version": "2.0.0",
"description": "A plugin for Strapi CMS that protects certain entries from being deleted.",
"license": "MIT",
"strapi": {
"kind": "plugin",
"name": "do-not-delete",
"displayName": "Do Not Delete",
"description": "Protect certain entries from being deleted."
},
"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-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 \"server/**/*.(ts|tsx|json|md)\"",
"format:fix": "prettier --write \"server/**/*.(ts|tsx|json|md)\"",
"lint": "eslint --fix-dry-run 'server/**/*.{ts,tsx}'",
"lint:fix": "eslint --fix '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": {
"server/**/*.(ts|tsx|json|css|md)": "prettier --check",
"server/**/*.{ts,tsx}": "eslint --fix-dry-run"
},
"prettier": {
"endOfLine": "lf",
"tabWidth": 2,
"printWidth": 100,
"singleQuote": true,
"trailingComma": "es5"
},
"dependencies": {
"@strapi/utils": "^5.5.0"
},
"peerDependencies": {
"@strapi/sdk-plugin": "^5.2.0",
"@strapi/strapi": "^5.5.0"
},
"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",
"eslint": "^9",
"husky": "^9",
"jest": "^29",
"jest-environment-jsdom": "^29",
"lint-staged": "^15",
"prettier": "^3",
"ts-jest": "^29",
"typescript": "^5.7.0",
"typescript-eslint": "^7"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mattmilburn/strapi-plugin-do-not-delete.git"
},
"keywords": [
"strapi",
"plugin",
"dont",
"don't",
"do",
"not",
"delete",
"destroy",
"prevent",
"protect",
"remove",
"accident"
]
}