-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 5.31 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 5.31 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
{
"name": "@staticcanvas/typeflow",
"version": "0.34.0",
"description": "Typeflow library.",
"type": "module",
"main": "./dist/typeflow.cjs",
"module": "./dist/typeflow.mjs",
"browser": "./dist/typeflow.js",
"types": "./src/typeflow.d.ts",
"exports": {
".": {
"import": "./dist/typeflow.mjs",
"require": "./dist/typeflow.cjs",
"default": "./dist/typeflow.js"
},
"./metrics": {
"import": "./dist/typeflow-metrics.mjs",
"require": "./dist/typeflow-metrics.cjs",
"default": "./dist/typeflow-metrics.js"
},
"./debug": {
"import": "./dist/typeflow-debug.mjs",
"require": "./dist/typeflow-debug.cjs",
"default": "./dist/typeflow-debug.js"
},
"./caret": {
"import": "./dist/typeflow-caret.mjs",
"require": "./dist/typeflow-caret.cjs",
"default": "./dist/typeflow-caret.js"
},
"./webaudio": {
"types": "./src/typeflow-webaudio.d.ts",
"import": "./dist/typeflow-webaudio.mjs",
"require": "./dist/typeflow-webaudio.cjs",
"default": "./dist/typeflow-webaudio.js"
},
"./parallel": {
"types": "./src/typeflow-parallel.d.ts",
"import": "./dist/typeflow-parallel.mjs",
"require": "./dist/typeflow-parallel.cjs",
"default": "./dist/typeflow-parallel.js"
},
"./keystroke": {
"types": "./src/typeflow-keystroke.d.ts",
"import": "./dist/typeflow-keystroke.mjs",
"require": "./dist/typeflow-keystroke.cjs",
"default": "./dist/typeflow-keystroke.js"
},
"./extchars": {
"types": "./src/typeflow-extchars.d.ts",
"import": "./dist/typeflow-extchars.mjs",
"require": "./dist/typeflow-extchars.cjs",
"default": "./dist/typeflow-extchars.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"src",
"branding",
"README.md",
"LICENSE",
"jsr.jsonc"
],
"scripts": {
"dev": "vite",
"serve:demo": "vite --open docs/static/webutil/index.html",
"docs:build": "npm run build && hugo --source docs",
"docs:serve": "npm run build && hugo server --source docs --buildDrafts --disableFastRender --ignoreCache --noHTTPCache --gc",
"build": "vite build && npm_config_mode=metrics vite build --config vite.optional.config.js && npm_config_mode=debug vite build --config vite.optional.config.js && npm_config_mode=caret vite build --config vite.optional.config.js && npm_config_mode=webaudio vite build --config vite.optional.config.js && npm_config_mode=parallel vite build --config vite.optional.config.js && npm_config_mode=keystroke vite build --config vite.optional.config.js && npm_config_mode=extchars vite build --config vite.optional.config.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:bun": "bun test",
"test:coverage:bun": "bun test --coverage",
"test:e2e": "npm run build && playwright test",
"test:e2e:ui": "npm run build && playwright test --ui",
"benchmark": "node --expose-gc scripts/run-benchmark.mjs",
"benchmark:quick": "node --expose-gc scripts/run-benchmark.mjs --quick",
"benchmark:md": "node --expose-gc scripts/run-benchmark.mjs --markdown",
"benchmark:json": "node --expose-gc scripts/run-benchmark.mjs --json",
"benchmark:browser": "npm run build && hugo --source docs --baseURL=http://127.0.0.1/ --gc && node scripts/run-browser-benchmark.mjs",
"benchmark:browser:quick": "npm run build && hugo --source docs --baseURL=http://127.0.0.1/ --gc && node scripts/run-browser-benchmark.mjs --quick",
"benchmark:profile": "npm run build && hugo --source docs --baseURL=http://127.0.0.1/ --gc && node scripts/profile-runtime.mjs",
"check:size": "node scripts/check-bundle-size.mjs",
"validate:docs-data": "node scripts/validate-doc-data.mjs",
"validate:doc-links": "hugo --source docs --gc && node scripts/validate-doc-links.mjs",
"release:docs:preview": "pwsh -NoProfile -File scripts/update-release-docs.ps1",
"release:docs": "pwsh -NoProfile -File scripts/update-release-docs.ps1 -Apply",
"release:docs:rebuild:preview": "pwsh -NoProfile -File scripts/update-release-docs.ps1 -Rebuild",
"release:docs:rebuild": "pwsh -NoProfile -File scripts/update-release-docs.ps1 -Rebuild -Apply",
"validate:release": "node scripts/validate-release.mjs",
"check:quality": "npm run validate:docs-data && npm run build && npm run check:size && npm test"
},
"keywords": [
"staticcanvas",
"esm"
],
"author": "Garvey K. Snow",
"license": "MIT",
"peerDependencies": {
"@staticcanvas/logcad": "^0.6.0"
},
"peerDependenciesMeta": {
"@staticcanvas/logcad": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "https://gitlab.com/staticcanvas/typeflow.git"
},
"homepage": "https://staticcanvas.gitlab.io/typeflow",
"bugs": {
"url": "https://gitlab.com/staticcanvas/typeflow/-/issues"
},
"devDependencies": {
"@eslint/js": "^9.20.0",
"@playwright/test": "^1.62.1",
"@rollup/plugin-terser": "^1.0.0",
"@vitest/coverage-v8": "^3.2.7",
"eslint": "^9.20.0",
"eslint-config-prettier": "^10.0.1",
"globals": "^15.14.0",
"jsdom": "^26.0.0",
"prettier": "^3.5.0",
"rollup-plugin-copy": "^3.5.0",
"vite": "^6.1.0",
"vitest": "^3.0.5"
}
}