@schemd/core 0.2.0 → 0.3.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 CHANGED
@@ -1,76 +1,85 @@
1
1
  {
2
- "name": "@schemd/core",
3
- "version": "0.2.0",
4
- "description": "Zero-dependency text-to-SVG compiler for schematics and UML.",
5
- "homepage": "https://johnowolabiidogun.dev/tools/schemd/docs/overview",
6
- "bugs": {
7
- "url": "https://github.com/Sirneij/schemd/issues"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/Sirneij/schemd.git"
12
- },
13
- "type": "module",
14
- "sideEffects": false,
15
- "browser": false,
16
- "main": "./dist/index.js",
17
- "types": "./dist/index.d.ts",
18
- "files": [
19
- "dist",
20
- "README.md"
21
- ],
22
- "exports": {
23
- ".": {
24
- "types": "./dist/index.d.ts",
25
- "import": "./dist/index.js"
26
- },
27
- "./parser": {
28
- "types": "./dist/parser.d.ts",
29
- "import": "./dist/parser.js"
30
- },
31
- "./renderer": {
32
- "types": "./dist/renderer.d.ts",
33
- "import": "./dist/renderer.js"
34
- },
35
- "./compiler": {
36
- "types": "./dist/compiler.d.ts",
37
- "import": "./dist/compiler.js"
38
- },
39
- "./layout": {
40
- "types": "./dist/layout.d.ts",
41
- "import": "./dist/layout.js"
42
- },
43
- "./math-label": {
44
- "types": "./dist/math-label.d.ts",
45
- "import": "./dist/math-label.js"
46
- },
47
- "./types": {
48
- "types": "./dist/types.d.ts",
49
- "import": "./dist/types.js"
50
- }
51
- },
52
- "scripts": {
53
- "build": "node -e \"require('node:fs').rmSync('dist',{ recursive: true, force: true })\" && tsc -p tsconfig.build.json && tsc -p tsconfig.types.json",
54
- "check": "tsc -p tsconfig.json --noEmit",
55
- "prepack": "npm run build",
56
- "test": "vitest run",
57
- "test:coverage": "vitest run --coverage"
58
- },
59
- "devDependencies": {
60
- "@vitest/coverage-v8": "^4.1.10",
61
- "typescript": "^6.0.3",
62
- "vitest": "^4.1.10"
63
- },
64
- "engines": {
65
- "node": ">=24"
66
- },
67
- "keywords": [
68
- "schemd",
69
- "schematic",
70
- "svg",
71
- "compiler",
72
- "engineering",
73
- "uml"
74
- ],
75
- "license": "MIT"
2
+ "name": "@schemd/core",
3
+ "version": "0.3.0",
4
+ "description": "Zero-dependency text-to-SVG compiler for schematics and UML.",
5
+ "homepage": "https://schemd.johnowolabiidogun.dev",
6
+ "bugs": {
7
+ "url": "https://github.com/schemd/core/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/schemd/core.git"
12
+ },
13
+ "author": {
14
+ "name": "John Owolabi Idogun",
15
+ "url": "https://www.johnowolabiidogun.dev"
16
+ },
17
+ "packageManager": "bun@1.3.14",
18
+ "type": "module",
19
+ "sideEffects": false,
20
+ "browser": false,
21
+ "main": "./dist/index.js",
22
+ "types": "./dist/index.d.ts",
23
+ "files": [
24
+ "dist",
25
+ "README.md",
26
+ "CHANGELOG.md"
27
+ ],
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/index.js"
32
+ },
33
+ "./parser": {
34
+ "types": "./dist/parser.d.ts",
35
+ "import": "./dist/parser.js"
36
+ },
37
+ "./renderer": {
38
+ "types": "./dist/renderer.d.ts",
39
+ "import": "./dist/renderer.js"
40
+ },
41
+ "./compiler": {
42
+ "types": "./dist/compiler.d.ts",
43
+ "import": "./dist/compiler.js"
44
+ },
45
+ "./layout": {
46
+ "types": "./dist/layout.d.ts",
47
+ "import": "./dist/layout.js"
48
+ },
49
+ "./math-label": {
50
+ "types": "./dist/math-label.d.ts",
51
+ "import": "./dist/math-label.js"
52
+ },
53
+ "./types": {
54
+ "types": "./dist/types.d.ts",
55
+ "import": "./dist/types.js"
56
+ }
57
+ },
58
+ "scripts": {
59
+ "build": "node -e \"require('node:fs').rmSync('dist',{ recursive: true, force: true })\" && tsc -p tsconfig.build.json && tsc -p tsconfig.types.json",
60
+ "benchmark": "bun run build && node scripts/benchmark.mjs",
61
+ "check": "tsc -p tsconfig.json --noEmit",
62
+ "prepack": "bun run build",
63
+ "size": "node scripts/check-bundle-size.mjs",
64
+ "test": "vitest run",
65
+ "test:coverage": "vitest run --coverage"
66
+ },
67
+ "devDependencies": {
68
+ "@vitest/coverage-v8": "^4.1.10",
69
+ "typescript": "^6.0.3",
70
+ "vite": "^8.1.4",
71
+ "vitest": "^4.1.10"
72
+ },
73
+ "engines": {
74
+ "node": ">=24"
75
+ },
76
+ "keywords": [
77
+ "schemd",
78
+ "schematic",
79
+ "svg",
80
+ "compiler",
81
+ "engineering",
82
+ "uml"
83
+ ],
84
+ "license": "MIT"
76
85
  }