-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
115 lines (115 loc) · 4.96 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "watskeburt",
"version": "4.2.2",
"description": "List files changed since a git revision",
"keywords": [
"git",
"diff"
],
"homepage": "https://github.com/sverweij/watskeburt",
"repository": {
"type": "git",
"url": "git+https://github.com/sverweij/watskeburt.git"
},
"bugs": {
"url": "https://github.com/sverweij/watskeburt/issues"
},
"author": {
"name": "Sander Verweij",
"url": "https://sverweij.github.io"
},
"license": "MIT",
"bin": {
"watskeburt": "dist/run-cli.js"
},
"main": "dist/main.js",
"module": "dist/main.js",
"type": "module",
"sideEffects": false,
"exports": {
".": [
{
"types": "./types/watskeburt.d.ts",
"import": "./dist/main.js"
},
"./dist/main.js"
]
},
"types": "types/watskeburt.d.ts",
"files": [
"dist",
"!**/*.DS_Store",
"types",
"LICENSE",
"package.json",
"README.md"
],
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.17.0",
"@types/node": "22.10.5",
"@typescript-eslint/eslint-plugin": "8.19.1",
"c8": "10.1.3",
"clean-pkg-json": "1.2.0",
"dependency-cruiser": "16.9.0",
"eslint": "9.17.0",
"eslint-config-moving-meadow": "5.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-budapestian": "6.0.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-mocha": "10.5.0",
"eslint-plugin-n": "17.15.1",
"eslint-plugin-security": "3.0.1",
"eslint-plugin-unicorn": "56.0.1",
"npm-run-all": "4.1.5",
"prettier": "3.4.2",
"tsx": "4.19.2",
"typescript": "5.7.3",
"upem": "9.0.4"
},
"overrides": {
"cross-spawn": ">=6.0.6"
},
"resolutions": {
"cross-spawn": ">=6.0.6"
},
"engines": {
"node": "^18||>=20"
},
"scripts": {
"build": "npm-run-all --sequential build:clean build:version build:dist build:format",
"build:version": "tsx tools/get-version.ts > src/version.ts",
"build:clean": "rm -rf dist/*",
"build:dist": "tsc",
"build:format": "prettier --log-level warn --write --use-tabs dist/",
"check": "npm-run-all --parallel --aggregate-output lint depcruise test:cover",
"clean": "rm -rf dist",
"test": "tsx --test-reporter ./tools/dot-with-summary.reporter.js --test src/*.spec.ts src/**/*.spec.ts",
"test:cover": "c8 npm test",
"depcruise": "depcruise dist src types",
"depcruise:graph": "depcruise src types --include-only '^(dist|src|types)' --output-type dot | dot -T svg | tee docs/dependency-graph.svg | depcruise-wrap-stream-in-html > docs/dependency-graph.html",
"depcruise:graph:dev": "depcruise dist src types --include-only '^(dist|src|types)' --prefix vscode://file/$(pwd)/ --output-type dot | dot -T svg | depcruise-wrap-stream-in-html | browser",
"depcruise:graph:diff:dev": "depcruise dist src types --include-only '^(dist|src|types)' --highlight \"$(node dist/run-cli.js main -T regex)\" --prefix vscode://file/$(pwd)/ --output-type dot | dot -T svg | depcruise-wrap-stream-in-html | browser",
"depcruise:graph:diff:mermaid": "depcruise dist src types --include-only '^(dist|src|types)' --output-type mermaid --output-to - --highlight \"$(node dist/run-cli.js $SHA -T regex)\"",
"depcruise:html": "depcruise src types --progress --output-type err-html --output-to dependency-violation-report.html",
"depcruise:text": "depcruise src types --progress --output-type text",
"depcruise:focus": "depcruise src types --progress --output-type text --focus",
"depcruise:reaches": "depcruise src types --progress --output-type text --reaches",
"format": "prettier --log-level warn --write \"{src,tools}/**/*.{js,ts}\" \"types/**/*.ts\" \"*.{json,yml,md,js}\" \"!package-lock.json\"",
"format:check": "prettier --log-level warn --check \"{src,tools}/**/*.ts\" \"types/**/*.ts\" \"*.{json,yml,md,js}\" \"!package-lock.json\"",
"lint": "npm-run-all --parallel --aggregate-output format:check lint:eslint lint:types",
"lint:fix": "npm-run-all --parallel --aggregate-output format lint:eslint:fix",
"lint:eslint": "eslint src types tools --cache --cache-location node_modules/.cache/eslint/",
"lint:eslint:fix": "eslint src types tools --fix --cache --cache-location node_modules/.cache/eslint/",
"lint:types": "tsc --noEmit",
"prepack": "clean-pkg-json --dry | jq '.scripts = {test: \"echo see github for test, build and analysis scripts\"}' > smol-package.json && mv smol-package.json package.json && prettier --log-level warn --write --use-tabs package.json types",
"postpack": "git restore package.json types",
"scm:stage": "git add .",
"update-dependencies": "npm-run-all --sequential upem:update upem:install lint:fix check",
"upem-outdated": "npm outdated --json --long | upem --dry-run",
"upem:install": "npm install",
"upem:update": "npm outdated --json --long | upem | pbcopy && pbpaste",
"version": "npm-run-all --sequential clean build lint depcruise:graph scm:stage"
}
}