@wscytz/dsl 0.0.0-stage → 0.1.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,6 +1,56 @@
1
1
  {
2
2
  "name": "@wscytz/dsl",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.0",
4
+ "description": "Bidirectional text<->canvas description language: relational layout solved by an engine (group anchors, collision avoidance), structured card fields, zero runtime dependencies.",
5
+ "license": "Apache-2.0",
6
+ "keywords": [
7
+ "canvas",
8
+ "dsl",
9
+ "layout",
10
+ "llm",
11
+ "svg",
12
+ "json-canvas",
13
+ "relational"
14
+ ],
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/wscytz/cys-stift.git",
18
+ "directory": "packages/cys-dsl"
19
+ },
20
+ "type": "module",
21
+ "main": "./dist/index.js",
22
+ "types": "./dist/index.d.ts",
23
+ "exports": {
24
+ ".": {
25
+ "types": "./dist/index.d.ts",
26
+ "default": "./dist/index.js"
27
+ }
28
+ },
29
+ "engines": {
30
+ "node": ">=20"
31
+ },
32
+ "files": [
33
+ "dist",
34
+ "README.md"
35
+ ],
36
+ "devDependencies": {
37
+ "@types/node": "22.9.0",
38
+ "peggy": "^5.1.0",
39
+ "tsx": "^4.19.2",
40
+ "typescript": "5.6.3",
41
+ "vitest": "2.1.5",
42
+ "@cys-stift/canvas-engine": "0.0.0",
43
+ "@cys-stift/domain": "0.1.0"
44
+ },
45
+ "scripts": {
46
+ "build": "tsc -p tsconfig.build.json && cp src/dsl-parser.gen.js src/dsl-parser.gen.d.ts dist/",
47
+ "lint": "tsc --noEmit",
48
+ "test": "vitest run",
49
+ "gen": "peggy src/dsl.peggy -o src/dsl-parser.gen.js --format es",
50
+ "cli": "tsx src/cli.ts",
51
+ "debug:page": "tsc -p tsconfig.build.json && node debug/build-debug-page.mjs"
52
+ },
53
+ "bin": {
54
+ "cys-dsl": "./dist/cli.js"
55
+ }
6
56
  }