mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-04 08:33:55 +02:00
All non-TCL tests (extract, gds, drc, cif) now also run against the TCL variant using magic::-prefixed Tcl scripts. A new PCell test generates two parameterized rectangle cells and verifies their GDS output. The CI workflow runs npm run test:tcl after the TCL build and saves the generated output files as an artifact.
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "magic-vlsi-wasm",
|
|
"version": "0.0.0-dev",
|
|
"description": "Magic VLSI Layout Tool — headless WebAssembly build (TCL + non-TCL variants)",
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"types": "index.d.ts",
|
|
"exports": {
|
|
".": { "import": "./index.js", "types": "./index.d.ts" },
|
|
"./tcl": { "import": "./tcl.js", "types": "./index.d.ts" },
|
|
"./notcl": { "import": "./notcl.js", "types": "./index.d.ts" }
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts",
|
|
"tcl.js",
|
|
"notcl.js",
|
|
"tcl/magic.js",
|
|
"tcl/magic.wasm",
|
|
"notcl/magic.js",
|
|
"notcl/magic.wasm",
|
|
"examples/",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"example": "node examples/extract.js",
|
|
"test": "node examples/all.js",
|
|
"test:tcl": "node examples/all-tcl.js",
|
|
"test:gds": "node examples/gds.js",
|
|
"test:drc": "node examples/drc.js",
|
|
"test:cif": "node examples/cif.js"
|
|
},
|
|
|
|
"keywords": ["magic", "vlsi", "eda", "wasm", "webassembly", "layout", "tcl"],
|
|
"license": "HPND",
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|