Files
radicle-explorer/package.json
T
Thomas Scholtes 50dd25a6b8 Use ESlint warnings and Prettier config
* We remove all styling related lints and use `eslint-config-prettier`.
  There’s no need to bother developers with styling lints because
  Prettier already takes care of that. (This is the [recommended
  integration with Prettier][1])

* We use the “warning” level for lints that are code style related. This
  allows developers to distinguish issues that need to be fixed now
  (like type errors) and issues that can be fixed later (like style
  errors). We do enforce all lints on CI by settings
  `--max-warnings=0`.

[1]: https://prettier.io/docs/en/integrating-with-linters.html

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-07-11 11:08:27 +02:00

74 lines
2.4 KiB
JSON

{
"version": "1.0.0",
"scripts": {
"start": "vite",
"start:ipfs": "VITE_HASH_ROUTING=1 vite --base ./",
"serve": "vite preview",
"build": "vite build && scripts/copy-katex-assets && scripts/install-twemoji-assets",
"build:ipfs": "VITE_HASH_ROUTING=1 vite build --base ./",
"postinstall": "scripts/copy-katex-assets && scripts/install-twemoji-assets",
"check": "scripts/check",
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' --ignore-path .gitignore --write",
"test:unit": "TZ='UTC' vitest run",
"test:e2e": "TZ='UTC' playwright test",
"test:e2e:ipfs": "TZ='UTC' playwright test ./tests/e2e/hashRouter.spec.ts --config playwright.ipfs.config.ts",
"test:httpd-api:unit": "TZ='UTC' vitest run --config httpd-client/vite.config.ts --reporter verbose --threads false"
},
"type": "module",
"engines": {
"node": ">=18.16.0"
},
"devDependencies": {
"@playwright/test": "^1.35.1",
"@sinonjs/fake-timers": "^11.0.0",
"@sveltejs/vite-plugin-svelte": "^2.4.2",
"@tsconfig/svelte": "^5.0.0",
"@types/dompurify": "^3.0.2",
"@types/katex": "^0.16.0",
"@types/lodash": "^4.14.195",
"@types/marked": "^5.0.0",
"@types/md5": "^2.3.2",
"@types/node": "^18.16.12",
"@types/sinon": "^10.0.15",
"@types/sinonjs__fake-timers": "^8.1.2",
"@types/wait-on": "^5.3.1",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"chalk": "^5.3.0",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-svelte": "^2.32.2",
"execa": "^7.1.1",
"exit-hook": "^3.2.0",
"get-port": "^7.0.0",
"happy-dom": "^10.0.3",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.1",
"svelte-check": "^3.4.5",
"typescript": "^5.1.6",
"vite": "^4.4.2",
"vitest": "^0.33.0",
"wait-on": "^7.0.1"
},
"dependencies": {
"@radicle/gray-matter": "4.1.0",
"@wooorm/starry-night": "^2.1.1",
"async-mutex": "^0.4.0",
"baconjs": "^3.0.17",
"bs58": "^5.0.0",
"buffer": "^6.0.3",
"dompurify": "^3.0.4",
"hast-util-to-dom": "^3.1.1",
"hast-util-to-html": "^8.0.4",
"katex": "^0.16.8",
"lodash": "^4.17.21",
"marked": "^5.1.0",
"md5": "^2.3.0",
"plausible-tracker": "^0.3.8",
"sinon": "^15.2.0",
"svelte": "^4.0.5",
"twemoji": "^14.0.2",
"zod": "^3.21.4"
}
}