-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 3.42 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
{
"name": "@mangs/bun-utils",
"version": "2.33.3",
"author": "Eric L. Goldstein",
"description": "Useful utils for your Bun projects",
"engines": {
"bun": "1.1.37"
},
"packageManager": "[email protected]",
"homepage": "https://github.com/mangs/bun-utils#readme",
"repository": {
"type": "git",
"url": "[email protected]:mangs/bun-utils.git"
},
"keywords": [
"bun",
"utils"
],
"files": [
"./config",
"./scripts",
"./src"
],
"bin": {
"check-environment-symlinks": "scripts/bun/checkEnvironmentSymlinks.mts",
"check-environment-versions": "scripts/bun/checkEnvironmentVersions.mts",
"check-package-version": "./scripts/bun/checkPackageVersion.mts",
"devserver": "scripts/bun/startDevelopmentServer.mts",
"install-git-hooks": "scripts/git/installGitHooks.mts",
"optimize-images": "scripts/bun/optimizeImages.mts",
"remove-git-hooks": "scripts/git/removeGitHooks.mts"
},
"exports": {
"./build": "./src/buildUtils.mts",
"./console": "./src/consoleUtils.mts",
"./filesystem": "./src/filesystemUtils.mts",
"./network": "./src/networkUtils.mts",
"./performance": "./src/performanceUtils.mts",
"./router": "./src/routerUtils.mts",
"./time": "./src/timeUtils.mts"
},
"scripts": {
"audit:node-modules": "cd node_modules && du -sh -- * | sort -h",
"build:documentation": "typedoc --options ./config/typedoc/typedoc.json",
"check:environment": "bun --bun run --silent check:environment:symlinks && bun run --silent check:environment:versions",
"check:environment:symlinks": "scripts/bun/checkEnvironmentSymlinks.mts",
"check:environment:versions": "scripts/bun/checkEnvironmentVersions.mts",
"check:formatting": "prettier --check --no-editorconfig .",
"check:lint-conflicts": "eslint-config-prettier ./src/index.mts",
"check:package-version": "scripts/bun/checkPackageVersion.mts",
"check:types": "tsc --noEmit",
"delete:build-artifacts": "rm -rf dist",
"delete:node-modules": "rm -rf node_modules",
"delete:package-lock": "rm -f bun.lockb",
"format:code": "prettier --write --no-editorconfig .",
"install:bun:expected-version": "bun --print '(await import(Bun.env.npm_package_json)).engines.bun' | (read BUN_VERSION; if [ $BUN_VERSION == `bun --version` ]; then echo Bun version $BUN_VERSION is already installed; else echo Installing Bun version $BUN_VERSION... && curl -fsSL https://bun.sh/install | bash -s \"bun-v$BUN_VERSION\"; fi)",
"lint:typescript": "echo Linting all TypeScript... && eslint --ext cts,ts,mts --max-warnings 0 .",
"list:eslint:disable-directives": "rg '/(/|\\*+)[ \\t]*eslint-disable[^*]*(\\*+/)?'",
"list:todo-comments": "rg --only-matching '(TODO|FIXME):[a-zA-Z0-9\\t .,;?]+'",
"postinstall": "bun scripts/git/removeGitHooks.mts && bun scripts/git/installGitHooks.mts",
"reinstall": "bun run --silent delete:package-lock && bun run --silent delete:node-modules && bun install",
"reinstall:use-lock-file": "bun run --silent delete:node-modules && bun install --frozen-lockfile"
},
"dependencies": {
"type-fest": "4.29.0"
},
"devDependencies": {
"@babbel/eslint-config": "2.2.0",
"@types/bun": "1.1.14",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"marked": "15.0.3",
"prettier": "3.4.1",
"sharp": "0.33.5",
"typedoc": "0.27.2",
"typedoc-github-wiki-theme": "2.1.0",
"typedoc-plugin-markdown": "4.3.0",
"typescript": "5.7.2"
}
}