nojibake 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/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "nojibake",
3
+ "version": "0.1.0",
4
+ "description": "Read-only CLI for detecting text encoding and mojibake risk signals.",
5
+ "type": "module",
6
+ "bin": {
7
+ "nojibake": "dist/cli.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "README.md",
12
+ "LICENSE",
13
+ "CHANGELOG.md"
14
+ ],
15
+ "scripts": {
16
+ "build": "tsup",
17
+ "typecheck": "tsc --noEmit",
18
+ "test": "npm run build && vitest run",
19
+ "coverage": "npm run build && vitest run --coverage",
20
+ "smoke": "node dist/cli.js version --json && node dist/cli.js schema result --json && node dist/cli.js scan --root src --path cli.ts --json --compact && node dist/cli.js guard --root src --path cli.ts --json --compact",
21
+ "smoke:windows": "node scripts/smoke-windows.mjs",
22
+ "smoke:installed": "node scripts/smoke-installed.mjs",
23
+ "pack:check": "npm pack --dry-run"
24
+ },
25
+ "keywords": [
26
+ "encoding",
27
+ "cli",
28
+ "unicode",
29
+ "mojibake",
30
+ "charset",
31
+ "agent",
32
+ "preflight"
33
+ ],
34
+ "author": "",
35
+ "license": "MIT",
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "git+https://github.com/don9x2E/nojibake.git"
39
+ },
40
+ "bugs": {
41
+ "url": "https://github.com/don9x2E/nojibake/issues"
42
+ },
43
+ "homepage": "https://github.com/don9x2E/nojibake#readme",
44
+ "engines": {
45
+ "node": ">=20"
46
+ },
47
+ "dependencies": {
48
+ "commander": "^12.1.0",
49
+ "iconv-lite": "^0.6.3"
50
+ },
51
+ "devDependencies": {
52
+ "@types/node": "^20.14.15",
53
+ "@vitest/coverage-v8": "^4.1.9",
54
+ "tsup": "^8.2.4",
55
+ "typescript": "^5.5.4",
56
+ "vitest": "^4.1.9"
57
+ },
58
+ "overrides": {
59
+ "esbuild": "^0.28.1"
60
+ }
61
+ }