Files
jsonPrism/package.json
T
poli0981andClaude Opus 5.5 e3d0e8b917 feat: 2.1.0 — JSONC → JSON (#161)
JSONC (JSON with comments) converts to standard JSON as a new input-only format: hand-written parser, comments and trailing commas removed at the same offsets, token-level output that keeps every number and key as written. Input-only formats in the framework (meta.inputOnly), reverse errors with line/column, JSONC editor highlighting and lint, a one-click hint in the JSON → direction, strings in four locales, docs and the 2.1.0 version bump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 12:56:58 +07:00

123 lines
4.2 KiB
JSON

{
"name": "jsonprism",
"private": true,
"version": "2.1.0",
"type": "module",
"description": "Disperse JSON into 12 formats (six convert back, plus JSONC → JSON) — JSONL, CSV, TSV, YAML, XML, TOML, RESX, Markdown, SQL, BSON, CBOR, MessagePack. Conversion runs locally in your browser or desktop app.",
"author": "poli0981 <code@poli0981.dev> (https://github.com/poli0981)",
"license": "Apache-2.0",
"homepage": "https://jsonprism.poli0981.dev",
"repository": {
"type": "git",
"url": "https://github.com/poli0981/jsonPrism.git"
},
"bugs": {
"url": "https://github.com/poli0981/jsonPrism/issues"
},
"engines": {
"node": ">=26.0.0"
},
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"knip": "knip",
"format": "prettier --write \"src/**/*.{ts,tsx,css,md,json}\" \"worker/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,css,md,json}\" \"worker/**/*.ts\"",
"typecheck": "tsc -b && npm run typecheck:worker",
"typecheck:worker": "wrangler types && tsc -p tsconfig.worker.json",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"cf:types": "wrangler types",
"cf:check": "wrangler deploy --dry-run --outdir .wrangler/dry-run",
"preview:cf": "wrangler dev",
"tauri": "tauri",
"tauri:dev": "tauri dev",
"tauri:build": "tauri build",
"tauri:icon": "tauri icon src-tauri/icons/icon.svg",
"tauri:android:init": "tauri android init",
"tauri:android:dev": "npm run tauri:icon && tauri android dev",
"tauri:android:build": "npm run tauri:icon && tauri android build --apk"
},
"dependencies": {
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lang-markdown": "^6.5.2",
"@codemirror/lang-sql": "^6.10.0",
"@codemirror/lang-xml": "^6.1.0",
"@codemirror/lang-yaml": "^6.1.3",
"@codemirror/language": "^6.13.1",
"@codemirror/legacy-modes": "^6.5.5",
"@codemirror/lint": "^6.9.7",
"@codemirror/state": "^6.7.6",
"@codemirror/view": "^6.43.15",
"@fontsource-variable/geist": "^5.3.0",
"@fontsource-variable/jetbrains-mono": "^5.3.0",
"@lezer/highlight": "^1.2.5",
"@marsidev/react-turnstile": "^1.6.3",
"@msgpack/msgpack": "^3.1.3",
"@radix-ui/react-dialog": "^1.3.1",
"@radix-ui/react-slot": "^1.5.0",
"@radix-ui/react-switch": "^1.4.1",
"@radix-ui/react-tabs": "^1.2.1",
"@tauri-apps/api": "^2.12.4",
"@tauri-apps/plugin-dialog": "^2.8.3",
"@tauri-apps/plugin-fs": "^2.7.1",
"@tauri-apps/plugin-opener": "^2.7.2",
"@uiw/react-codemirror": "^4.25.12",
"bson": "^7.3.3",
"cbor-x": "^1.6.8",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"fast-xml-parser": "^5.11.2",
"fflate": "^0.8.3",
"i18next": "^26.5.6",
"i18next-browser-languagedetector": "^8.2.1",
"js-yaml": "^5.5.0",
"lucide-react": "^1.61.0",
"papaparse": "^5.7.0",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"react-dropzone": "^20.1.4",
"react-i18next": "^17.1.3",
"react-router": "^8.5.0",
"smol-toml": "^1.9.1",
"sonner": "^2.0.8",
"tailwind-merge": "^3.7.0",
"zustand": "^5.0.16"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@tailwindcss/vite": "^4.3.3",
"@tauri-apps/cli": "^2.12.4",
"@testing-library/dom": "^10.4.2",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.8",
"@types/node": "^26.6.5",
"@types/papaparse": "^5.5.2",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@typescript/native": "npm:typescript@^7.0.2",
"@vitejs/plugin-react": "^6.1.2",
"@vitest/coverage-v8": "^5.0.5",
"eslint": "^10.13.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.7",
"globals": "^17.13.0",
"jsdom": "^30.1.3",
"knip": "^6.42.1",
"prettier": "^3.9.10",
"prettier-plugin-tailwindcss": "^0.8.1",
"tailwindcss": "^4.3.3",
"tw-animate-css": "^1.4.0",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"typescript-eslint": "^8.72.0",
"vite": "^8.3.5",
"vitest": "^5.0.5",
"wrangler": "^4.152.0"
}
}