size-report 3.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- size_report-3.2.0/LICENSE +21 -0
- size_report-3.2.0/MANIFEST.in +2 -0
- size_report-3.2.0/PKG-INFO +107 -0
- size_report-3.2.0/README.md +72 -0
- size_report-3.2.0/pyproject.toml +31 -0
- size_report-3.2.0/python/size_report/__init__.py +7 -0
- size_report-3.2.0/python/size_report/__main__.py +6 -0
- size_report-3.2.0/python/size_report/cli.py +26 -0
- size_report-3.2.0/python/size_report/js/LICENSE +21 -0
- size_report-3.2.0/python/size_report/js/bin/size.js +6 -0
- size_report-3.2.0/python/size_report/js/package.json +81 -0
- size_report-3.2.0/python/size_report/js/src/args.js +277 -0
- size_report-3.2.0/python/size_report/js/src/artifact.js +66 -0
- size_report-3.2.0/python/size_report/js/src/check.js +139 -0
- size_report-3.2.0/python/size_report/js/src/cli.js +102 -0
- size_report-3.2.0/python/size_report/js/src/config.js +354 -0
- size_report-3.2.0/python/size_report/js/src/css.js +28 -0
- size_report-3.2.0/python/size_report/js/src/data.js +113 -0
- size_report-3.2.0/python/size_report/js/src/derived.js +150 -0
- size_report-3.2.0/python/size_report/js/src/diff.js +77 -0
- size_report-3.2.0/python/size_report/js/src/doctor.js +297 -0
- size_report-3.2.0/python/size_report/js/src/explain.js +139 -0
- size_report-3.2.0/python/size_report/js/src/filter.js +41 -0
- size_report-3.2.0/python/size_report/js/src/git.js +366 -0
- size_report-3.2.0/python/size_report/js/src/history.js +270 -0
- size_report-3.2.0/python/size_report/js/src/hook.js +385 -0
- size_report-3.2.0/python/size_report/js/src/init.js +230 -0
- size_report-3.2.0/python/size_report/js/src/journal.js +68 -0
- size_report-3.2.0/python/size_report/js/src/locales.js +143 -0
- size_report-3.2.0/python/size_report/js/src/log.js +78 -0
- size_report-3.2.0/python/size_report/js/src/metrics.js +252 -0
- size_report-3.2.0/python/size_report/js/src/minify.js +94 -0
- size_report-3.2.0/python/size_report/js/src/modes.js +197 -0
- size_report-3.2.0/python/size_report/js/src/now.js +49 -0
- size_report-3.2.0/python/size_report/js/src/optional.js +33 -0
- size_report-3.2.0/python/size_report/js/src/page/app.css +268 -0
- size_report-3.2.0/python/size_report/js/src/page/app.js +205 -0
- size_report-3.2.0/python/size_report/js/src/page/build.js +273 -0
- size_report-3.2.0/python/size_report/js/src/page/dom.js +35 -0
- size_report-3.2.0/python/size_report/js/src/page/panel.js +293 -0
- size_report-3.2.0/python/size_report/js/src/page/payload.js +168 -0
- size_report-3.2.0/python/size_report/js/src/page/state.js +285 -0
- size_report-3.2.0/python/size_report/js/src/page/table.js +440 -0
- size_report-3.2.0/python/size_report/js/src/parse-worker.js +34 -0
- size_report-3.2.0/python/size_report/js/src/parse.js +134 -0
- size_report-3.2.0/python/size_report/js/src/pathtree.js +61 -0
- size_report-3.2.0/python/size_report/js/src/project.js +327 -0
- size_report-3.2.0/python/size_report/js/src/query.js +124 -0
- size_report-3.2.0/python/size_report/js/src/refusal.js +163 -0
- size_report-3.2.0/python/size_report/js/src/revs.js +54 -0
- size_report-3.2.0/python/size_report/js/src/size-table.js +59 -0
- size_report-3.2.0/python/size_report/js/src/snapshot.js +88 -0
- size_report-3.2.0/python/size_report/js/src/strip/forms.js +29 -0
- size_report-3.2.0/python/size_report/js/src/strip/guard.js +115 -0
- size_report-3.2.0/python/size_report/js/src/strip/js.js +136 -0
- size_report-3.2.0/python/size_report/js/src/strip/py.js +277 -0
- size_report-3.2.0/python/size_report/js/src/strip/python-guard-worker.js +94 -0
- size_report-3.2.0/python/size_report/js/src/strip.js +56 -0
- size_report-3.2.0/python/size_report/js/src/table.css +144 -0
- size_report-3.2.0/python/size_report/js/src/textable.js +31 -0
- size_report-3.2.0/python/size_report/js/src/tiktoken-bridge-worker.js +107 -0
- size_report-3.2.0/python/size_report/js/src/tokens.js +215 -0
- size_report-3.2.0/python/size_report/js/src/toml.js +296 -0
- size_report-3.2.0/python/size_report/js/src/tool.js +37 -0
- size_report-3.2.0/python/size_report/js/templates/README.md +134 -0
- size_report-3.2.0/python/size_report/js/templates/ci-python.yml +71 -0
- size_report-3.2.0/python/size_report/js/templates/ci.yml +68 -0
- size_report-3.2.0/python/size_report/js/templates/size-report.config.json +53 -0
- size_report-3.2.0/python/size_report/runtime.py +259 -0
- size_report-3.2.0/python/size_report/tiktoken_worker.py +156 -0
- size_report-3.2.0/python/size_report.egg-info/PKG-INFO +107 -0
- size_report-3.2.0/python/size_report.egg-info/SOURCES.txt +75 -0
- size_report-3.2.0/python/size_report.egg-info/dependency_links.txt +1 -0
- size_report-3.2.0/python/size_report.egg-info/entry_points.txt +3 -0
- size_report-3.2.0/python/size_report.egg-info/requires.txt +3 -0
- size_report-3.2.0/python/size_report.egg-info/top_level.txt +1 -0
- size_report-3.2.0/setup.cfg +4 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 vernikr
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: size-report
|
|
3
|
+
Version: 3.2.0
|
|
4
|
+
Summary: Tracking how the volume of code and documents grows across git history: raw / min / tokens
|
|
5
|
+
Author: vernikr
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026 vernikr
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: Homepage, https://github.com/vernikr/size-report-v2
|
|
29
|
+
Requires-Python: >=3.10
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
License-File: LICENSE
|
|
32
|
+
Provides-Extra: tokens
|
|
33
|
+
Requires-Dist: tiktoken>=0.7; extra == "tokens"
|
|
34
|
+
Dynamic: license-file
|
|
35
|
+
|
|
36
|
+
# size-report
|
|
37
|
+
|
|
38
|
+
Watches how much code and documentation a project carries, commit by commit. Every file is measured
|
|
39
|
+
as written (`raw`), minified (`min`) and in tokens for a language model (`tok`), so a person sees
|
|
40
|
+
where a project swells and an agent sees what a change weighs in its own context. It forbids nothing
|
|
41
|
+
and blocks nothing: it only shows.
|
|
42
|
+
|
|
43
|
+
The report is a single self-contained page — no server, no network — written where you name it,
|
|
44
|
+
outside the repository too. A project needs no settings to start: with no config file the tool
|
|
45
|
+
derives them from the project and says so in one line.
|
|
46
|
+
|
|
47
|
+
One canonical JavaScript engine (`src/`) ships in two registries from the same release tag:
|
|
48
|
+
|
|
49
|
+
- **npm (`@vernikr/size-report`)** for JavaScript/TypeScript repositories (`Node >= 20.19`).
|
|
50
|
+
- **PyPI (`size-report`)** for Python-first (`uv` / `pyproject.toml`) repositories with zero
|
|
51
|
+
`package.json` or `node_modules/` clutter in the consumer workspace.
|
|
52
|
+
|
|
53
|
+
## Install
|
|
54
|
+
|
|
55
|
+
### Python (`uv` / PyPI)
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
uv add --dev "size-report[tokens]" # or `uv add --dev size-report` without tiktoken
|
|
59
|
+
uvx size-report --help # one-off run without adding to the project
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
The Python package exposes `size`, `size-report`, and `python -m size_report`. It reuses a local
|
|
63
|
+
`node >= 20.19` when present, or downloads, SHA-256-verifies, and caches the pinned standalone Node
|
|
64
|
+
runtime in the user's cache directory (never inside the repository). Installing the `[tokens]` extra
|
|
65
|
+
provides exact `o200k_base` / `cl100k_base` token counts via `tiktoken`.
|
|
66
|
+
|
|
67
|
+
### JavaScript / Node (`pnpm` / npm)
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
pnpm add -D @vernikr/size-report # npm i -D / yarn add -D work too
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Needs a git repository with history and Node ≥ 20.19.
|
|
74
|
+
|
|
75
|
+
## Use
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
# Python-first (uv) — or substitute `pnpm exec size` in Node projects
|
|
79
|
+
uv run size # the sizes now (with "output" in settings: verify the stored report)
|
|
80
|
+
uv run size --write ../r.html # build the report there — any path; settings are derived if absent
|
|
81
|
+
uv run size --init # pin what was derived into pyproject.toml [tool.size-report] (or size-table.config.json)
|
|
82
|
+
uv run size check # did anything in the history go past the columns?
|
|
83
|
+
uv run size explain <commit> # why one commit has no row
|
|
84
|
+
uv run size diff --tree # how much the last commit moved the sizes, folder by folder
|
|
85
|
+
uv run size diff --worktree # the same for uncommitted changes
|
|
86
|
+
uv run size now --tree # the sizes now, where they live, the biggest first
|
|
87
|
+
uv run size log # the last 20 commits that changed the sizes, and by how much
|
|
88
|
+
uv run size doctor # all diagnostics in one answer
|
|
89
|
+
uv run size install-hook ../r.html # rebuild it there after every commit and merge (never commits)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
For Python-first projects, [`templates/ci-python.yml`](templates/ci-python.yml) provides the GitHub
|
|
93
|
+
Actions check and [`.pre-commit-hooks.yaml`](.pre-commit-hooks.yaml) provides `size-verify` and
|
|
94
|
+
`size-check` hooks for `pre-commit`.
|
|
95
|
+
|
|
96
|
+
## Where the rest is
|
|
97
|
+
|
|
98
|
+
- [`docs/architecture.md`](docs/architecture.md) — how the tool is built, dual distribution, the
|
|
99
|
+
checks and the gate against bloat.
|
|
100
|
+
- [`docs/wiring.md`](docs/wiring.md) — wiring it into npm or Python (`uv`) projects, migrating from
|
|
101
|
+
synthetic `package.json`, settings, and the surface for an agent.
|
|
102
|
+
- [`docs/files.md`](docs/files.md) — what is in this repository.
|
|
103
|
+
- [`AGENTS.md`](AGENTS.md) — how to work inside this repository.
|
|
104
|
+
|
|
105
|
+
## License
|
|
106
|
+
|
|
107
|
+
MIT
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# size-report
|
|
2
|
+
|
|
3
|
+
Watches how much code and documentation a project carries, commit by commit. Every file is measured
|
|
4
|
+
as written (`raw`), minified (`min`) and in tokens for a language model (`tok`), so a person sees
|
|
5
|
+
where a project swells and an agent sees what a change weighs in its own context. It forbids nothing
|
|
6
|
+
and blocks nothing: it only shows.
|
|
7
|
+
|
|
8
|
+
The report is a single self-contained page — no server, no network — written where you name it,
|
|
9
|
+
outside the repository too. A project needs no settings to start: with no config file the tool
|
|
10
|
+
derives them from the project and says so in one line.
|
|
11
|
+
|
|
12
|
+
One canonical JavaScript engine (`src/`) ships in two registries from the same release tag:
|
|
13
|
+
|
|
14
|
+
- **npm (`@vernikr/size-report`)** for JavaScript/TypeScript repositories (`Node >= 20.19`).
|
|
15
|
+
- **PyPI (`size-report`)** for Python-first (`uv` / `pyproject.toml`) repositories with zero
|
|
16
|
+
`package.json` or `node_modules/` clutter in the consumer workspace.
|
|
17
|
+
|
|
18
|
+
## Install
|
|
19
|
+
|
|
20
|
+
### Python (`uv` / PyPI)
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
uv add --dev "size-report[tokens]" # or `uv add --dev size-report` without tiktoken
|
|
24
|
+
uvx size-report --help # one-off run without adding to the project
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The Python package exposes `size`, `size-report`, and `python -m size_report`. It reuses a local
|
|
28
|
+
`node >= 20.19` when present, or downloads, SHA-256-verifies, and caches the pinned standalone Node
|
|
29
|
+
runtime in the user's cache directory (never inside the repository). Installing the `[tokens]` extra
|
|
30
|
+
provides exact `o200k_base` / `cl100k_base` token counts via `tiktoken`.
|
|
31
|
+
|
|
32
|
+
### JavaScript / Node (`pnpm` / npm)
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pnpm add -D @vernikr/size-report # npm i -D / yarn add -D work too
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Needs a git repository with history and Node ≥ 20.19.
|
|
39
|
+
|
|
40
|
+
## Use
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Python-first (uv) — or substitute `pnpm exec size` in Node projects
|
|
44
|
+
uv run size # the sizes now (with "output" in settings: verify the stored report)
|
|
45
|
+
uv run size --write ../r.html # build the report there — any path; settings are derived if absent
|
|
46
|
+
uv run size --init # pin what was derived into pyproject.toml [tool.size-report] (or size-table.config.json)
|
|
47
|
+
uv run size check # did anything in the history go past the columns?
|
|
48
|
+
uv run size explain <commit> # why one commit has no row
|
|
49
|
+
uv run size diff --tree # how much the last commit moved the sizes, folder by folder
|
|
50
|
+
uv run size diff --worktree # the same for uncommitted changes
|
|
51
|
+
uv run size now --tree # the sizes now, where they live, the biggest first
|
|
52
|
+
uv run size log # the last 20 commits that changed the sizes, and by how much
|
|
53
|
+
uv run size doctor # all diagnostics in one answer
|
|
54
|
+
uv run size install-hook ../r.html # rebuild it there after every commit and merge (never commits)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
For Python-first projects, [`templates/ci-python.yml`](templates/ci-python.yml) provides the GitHub
|
|
58
|
+
Actions check and [`.pre-commit-hooks.yaml`](.pre-commit-hooks.yaml) provides `size-verify` and
|
|
59
|
+
`size-check` hooks for `pre-commit`.
|
|
60
|
+
|
|
61
|
+
## Where the rest is
|
|
62
|
+
|
|
63
|
+
- [`docs/architecture.md`](docs/architecture.md) — how the tool is built, dual distribution, the
|
|
64
|
+
checks and the gate against bloat.
|
|
65
|
+
- [`docs/wiring.md`](docs/wiring.md) — wiring it into npm or Python (`uv`) projects, migrating from
|
|
66
|
+
synthetic `package.json`, settings, and the surface for an agent.
|
|
67
|
+
- [`docs/files.md`](docs/files.md) — what is in this repository.
|
|
68
|
+
- [`AGENTS.md`](AGENTS.md) — how to work inside this repository.
|
|
69
|
+
|
|
70
|
+
## License
|
|
71
|
+
|
|
72
|
+
MIT
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "size-report"
|
|
7
|
+
version = "3.2.0"
|
|
8
|
+
description = "Tracking how the volume of code and documents grows across git history: raw / min / tokens"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = { file = "LICENSE" }
|
|
12
|
+
authors = [{ name = "vernikr" }]
|
|
13
|
+
dependencies = []
|
|
14
|
+
|
|
15
|
+
[project.optional-dependencies]
|
|
16
|
+
tokens = ["tiktoken>=0.7"]
|
|
17
|
+
|
|
18
|
+
[project.scripts]
|
|
19
|
+
size = "size_report.cli:main"
|
|
20
|
+
size-report = "size_report.cli:main"
|
|
21
|
+
|
|
22
|
+
[project.urls]
|
|
23
|
+
Homepage = "https://github.com/vernikr/size-report-v2"
|
|
24
|
+
|
|
25
|
+
[tool.setuptools]
|
|
26
|
+
package-dir = { "" = "python" }
|
|
27
|
+
packages = ["size_report"]
|
|
28
|
+
include-package-data = true
|
|
29
|
+
|
|
30
|
+
[tool.setuptools.package-data]
|
|
31
|
+
size_report = ["js/*", "js/**/*"]
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"""The Python distribution of `size-report`.
|
|
2
|
+
|
|
3
|
+
The engine is JavaScript; this package is a thin launcher for it. Keeping this module free of imports
|
|
4
|
+
means `import size_report` stays cheap and cannot fail because a Node runtime is missing.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
__version__ = "3.2.0"
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""The console-script entry point: find the engine and a Node runtime, then get out of the way.
|
|
2
|
+
|
|
3
|
+
Everything the engine says is handed to the same file descriptors, with the same encoding and the same
|
|
4
|
+
exit code. This module does not parse flags, print results or interpret them: a second parser here would
|
|
5
|
+
drift from `--help` in `src/`.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
import sys
|
|
9
|
+
|
|
10
|
+
from .runtime import LAUNCH_EXIT, LaunchError, engine_script, node_binary, run
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def main(argv=None):
|
|
14
|
+
"""Return the engine's exit code, or `LAUNCH_EXIT` when the launcher itself could not start it.
|
|
15
|
+
|
|
16
|
+
The engine's codes 0..5 are verdicts about the project; a launcher failure is not one of them, so it
|
|
17
|
+
gets a code of its own rather than borrowing a verdict (and lying about what was checked).
|
|
18
|
+
"""
|
|
19
|
+
args = list(sys.argv[1:] if argv is None else argv)
|
|
20
|
+
try:
|
|
21
|
+
engine = engine_script()
|
|
22
|
+
node = node_binary()
|
|
23
|
+
return run(node, engine, args)
|
|
24
|
+
except LaunchError as exc:
|
|
25
|
+
sys.stderr.write("size: " + str(exc) + "\n")
|
|
26
|
+
return LAUNCH_EXIT
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 vernikr
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vernikr/size-report",
|
|
3
|
+
"version": "3.2.0",
|
|
4
|
+
"author": "vernikr",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/vernikr/size-report.git"
|
|
8
|
+
},
|
|
9
|
+
"description": "Tracking how the volume of code and documents grows across git history: raw / min / tokens; the report is one self-contained file written where you name it",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"packageManager": "pnpm@10.6.1",
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=20.19"
|
|
15
|
+
},
|
|
16
|
+
"bin": {
|
|
17
|
+
"size": "bin/size.js"
|
|
18
|
+
},
|
|
19
|
+
"exports": {
|
|
20
|
+
".": "./src/size-table.js"
|
|
21
|
+
},
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"bin",
|
|
27
|
+
"src",
|
|
28
|
+
"templates",
|
|
29
|
+
"README.md",
|
|
30
|
+
"LICENSE"
|
|
31
|
+
],
|
|
32
|
+
"sideEffects": false,
|
|
33
|
+
"scripts": {
|
|
34
|
+
"test": "node tools/run-tests.js fast",
|
|
35
|
+
"test:all": "node tools/run-tests.js full",
|
|
36
|
+
"suites:measure": "node tools/run-tests.js measure",
|
|
37
|
+
"lint": "eslint . || true",
|
|
38
|
+
"lint:strict": "eslint .",
|
|
39
|
+
"parity": "node tools/parity-freeze.js",
|
|
40
|
+
"parity:live": "node tools/parity-live.js",
|
|
41
|
+
"pack:check": "node tools/pack-check.js",
|
|
42
|
+
"wheel:build": "node tools/build-wheel.js",
|
|
43
|
+
"wheel:check": "node tools/build-wheel.js --check",
|
|
44
|
+
"check:standards": "node tools/check-standards.js",
|
|
45
|
+
"fixture": "node tools/make-fixture.js",
|
|
46
|
+
"verify:fast": "node tools/gates/run.js fast",
|
|
47
|
+
"verify": "node tools/gates/run.js full",
|
|
48
|
+
"verify:slow": "node tools/gates/run.js slow",
|
|
49
|
+
"metrics": "node tools/gates/metrics.js",
|
|
50
|
+
"dup": "node tools/gates/dup.js",
|
|
51
|
+
"dup:ci": "node tools/gates/dup.js --ref origin/main",
|
|
52
|
+
"dup:baseline": "node tools/gates/dup.js --update",
|
|
53
|
+
"deps": "node tools/gates/deps.js",
|
|
54
|
+
"cover": "node tools/gates/coverage.js",
|
|
55
|
+
"gate:files": "node tools/gates/gatefiles.js",
|
|
56
|
+
"baseline:metrics": "eslint --config eslint.metrics.config.js --suppressions-location .eslint-suppressions.json --prune-suppressions src bin tools test && eslint --config eslint.metrics.config.js --suppressions-location .eslint-suppressions.json --suppress-all src bin tools test",
|
|
57
|
+
"baseline:dup": "node tools/gates/dup.js --update",
|
|
58
|
+
"baseline:coverage": "node tools/gates/coverage.js --update",
|
|
59
|
+
"hooks:install": "git config core.hooksPath .githooks"
|
|
60
|
+
},
|
|
61
|
+
"keywords": [
|
|
62
|
+
"size",
|
|
63
|
+
"tokens",
|
|
64
|
+
"minify",
|
|
65
|
+
"git-history",
|
|
66
|
+
"report"
|
|
67
|
+
],
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@vernikr/size-report": "3.0.2",
|
|
70
|
+
"c8": "10",
|
|
71
|
+
"dependency-cruiser": "17",
|
|
72
|
+
"eslint": "^9.18.0",
|
|
73
|
+
"eslint-plugin-sonarjs": "4",
|
|
74
|
+
"jscpd": "5.2.0",
|
|
75
|
+
"jsdom": "~26"
|
|
76
|
+
},
|
|
77
|
+
"optionalDependencies": {
|
|
78
|
+
"esbuild": "0.28.2",
|
|
79
|
+
"gpt-tokenizer": "4.0.0"
|
|
80
|
+
}
|
|
81
|
+
}
|