代码拉取完成,页面将自动刷新
{
"private": true,
"name": "@jsonhero/jsonhero-web",
"description": "A beautiful JSON viewer for the web",
"license": "apache-2.0",
"scripts": {
"clean": "rimraf dist",
"build": "npm run build:css && npm run build:search && remix build",
"build:css": "tailwindcss -i ./styles/tailwind.css -o ./app/tailwind.css --minify",
"build:worker": "esbuild --define:process.env.NODE_ENV='\"production\"' --minify --bundle --sourcemap --outdir=dist ./worker",
"build:worker:analyze": "esbuild --define:process.env.NODE_ENV='\"production\"' --minify --bundle --sourcemap --metafile=meta.json --outdir=dist ./worker",
"build:visualize": "npm run clean && npm run build && npm run build:worker:analyze && esbuild-visualizer --metadata ./meta.json --exclude *.png",
"build:search": "esbuild ./app/entry.worker.ts --outfile=./public/entry.worker.js --bundle --format=esm --define:process.env.NODE_ENV='\"production\"'",
"dev:search": "esbuild ./app/entry.worker.ts --outfile=./public/entry.worker.js --bundle --format=esm --define:process.env.NODE_ENV='\"development\"' --watch",
"dev:worker": "esbuild --define:process.env.NODE_ENV='\"development\"' --bundle --sourcemap --outdir=dist ./worker",
"start:worker": "miniflare --env .env --build-command \"npm run dev:worker\" --watch",
"dev": "concurrently \"npm run dev:css\" \"npm run dev:search\" \"remix watch\"",
"dev:css": "tailwindcss -i ./styles/tailwind.css -o ./app/tailwind.css --watch",
"postinstall": "remix setup cloudflare-workers",
"start": "concurrently \"npm run dev\" \"npm run start:worker\"",
"deploy": "npm run build && wrangler publish",
"deploy:production": "npm run build && wrangler publish --env production",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"build:types": "tsc",
"build:types:watch": "tsc --watch",
"lint": "npm run build:types"
},
"dependencies": {
"@apihero/fetch": "^0.1.0",
"@codemirror/lang-json": "^0.19.1",
"@codemirror/rangeset": "^0.19.6",
"@heroicons/react": "^1.0.5",
"@js-temporal/polyfill": "^0.3.0",
"@jsonhero/fuzzy-json-search": "^0.2.0",
"@jsonhero/json-infer-types": "^1.2.x",
"@jsonhero/json-schema-fns": "^0.0.1",
"@jsonhero/path": "^1.0.17",
"@jsonhero/schema-infer": "^0.1.x",
"@radix-ui/react-dialog": "^0.1.7",
"@radix-ui/react-popover": "^0.1.5",
"@radix-ui/react-tabs": "^0.1.5",
"@radix-ui/react-toast": "1.0.0",
"@remix-run/cloudflare-workers": "^1.2.3",
"@remix-run/react": "^1.2.3",
"@remix-run/serve": "^1.2.3",
"@swan-io/boxed": "^0.2.1",
"@uiw/react-codemirror": "^4.3.3",
"@xmldom/xmldom": "^0.8.2",
"clsx": "^1.1.1",
"color": "^4.2.1",
"downshift": "^6.1.7",
"fathom-client": "^3.4.1",
"framer-motion": "^6.2.4",
"json-source-map": "^0.6.1",
"jwt-decode": "^3.1.2",
"lodash-es": "^4.17.21",
"nanoid": "^3.2.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-dropzone": "^11.4.2",
"react-hotkeys-hook": "^3.4.4",
"react-use-intercom": "^2.0.0",
"react-virtual": "^2.10.4",
"remix": "^1.2.3",
"tailwindcss-radix": "^1.6.0",
"tiny-invariant": "^1.2.0",
"ts-pattern": "^3.3.4"
},
"devDependencies": {
"@cloudflare/workers-types": "^2.2.2",
"@remix-run/dev": "^1.2.3",
"@tailwindcss/forms": "^0.4.0",
"@types/color": "^3.0.3",
"@types/jest": "^27.4.0",
"@types/lodash-es": "^4.17.6",
"@types/react": "^17.0.24",
"@types/react-dom": "^17.0.9",
"@types/ua-parser-js": "^0.7.36",
"concurrently": "^7.0.0",
"esbuild-visualizer": "^0.3.1",
"jest": "^27.4.7",
"miniflare": "^2.11.0",
"patch-package": "^6.4.7",
"rimraf": "^3.0.2",
"tailwindcss": "^3.0.22",
"ts-jest": "^27.1.3",
"typescript": "^4.6.x",
"wrangler": "^2.4.3"
},
"engines": {
"node": ">=14"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"moduleNameMapper": {
"^~/(.*)$": "<rootDir>/app/$1",
"^lodash-es$": "lodash"
},
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
},
"globalSetup": "./tests/setup.js"
},
"sideEffects": false,
"main": "dist/worker.js"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。