hermex 0.0.1-alpha.0

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.
package/package.json ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "hermex",
3
+ "version": "0.0.1-alpha.0",
4
+ "description": "SWC-based AST parser for analyzing code and React component usage patterns across entire codebases",
5
+ "main": "./dist/cli.js",
6
+ "bin": {
7
+ "react-usage-analyzer": "./dist/cli.js",
8
+ "rua": "./dist/cli.js"
9
+ },
10
+ "files": [
11
+ "dist",
12
+ "README.md",
13
+ "LICENSE.md"
14
+ ],
15
+ "scripts": {
16
+ "build": "tsup",
17
+ "check": "biome check",
18
+ "format": "biome format --write",
19
+ "format:ci": "biome ci",
20
+ "tests:ci": "echo 'No tests to run'",
21
+ "build:ci": "tsup --clean",
22
+ "dev": "tsup --watch",
23
+ "clean": "rm -rf dist",
24
+ "prepublishOnly": "pnpm run build -- FIXME WHY PREPUBLISH SCRIPT, ITS SOUNDS LIKE PLACE FOR ISSUES",
25
+ "test": "node test.js",
26
+ "parse": "node parser.js",
27
+ "analyze": "node analyze-usage.js",
28
+ "cli": "node dist/cli.js",
29
+ "cli:dev": "pnpm run build && node dist/cli.js",
30
+ "test-cli": "pnpm run build && node dist/cli.js analyze code-examples/**/*.tsx -l @design-system/foundation",
31
+ "test-compare": "pnpm run build && node dist/cli.js compare code-examples/**/*.tsx -l @mui/material antd @chakra-ui/react",
32
+ "test-summary": "pnpm run build && node dist/cli.js summary code-examples/**/*.tsx",
33
+ "test-patterns": "pnpm run build && node dist/cli.js patterns code-examples/**/*.tsx",
34
+ "test-stats": "pnpm run build && node dist/cli.js stats code-examples/**/*.tsx --chart",
35
+ "test-diff": "PLACEHOLDER FOR DIFF COMMAND"
36
+ },
37
+ "keywords": [
38
+ "hermex",
39
+ "react",
40
+ "ast",
41
+ "parser",
42
+ "swc",
43
+ "component",
44
+ "analysis",
45
+ "usage",
46
+ "patterns",
47
+ "cli"
48
+ ],
49
+ "dependencies": {
50
+ "@swc/core": "^1.3.107",
51
+ "@swc/types": "^0.1.5",
52
+ "@yarnpkg/lockfile": "^1.1.0",
53
+ "chalk": "^4.1.2",
54
+ "cli-table3": "^0.6.5",
55
+ "commander": "^14.0.2",
56
+ "glob": "^13.0.0",
57
+ "js-yaml": "^4.1.1",
58
+ "ora": "^5.4.1",
59
+ "simple-git": "^3.30.0",
60
+ "tmp": "^0.2.5"
61
+ },
62
+ "devDependencies": {
63
+ "@biomejs/biome": "2.3.8",
64
+ "@semantic-release/changelog": "^6.0.3",
65
+ "@semantic-release/commit-analyzer": "^13.0.1",
66
+ "@semantic-release/git": "^10.0.1",
67
+ "@semantic-release/npm": "^13.1.2",
68
+ "@semantic-release/release-notes-generator": "^14.1.0",
69
+ "@types/js-yaml": "^4.0.9",
70
+ "@types/node": "^20.10.0",
71
+ "@types/tmp": "^0.2.6",
72
+ "semantic-release": "^25.0.2",
73
+ "tsup": "^8.5.1",
74
+ "typescript": "^5.3.3"
75
+ },
76
+ "engines": {
77
+ "node": ">=22.0.0"
78
+ },
79
+ "author": "Gallevy",
80
+ "license": "MIT"
81
+ }