* chore(plugin-seo): build command fix * chore: fix build script --------- Co-authored-by: Alessio Gravili <alessio@bonfireleads.com>
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"name": "@payloadcms/plugin-seo",
|
|
"version": "1.1.0",
|
|
"homepage:": "https://payloadcms.com",
|
|
"repository": "git@github.com:payloadcms/plugin-seo.git",
|
|
"description": "SEO plugin for Payload",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "pnpm copyfiles && pnpm build:swc && pnpm build:types",
|
|
"build:swc": "swc ./src -d ./dist --config-file .swcrc",
|
|
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"lint": "eslint src",
|
|
"lint:fix": "eslint --fix --ext .ts,.tsx src",
|
|
"clean": "rimraf dist",
|
|
"prepublishOnly": "yarn clean && yarn build"
|
|
},
|
|
"keywords": [
|
|
"payload",
|
|
"cms",
|
|
"plugin",
|
|
"typescript",
|
|
"react",
|
|
"seo",
|
|
"yoast"
|
|
],
|
|
"author": "dev@payloadcms.com",
|
|
"license": "MIT",
|
|
"peerDependencies": {
|
|
"payload": "^0.18.5 || ^1.0.0 || ^2.0.0",
|
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@payloadcms/eslint-config": "workspace:*",
|
|
"@types/express": "^4.17.9",
|
|
"@types/react": "18.0.21",
|
|
"payload": "workspace:*",
|
|
"react": "^18.0.0"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"default": "./src/index.ts",
|
|
"types": "./src/index.ts"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"exports": null,
|
|
"main": "./dist/index.js",
|
|
"registry": "https://registry.npmjs.org/",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"types.js",
|
|
"types.d.ts"
|
|
]
|
|
}
|