-
Notifications
You must be signed in to change notification settings - Fork 535
/
package.json
116 lines (116 loc) · 4.28 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"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"
}