2022-03-01 09:31:09 +00:00
{
"private" : true ,
2022-03-01 09:37:26 +00:00
"name" : "@jsonhero/jsonhero-web" ,
"description" : "A beautiful JSON viewer for the web" ,
"license" : "apache-2.0" ,
2022-03-01 09:31:09 +00:00
"scripts" : {
"clean" : "rimraf dist" ,
2022-04-08 14:07:39 +01:00
"build" : "npm run build:css && npm run build:search && remix build" ,
2022-03-01 09:31:09 +00:00
"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" ,
2022-04-08 14:07:39 +01:00
"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" ,
2022-03-01 09:31:09 +00:00
"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" ,
2022-04-08 14:07:39 +01:00
"dev" : "concurrently \"npm run dev:css\" \"npm run dev:search\" \"remix watch\"" ,
2022-03-01 09:31:09 +00:00
"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" ,
2022-04-29 11:15:04 +01:00
"build:types:watch" : "tsc --watch" ,
"lint" : "npm run build:types"
2022-03-01 09:31:09 +00:00
} ,
"dependencies" : {
2022-11-22 15:43:04 +00:00
"@apihero/fetch" : "^0.1.0" ,
2022-03-01 09:31:09 +00:00
"@codemirror/lang-json" : "^0.19.1" ,
"@codemirror/rangeset" : "^0.19.6" ,
"@heroicons/react" : "^1.0.5" ,
"@js-temporal/polyfill" : "^0.3.0" ,
2022-04-14 09:45:42 +01:00
"@jsonhero/fuzzy-json-search" : "^0.2.0" ,
2022-03-01 09:31:09 +00:00
"@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" ,
2022-04-08 14:07:39 +01:00
"@radix-ui/react-dialog" : "^0.1.7" ,
2022-03-01 09:31:09 +00:00
"@radix-ui/react-popover" : "^0.1.5" ,
"@radix-ui/react-tabs" : "^0.1.5" ,
2022-09-28 21:22:26 +02:00
"@radix-ui/react-toast" : "1.0.0" ,
2022-03-03 09:48:06 +00:00
"@remix-run/cloudflare-workers" : "^1.2.3" ,
"@remix-run/react" : "^1.2.3" ,
"@remix-run/serve" : "^1.2.3" ,
2022-04-08 14:07:39 +01:00
"@swan-io/boxed" : "^0.2.1" ,
2022-03-01 09:31:09 +00:00
"@uiw/react-codemirror" : "^4.3.3" ,
2022-10-05 09:53:12 +01:00
"@xmldom/xmldom" : "^0.8.2" ,
2022-03-01 09:31:09 +00:00
"clsx" : "^1.1.1" ,
"color" : "^4.2.1" ,
2022-04-08 14:07:39 +01:00
"downshift" : "^6.1.7" ,
2022-03-01 09:31:09 +00:00
"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" ,
2022-11-25 14:00:33 +00:00
"react-use-intercom" : "^2.0.0" ,
2022-03-04 16:23:42 +00:00
"react-virtual" : "^2.10.4" ,
2022-03-03 09:48:06 +00:00
"remix" : "^1.2.3" ,
2022-03-01 09:31:09 +00:00
"tailwindcss-radix" : "^1.6.0" ,
"tiny-invariant" : "^1.2.0" ,
2022-10-05 09:53:12 +01:00
"ts-pattern" : "^3.3.4"
2022-03-01 09:31:09 +00:00
} ,
"devDependencies" : {
"@cloudflare/workers-types" : "^2.2.2" ,
2022-03-03 09:48:06 +00:00
"@remix-run/dev" : "^1.2.3" ,
2022-03-01 09:31:09 +00:00
"@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" ,
2022-06-06 14:11:20 +01:00
"@types/ua-parser-js" : "^0.7.36" ,
2022-03-01 09:31:09 +00:00
"concurrently" : "^7.0.0" ,
"esbuild-visualizer" : "^0.3.1" ,
"jest" : "^27.4.7" ,
2022-11-22 15:43:04 +00:00
"miniflare" : "^2.11.0" ,
2022-03-01 09:31:09 +00:00
"patch-package" : "^6.4.7" ,
"rimraf" : "^3.0.2" ,
"tailwindcss" : "^3.0.22" ,
"ts-jest" : "^27.1.3" ,
2022-11-22 15:43:04 +00:00
"typescript" : "^4.6.x" ,
"wrangler" : "^2.4.3"
2022-03-01 09:31:09 +00:00
} ,
"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"
}
2022-04-08 15:41:51 +01:00
} ,
"globalSetup" : "./tests/setup.js"
2022-03-01 09:31:09 +00:00
} ,
"sideEffects" : false ,
"main" : "dist/worker.js"
2022-09-20 10:14:34 +02:00
}