@goflag/cli 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +207 -0
- package/dist/chunk-75OFMTOC.js +3719 -0
- package/dist/chunk-75OFMTOC.js.map +1 -0
- package/dist/cli.js +612 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +589 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/package.json +88 -0
package/package.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@goflag/cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "A lean CLI that audits a site for broken links, missing translation pages, and missing/misconfigured SEO metadata. JSON-first.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"seo",
|
|
8
|
+
"hreflang",
|
|
9
|
+
"i18n",
|
|
10
|
+
"sitemap",
|
|
11
|
+
"canonical",
|
|
12
|
+
"open-graph",
|
|
13
|
+
"broken-links",
|
|
14
|
+
"crawler",
|
|
15
|
+
"audit",
|
|
16
|
+
"nextjs",
|
|
17
|
+
"ci"
|
|
18
|
+
],
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"author": "Tancrède Simonin <39413504+tancredesimonin@users.noreply.github.com>",
|
|
21
|
+
"homepage": "https://github.com/tancredesimonin/goflag#readme",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/tancredesimonin/goflag.git",
|
|
25
|
+
"directory": "packages/cli"
|
|
26
|
+
},
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/tancredesimonin/goflag/issues"
|
|
29
|
+
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=20.11"
|
|
32
|
+
},
|
|
33
|
+
"bin": {
|
|
34
|
+
"goflag": "./dist/cli.js"
|
|
35
|
+
},
|
|
36
|
+
"main": "./dist/index.js",
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"exports": {
|
|
39
|
+
".": {
|
|
40
|
+
"types": "./dist/index.d.ts",
|
|
41
|
+
"import": "./dist/index.js"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist"
|
|
46
|
+
],
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"access": "public"
|
|
49
|
+
},
|
|
50
|
+
"scripts": {
|
|
51
|
+
"build": "tsup",
|
|
52
|
+
"dev": "tsx src/cli.ts",
|
|
53
|
+
"start": "node dist/cli.js",
|
|
54
|
+
"clean": "rm -rf dist coverage README.md LICENSE",
|
|
55
|
+
"typecheck": "tsc --noEmit",
|
|
56
|
+
"test": "vitest run",
|
|
57
|
+
"test:watch": "vitest",
|
|
58
|
+
"test:unit": "vitest run src test/unit",
|
|
59
|
+
"test:integration": "vitest run test/integration",
|
|
60
|
+
"test:coverage": "vitest run --coverage",
|
|
61
|
+
"prepack": "node ../../scripts/stage-package-docs.mjs",
|
|
62
|
+
"prepublishOnly": "pnpm build",
|
|
63
|
+
"release": "commit-and-tag-version"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"cheerio": "^1.2.0"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"playwright": "^1.59.1"
|
|
70
|
+
},
|
|
71
|
+
"peerDependenciesMeta": {
|
|
72
|
+
"playwright": {
|
|
73
|
+
"optional": true
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@hono/node-server": "^2.0.1",
|
|
78
|
+
"@types/node": "^22.10.5",
|
|
79
|
+
"@vitest/coverage-v8": "^2.1.8",
|
|
80
|
+
"commit-and-tag-version": "^12.5.0",
|
|
81
|
+
"hono": "^4.12.25",
|
|
82
|
+
"playwright": "^1.59.1",
|
|
83
|
+
"tsup": "^8.5.1",
|
|
84
|
+
"tsx": "^4.21.0",
|
|
85
|
+
"typescript": "^5.7.2",
|
|
86
|
+
"vitest": "^2.1.8"
|
|
87
|
+
}
|
|
88
|
+
}
|