-
Notifications
You must be signed in to change notification settings - Fork 438
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 3.13 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 3.13 KB
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
{
"name": "next-seo",
"version": "7.2.0",
"description": "SEO plugin for Next.js projects",
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/garmeeh/next-seo.git"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./pages": {
"types": "./dist/pages.d.ts",
"import": "./dist/pages.mjs",
"require": "./dist/pages.js"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"scripts": {
"// BUILD & DEVELOPMENT": "",
"dev": "tsup --watch",
"build": "tsup",
"// CODE QUALITY & FORMATTING": "",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"typecheck": "tsc --noEmit --project tsconfig.json",
"// TESTING": "",
"test": "pnpm typecheck && pnpm lint && echo '> Linting Complete. To run tests use the following commands:\n\n> Unit tests: pnpm test:unit \n> E2E tests: pnpm test:e2e'",
"test:unit": "vitest run",
"test:unit:watch": "vitest",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:sweep": "pnpm build && pnpm typecheck && pnpm lint && pnpm example:lint && pnpm example:typecheck && pnpm test:unit && pnpm test:e2e",
"coverage": "vitest run --coverage",
"// UTILITIES": "",
"clean": "rimraf dist coverage examples/app-router-showcase/.next examples/app-router-showcase/out",
"prepare": "husky",
"// EXAMPLE APP (if you want shortcuts from root)": "",
"example:dev": "pnpm --filter ./examples/app-router-showcase dev",
"example:build": "pnpm --filter ./examples/app-router-showcase build",
"example:start": "pnpm --filter ./examples/app-router-showcase start",
"example:lint": "pnpm --filter ./examples/app-router-showcase lint",
"example:typecheck": "tsc --noEmit --project examples/app-router-showcase",
"// PUBLISHING": "",
"prepublishOnly": "pnpm build && pnpm test",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "pnpm build && changeset publish"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --fix",
"*.{ts,tsx,js,jsx,json,md}": "prettier --write"
},
"devDependencies": {
"@changesets/cli": "^2.29.7",
"@eslint/js": "^9.38.0",
"@playwright/test": "^1.56.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@types/node": "^24.8.1",
"@types/react": "^19.2.2",
"@vitejs/plugin-react": "^5.0.4",
"@vitest/coverage-v8": "^3.2.4",
"ajv": "^8.17.1",
"eslint": "^9.38.0",
"eslint-plugin-react": "^7.37.5",
"globals": "^16.4.0",
"husky": "^9.1.7",
"jsdom": "^27.0.1",
"lint-staged": "^16.2.4",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"tsup": "^8.5.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.1",
"vitest": "^3.2.4"
},
"peerDependencies": {
"next": ">=13.4.0",
"react": ">=18.2.0"
}
}