@typecad/expect 0.1.0-alpha.1
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/LICENSE +21 -0
- package/README.md +345 -0
- package/dist/host/chain-collector.d.ts +48 -0
- package/dist/host/chain-collector.js +153 -0
- package/dist/host/cli.d.ts +2 -0
- package/dist/host/cli.js +185 -0
- package/dist/host/compiler.d.ts +27 -0
- package/dist/host/compiler.js +250 -0
- package/dist/host/config.d.ts +29 -0
- package/dist/host/config.js +218 -0
- package/dist/host/evaluator.d.ts +14 -0
- package/dist/host/evaluator.js +113 -0
- package/dist/host/finder.d.ts +12 -0
- package/dist/host/finder.js +70 -0
- package/dist/host/parser.d.ts +5 -0
- package/dist/host/parser.js +196 -0
- package/dist/host/preprocessor.d.ts +33 -0
- package/dist/host/preprocessor.js +115 -0
- package/dist/host/protocol-emitter.d.ts +29 -0
- package/dist/host/protocol-emitter.js +107 -0
- package/dist/host/reporter.d.ts +11 -0
- package/dist/host/reporter.js +200 -0
- package/dist/host/runner.d.ts +7 -0
- package/dist/host/runner.js +256 -0
- package/dist/host/serial.d.ts +28 -0
- package/dist/host/serial.js +129 -0
- package/dist/host/types.d.ts +121 -0
- package/dist/host/types.js +12 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +7 -0
- package/dist/stubs.d.ts +17 -0
- package/dist/stubs.js +26 -0
- package/dist/types.d.ts +65 -0
- package/dist/types.js +8 -0
- package/package.json +80 -0
package/package.json
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@typecad/expect",
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
|
+
"description": "Hardware test framework for TypeCAD — vitest-style assertions over serial",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"cuttlefish-test": "dist/host/cli.js"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./preprocessor": {
|
|
17
|
+
"types": "./dist/host/preprocessor.d.ts",
|
|
18
|
+
"default": "./dist/host/preprocessor.js"
|
|
19
|
+
},
|
|
20
|
+
"./chain-collector": {
|
|
21
|
+
"types": "./dist/host/chain-collector.d.ts",
|
|
22
|
+
"default": "./dist/host/chain-collector.js"
|
|
23
|
+
},
|
|
24
|
+
"./parser": {
|
|
25
|
+
"types": "./dist/host/parser.d.ts",
|
|
26
|
+
"default": "./dist/host/parser.js"
|
|
27
|
+
},
|
|
28
|
+
"./types": {
|
|
29
|
+
"types": "./dist/host/types.d.ts",
|
|
30
|
+
"default": "./dist/host/types.js"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "tsc",
|
|
38
|
+
"prepublishOnly": "npm run build"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"typescript": "^5.7.3",
|
|
42
|
+
"serialport": "^12.0.0"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@typecad/cuttlefish": "0.1.0-alpha.1",
|
|
46
|
+
"@types/node": "^22.10.7"
|
|
47
|
+
},
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
51
|
+
},
|
|
52
|
+
"repository": {
|
|
53
|
+
"type": "git",
|
|
54
|
+
"url": "git+https://github.com/justind000/typecode.git",
|
|
55
|
+
"directory": "packages/expect"
|
|
56
|
+
},
|
|
57
|
+
"homepage": "https://github.com/justind000/typecode/tree/main/packages/expect",
|
|
58
|
+
"bugs": {
|
|
59
|
+
"url": "https://github.com/justind000/typecode/issues"
|
|
60
|
+
},
|
|
61
|
+
"keywords": [
|
|
62
|
+
"arduino",
|
|
63
|
+
"cpp",
|
|
64
|
+
"cuttlefish",
|
|
65
|
+
"embedded",
|
|
66
|
+
"firmware",
|
|
67
|
+
"hardware-test",
|
|
68
|
+
"microcontroller",
|
|
69
|
+
"serial",
|
|
70
|
+
"test-framework",
|
|
71
|
+
"testing",
|
|
72
|
+
"typecad",
|
|
73
|
+
"typescript"
|
|
74
|
+
],
|
|
75
|
+
"engines": {
|
|
76
|
+
"node": ">=18"
|
|
77
|
+
},
|
|
78
|
+
"author": "typecad0",
|
|
79
|
+
"sideEffects": false
|
|
80
|
+
}
|