package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "name": "next-seo",
  3. "version": "5.15.0",
  4. "description": "SEO plugin for Next.js projects",
  5. "source": "src/index.tsx",
  6. "main": "lib/next-seo.js",
  7. "module": "lib/next-seo.module.js",
  8. "unpkg": "lib/next-seo.umd.js",
  9. "types": "lib/index.d.ts",
  10. "files": [
  11. "lib"
  12. ],
  13. "peerDependencies": {
  14. "next": "^8.1.1-canary.54 || >=9.0.0",
  15. "react": ">=16.0.0",
  16. "react-dom": ">=16.0.0"
  17. },
  18. "scripts": {
  19. "test": "jest",
  20. "test:coverage": "jest --verbose --coverage",
  21. "test:watch": "jest --watch",
  22. "pretest:e2e:ci": "yarn e2e:build",
  23. "test:e2e": "npm-run-all --parallel e2e:dev cy:open",
  24. "test:e2e:ci": "npm-run-all --parallel --race e2e:start cy:run",
  25. "prepublishOnly": "yarn build",
  26. "prebuild": "rimraf ./lib",
  27. "format": "prettier",
  28. "table-of-contents": "doctoc README.md",
  29. "type-check": "tsc --noEmit",
  30. "type-check:watch": "yarn type-check -- --watch",
  31. "build": "yarn build:ts",
  32. "build:watch": "microbundle watch --no-sourcemap --no-compress --jsx React.createElement",
  33. "build:ts": "microbundle --no-sourcemap --no-compress --jsx React.createElement",
  34. "build:test": "npm-run-all --sequential build e2e:build",
  35. "cy:open": "cypress open",
  36. "cy:run": "cypress run",
  37. "e2e:dev": "next e2e",
  38. "e2e:devApp": "next e2eWithApp",
  39. "e2e:build": "next build e2e",
  40. "e2e:start": "next start e2e"
  41. },
  42. "prettier": {
  43. "singleQuote": true,
  44. "arrowParens": "avoid",
  45. "trailingComma": "all"
  46. },
  47. "author": {
  48. "name": "Gary Meehan",
  49. "email": "garymeehan@outlook.com"
  50. },
  51. "license": "MIT",
  52. "repository": {
  53. "type": "git",
  54. "url": "https://github.com/garmeeh/next-seo.git"
  55. },
  56. "keywords": [
  57. "next.js",
  58. "seo",
  59. "react",
  60. "node",
  61. "ssr"
  62. ],
  63. "bugs": {
  64. "url": "https://github.com/garmeeh/next-seo/issues"
  65. },
  66. "homepage": "https://github.com/garmeeh/next-seo#readme",
  67. "devDependencies": {
  68. "@babel/core": "^7.16.12",
  69. "@babel/preset-env": "^7.16.11",
  70. "@babel/preset-react": "^7.16.7",
  71. "@babel/preset-typescript": "^7.16.7",
  72. "@cypress/schema-tools": "^4.7.9",
  73. "@testing-library/jest-dom": "^5.16.5",
  74. "@testing-library/react": "^13.4.0",
  75. "@types/jest": "^27.4.0",
  76. "@types/node": "^18.11.7",
  77. "@types/react": "^17.0.43",
  78. "@types/react-dom": "^17.0.14",
  79. "babel-jest": "^27.4.6",
  80. "cypress": "^10.10.0",
  81. "cypress-testing-library": "^4.0.0",
  82. "doctoc": "^2.1.0",
  83. "husky": "4.3.8",
  84. "jest": "^27.4.7",
  85. "lint-staged": "11.1.1",
  86. "microbundle": "^0.14.2",
  87. "next": "^13.0.0",
  88. "npm-run-all": "4.1.5",
  89. "prettier": "2.5.1",
  90. "react": "^18.0.0",
  91. "react-dom": "^18.0.0",
  92. "rimraf": "3.0.2",
  93. "typescript": "^4.5.5"
  94. },
  95. "husky": {
  96. "hooks": {
  97. "pre-commit": "yarn table-of-contents && git add README.md && lint-staged"
  98. }
  99. },
  100. "lint-staged": {
  101. "*.{js,jsx,json,css,md,ts,tsx}": [
  102. "prettier --write",
  103. "git add"
  104. ],
  105. "*.{ts,tsx}": []
  106. }
  107. }