-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 4 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 4 KB
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
{
"name": "stampy-ui",
"description": "",
"license": "MIT",
"dependencies": {
"@remix-run/cloudflare": "^2.17.0",
"@remix-run/cloudflare-workers": "^2.17.0",
"@remix-run/css-bundle": "^2.17.0",
"@remix-run/node": "^2.17.0",
"@remix-run/react": "^2.17.0",
"@sentry/browser": "^10.11.0",
"@sentry/cloudflare": "^10.11.0",
"@sentry/remix": "^10.10.0",
"client-zip": "^2.5.0",
"copy-to-clipboard": "^3.3.3",
"dompurify": "^3.3.0",
"isbot": "^5.1.28",
"katex": "^0.16.23",
"lodash": "^4.17.21",
"markdown-it": "^14.1.0",
"markdown-it-footnote": "^4.0.0",
"node-html-parser": "^7.0.1",
"react": "^18.3.1",
"react-auto-height": "^1.2.1",
"react-dom": "^18.3.1",
"react-markdown": "^10.1.0",
"react-router-dom": "^6.28.0",
"rehype-katex": "^7.0.1",
"remark-math": "^6.0.0",
"remix": "^2.17.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20250719.0",
"@remix-run/dev": "^2.17.0",
"@remix-run/testing": "^2.17.0",
"@storybook/addon-designs": "^7.0.9",
"@storybook/addon-essentials": "^7.6.20",
"@storybook/addon-interactions": "^7.6.20",
"@storybook/addon-links": "^7.6.20",
"@storybook/addon-onboarding": "^1.0.11",
"@storybook/blocks": "^7.6.20",
"@storybook/react": "^7.6.20",
"@storybook/react-vite": "^7.6.20",
"@storybook/test": "^7.6.20",
"@svgr/cli": "^8.1.0",
"@types/dompurify": "^3.0.5",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.20",
"@types/markdown-it": "^14.1.2",
"@types/markdown-it-footnote": "^3.0.4",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.7.0",
"chromatic": "^10.9.6",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-unused-imports": "^4.1.4",
"jest": "^29.7.0",
"jest-environment-miniflare": "^2.14.4",
"npm-run-all": "^4.1.5",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"storybook": "^7.6.20",
"toml": "^3.0.0",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"vite": "^5.4.19",
"wrangler": "^3.114.11"
},
"engines": {
"node": ">=18"
},
"sideEffects": false,
"scripts": {
"generate-icons": "npx @svgr/cli --typescript --jsx-runtime automatic --out-dir app/components/icons-generated -- app/assets/icons",
"eslint": "eslint --ignore-pattern .gitignore \"**/*.ts*\"",
"prettier": "prettier --check --ignore-path .gitignore \"**/*.{ts*,js,css,md,html}\"",
"lint": "tsc && npm run prettier && npm run eslint",
"eslint:fix": "eslint --fix --ignore-pattern .gitignore \"**/*.ts*\"",
"prettier:fix": "prettier --write --ignore-path .gitignore \"**/*.{ts*,js,css,md,html}\"",
"lint:fix": "tsc && npm run prettier:fix && npm run eslint:fix",
"build": "rimraf public/build && npm run generate-icons && cross-env NODE_ENV=production remix build --sourcemap && echo \"About to run Sentry sourcemap upload - SENTRY_AUTH_TOKEN is set: $(if [ -n \"$SENTRY_AUTH_TOKEN\" ]; then echo 'yes'; else echo 'no'; fi)\" && (if [ -n \"$SENTRY_AUTH_TOKEN\" ]; then sentry-upload-sourcemaps --org ai-safety-info --project prod-stampy-ui --sourcemap; else echo 'Skipping Sentry sourcemap upload (no auth token available)'; fi)",
"start": "cross-env remix dev --manual -c \"wrangler dev ./build/index.js\"",
"dev": "npm run generate-icons && npm start",
"tsc": "tsc",
"wrangler": "wrangler",
"deploy": "npm run build && wrangler deploy",
"test": "npm run build && jest",
"refresh-test-data": "ts-node app/mocks/coda-responses/refresh-coda-data-for-tests.ts",
"clean-cache": "rimraf .cache .wrangler node_modules/.cache build public/build",
"storybook": "storybook dev -p 6006"
},
"main": "build/index.js"
}