UNPKG

strapi-plugin-do-not-delete

Version:

A plugin for Strapi CMS that protects certain entries from being deleted.

118 lines (117 loc) 2.96 kB
{ "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" ] }