-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 6.32 KB
/
Copy pathpackage.json
File metadata and controls
150 lines (150 loc) · 6.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "tuiuiu.js",
"version": "2.0.0",
"description": "Zero-dependency Terminal UI library with Component-based experience for Node.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"sideEffects": false,
"keywords": [
"terminal",
"tui",
"cli",
"ui",
"component-based",
"signals",
"zero-dependency",
"flexbox",
"layout",
"components",
"hooks",
"reactive",
"interactive",
"console",
"ansi",
"terminal-ui",
"nodejs"
],
"author": "Forattini <filipe@forattini.com.br>",
"license": "MIT",
"packageManager": "pnpm@11.9.0",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"homepage": "https://github.com/forattini-dev/tuiuiu.js",
"repository": {
"type": "git",
"url": "git+https://github.com/forattini-dev/tuiuiu.js.git"
},
"bugs": {
"url": "https://github.com/forattini-dev/tuiuiu.js/issues"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./core": {
"types": "./dist/core/index.d.ts",
"import": "./dist/core/index.js"
},
"./interaction": {
"types": "./dist/interaction/index.d.ts",
"import": "./dist/interaction/index.js"
},
"./ui": {
"types": "./dist/ui/index.d.ts",
"import": "./dist/ui/index.js"
},
"./storybook": {
"types": "./dist/storybook/index.d.ts",
"import": "./dist/storybook/index.js"
},
"./mcp": {
"types": "./dist/mcp/index.d.ts",
"import": "./dist/mcp/index.js"
},
"./devtools": {
"types": "./dist/dev-tools/index.d.ts",
"import": "./dist/dev-tools/index.js"
},
"./testing": {
"types": "./dist/testing/index.d.ts",
"import": "./dist/testing/index.js"
},
"./app": {
"types": "./dist/app/index.d.ts",
"import": "./dist/app/index.js"
},
"./colors": {
"types": "./dist/colors/index.d.ts",
"import": "./dist/colors/index.js"
},
"./package.json": "./package.json"
},
"bin": {
"tuiuiu": "dist/cli/index.js"
},
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "pnpm run clean && tsc",
"test": "vitest --exclude \"tests/benchmarks/**\"",
"test:run": "vitest run --exclude \"tests/benchmarks/**\"",
"test:coverage": "vitest run --coverage --exclude \"tests/benchmarks/**\"",
"test:watch": "vitest watch",
"test:performance": "vitest run tests/core/frame-performance.test.ts tests/core/buffer-perf.test.ts tests/benchmarks/performance-budget.test.ts tests/benchmarks/runtime-performance.test.ts tests/benchmarks/runtime-stress.test.ts",
"test:performance:stress": "vitest run tests/benchmarks/runtime-stress.test.ts",
"benchmark:frameworks": "pnpm run build && pnpm --dir benchmarks/framework-comparison install --frozen-lockfile && pnpm --dir benchmarks/framework-comparison benchmark",
"benchmark:frameworks:quick": "pnpm run build && pnpm --dir benchmarks/framework-comparison install --frozen-lockfile && pnpm --dir benchmarks/framework-comparison benchmark:quick",
"test:devx-contracts": "vitest run tests/forms/interactive-state-hooks.test.ts tests/forms/interactive-wave1-state.test.ts tests/forms/interactive-wave2-state.test.ts tests/organisms/interactive-wave2-organisms-state.test.ts tests/integration/residual-interactive-devx.test.ts tests/primitives/scroll.test.ts tests/layout/tabs-mouse.test.ts tests/molecules/data-viz/legend.test.ts tests/components/data-viz.test.ts tests/organisms/scroll-area.test.ts tests/organisms/scroll-list.test.ts tests/organisms/data-table.test.ts",
"test:runtime-contracts": "vitest run tests/core/frame.test.ts tests/core/frame-commands.test.ts tests/core/frame-queries.test.ts tests/core/renderer.test.ts tests/core/delta-render.test.ts tests/app/render-loop.test.ts tests/dev-tools/debugger.test.ts tests/dev-tools/inspector-snapshot.test.ts tests/primitives/scroll.test.ts tests/organisms/scroll-area.test.ts tests/layout/tabs-mouse.test.ts tests/layout/scroll-area-mouse.test.ts",
"test:pty": "vitest run tests/integration/pty-session.test.ts",
"typecheck": "tsc --noEmit",
"typecheck:tests": "tsc --project tsconfig.tests.json",
"typecheck:examples": "tsc --project tsconfig.examples.json",
"check:cycles": "tsx scripts/check-import-cycles.ts",
"check:package-budget": "tsx scripts/check-package-budget.ts",
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
"docs": "tsx scripts/serve-docs.ts",
"docs:gifs": "bash scripts/generate-gifs.sh",
"lint": "biome lint src tests scripts benchmarks/framework-comparison",
"prepublishOnly": "pnpm run build && node scripts/inject-version.js",
"storybook": "tsx src/cli/index.ts storybook",
"example": "tsx scripts/examples.ts run",
"example:list": "tsx scripts/examples.ts list",
"example:counter": "tsx scripts/examples.ts run app-counter",
"example:layout": "tsx scripts/examples.ts run app-layout",
"example:forms": "tsx scripts/examples.ts run app-forms",
"example:dashboard": "tsx scripts/examples.ts run app-dashboard",
"example:chat": "tsx scripts/examples.ts run app-chat",
"example:invaders": "tsx scripts/examples.ts run tuiuiu-invaders",
"example:meteor": "tsx scripts/examples.ts run tuiuiu-meteor",
"example:sideblaster": "tsx scripts/examples.ts run tuiuiu-sideblaster",
"example:tetris": "tsx scripts/examples.ts run tuiuiu-tetris",
"example:snake": "tsx scripts/examples.ts run tuiuiu-snake",
"example:runtime-contracts": "tsx scripts/examples.ts run programmatic-runtime-contracts",
"storybook:coverage": "tsx scripts/storybook-coverage.ts write",
"verify:contracts": "tsx scripts/verify-public-contracts.ts",
"validate:devx-contracts": "pnpm test:devx-contracts && pnpm typecheck && pnpm build && pnpm verify:contracts",
"validate:runtime-contracts": "pnpm test:runtime-contracts && pnpm typecheck && pnpm build && pnpm verify:contracts"
},
"engines": {
"node": ">=22.12"
},
"devDependencies": {
"@biomejs/biome": "2.5.6",
"@types/node": "^25.0.3",
"@vitest/coverage-v8": "^4.1.10",
"tsx": "^4.23.1",
"typescript": "^5.9.3",
"vite": "^8.1.5",
"vitest": "^4.1.10"
}
}