-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.59 KB
/
Copy pathpackage.json
File metadata and controls
38 lines (38 loc) · 1.59 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
{
"name": "libreutils",
"version": "0.2.0",
"private": true,
"description": "A privacy-first collection of useful web tools that run entirely in your browser",
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/FumingPower3925/libreutils.git"
},
"workspaces": [
"shared",
"tools/*"
],
"scripts": {
"dev": "bun run ./src/dev.ts",
"build": "bun run build:shared && bun run build:tools && bun run build:web",
"build:shared": "bun run --cwd shared build",
"build:tools": "bun run --filter '@libreutils/tool-*' build",
"build:web": "bun build ./src/index.ts --outdir ./dist --target browser --minify --splitting --format=esm --external 7z-wasm && cp ./src/index.html ./dist/ && cp -r ./public/* ./dist/ && cat ./shared/src/styles/variables.css ./shared/src/styles/base.css ./shared/src/styles/components.css > ./dist/styles.css && bun run ./scripts/copy-vendor.ts",
"clean": "rm -rf node_modules shared/node_modules tools/*/node_modules dist shared/dist tools/*/dist",
"test": "bun test .test.ts",
"test:unit": "bun test --filter '*.test.ts'",
"test:e2e": "bun test --filter '*.e2e.test.ts'",
"lint": "bun run typecheck",
"typecheck": "tsc --noEmit",
"version:sync": "bun run ./scripts/sync-version.ts",
"hooks:install": "bun run ./scripts/install-hooks.ts",
"test:e2e:playwright": "bunx playwright test"
},
"devDependencies": {
"@happy-dom/global-registrator": "20.8.3",
"@playwright/test": "1.58.2",
"@types/bun": "^1.3.5",
"happy-dom": "20.8.3",
"typescript": "5.9.3"
}
}