-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.55 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.55 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
{
"name": "monospace-pretext",
"version": "0.1.0",
"description": "Turn proportional page text into fixed-width grapheme cells with @chenglou/pretext.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"monospace-pretext-font": "./bin/monospace-pretext-font.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"bin",
"python",
"LICENSE",
"README.md"
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"demo": "vite --open /",
"demo:font": "python3 ./python/build_demo_font.py",
"demo:build": "vite build",
"demo:preview": "vite preview",
"prepack": "npm run build",
"test:js": "vitest run",
"test:python": "python3 -m unittest discover -s python_tests -p 'test_*.py'",
"test": "npm run test:js && npm run test:python",
"check": "npm run build && npm run test",
"font:generate": "node ./bin/monospace-pretext-font.js",
"font:init-workspace": "node ./bin/monospace-pretext-font.js init-workspace",
"font:build-workspace": "node ./bin/monospace-pretext-font.js build-workspace"
},
"keywords": [
"browser",
"dom",
"font",
"monospace",
"pretext",
"typography"
],
"license": "MIT",
"dependencies": {
"@chenglou/pretext": "^0.0.4"
},
"devDependencies": {
"jsdom": "^26.0.0",
"typescript": "^5.7.3",
"vite": "^6.3.5",
"vitest": "^3.0.8"
}
}