aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: edd7d8003ebee707480841817d733320a8dbdc07 (plain) (blame)
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
{
  "dependencies": {
    "esbuild": "^0.17.15",
    "eslint": "^8.20.0",
    "eslint-config-prettier": "^8.5.0",
    "mitata": "^0.1.3",
    "peechy": "latest",
    "prettier": "^2.4.1",
    "react": "next",
    "react-dom": "next",
    "typescript": "^5.0.2"
  },
  "private": true,
  "scripts": {
    "build-runtime": "esbuild --target=esnext  --bundle src/runtime/index.ts --format=iife --platform=browser --global-name=BUN_RUNTIME > src/runtime.out.js; cat src/runtime.footer.js >> src/runtime.out.js",
    "build-fallback": "esbuild --target=esnext  --bundle src/fallback.ts --format=iife --platform=browser --minify > src/fallback.out.js",
    "postinstall": "bash .scripts/postinstall.sh",
    "typecheck": "tsc --noEmit && cd test && bun run typecheck",
    "fmt": "prettier --write --cache './{src,test,bench}/**/*.{mjs,ts,tsx,js,jsx}'",
    "lint": "eslint './**/*.d.ts' --cache",
    "lint:fix": "eslint './**/*.d.ts' --cache --fix"
  },
  "devDependencies": {
    "@types/react": "^18.0.25",
    "@typescript-eslint/eslint-plugin": "^5.31.0",
    "@typescript-eslint/parser": "^5.31.0",
    "bun-webkit": "0.0.1-6bd997e38e30f50b3114b178f4d5e2fc5da6da25"
  },
  "version": "0.0.0",
  "prettier": "./.prettierrc.cjs"
}