81 lines
2.2 KiB
JSON
81 lines
2.2 KiB
JSON
{
|
|
"name": "@payloadcms/plugin-redirects",
|
|
"version": "3.0.0-beta.55",
|
|
"description": "Redirects plugin for Payload",
|
|
"keywords": [
|
|
"payload",
|
|
"cms",
|
|
"plugin",
|
|
"typescript",
|
|
"react",
|
|
"redirects",
|
|
"nextjs"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/payloadcms/payload.git",
|
|
"directory": "packages/plugin-redirects"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Payload <dev@payloadcms.com> (https://payloadcms.com)",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./types": {
|
|
"import": "./src/exports/types.ts",
|
|
"types": "./src/exports/types.ts",
|
|
"default": "./src/exports/types.ts"
|
|
}
|
|
},
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"files": [
|
|
"dist",
|
|
"types.js",
|
|
"types.d.ts"
|
|
],
|
|
"scripts": {
|
|
"build": "pnpm copyfiles && pnpm build:types && pnpm build:swc",
|
|
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
|
|
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
"clean": "rimraf {dist,*.tsbuildinfo}",
|
|
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
|
"prepublishOnly": "pnpm clean && pnpm turbo build"
|
|
},
|
|
"devDependencies": {
|
|
"@payloadcms/eslint-config": "workspace:*",
|
|
"@types/express": "^4.17.9",
|
|
"@types/react": "npm:types-react@19.0.0-beta.2",
|
|
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2",
|
|
"payload": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"payload": "workspace:*"
|
|
},
|
|
"publishConfig": {
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./types": {
|
|
"import": "./dist/exports/types.js",
|
|
"types": "./dist/exports/types.d.ts",
|
|
"default": "./dist/exports/types.js"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"homepage:": "https://payloadcms.com",
|
|
"overrides": {
|
|
"@types/react": "npm:types-react@19.0.0-beta.2",
|
|
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2"
|
|
}
|
|
}
|