This repository has been archived by the owner on Aug 27, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathpackage.json
43 lines (43 loc) · 2.09 KB
/
package.json
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
{
"name": "glow-sans",
"version": "0.9.3",
"description": "Glow Sans CJK typeface",
"main": "examples/index.js",
"gypfile": true,
"repository": "https://github.com/welai/glow-sans",
"scripts": {
"build-demo": "browserify demo/index.js -t [ babelify --presets [ @babel/preset-env ] --plugins [ @babel/proposal-class-properties ] ] | uglifyjs -o dist/index.js",
"build-family": "node scripts/build-family.js",
"convert-model": "python -m scripts.glyph_model_convert",
"dump-fonts": "for FILE in fonts/*/*.otf; do otfccdump $FILE --pretty --ignore-glyph-order --hex-cmap -o ${FILE//.otf/.json}; done",
"extract-han-models": "node scripts/extract-han-models.js",
"extract-kana-models": "bash scripts/extract-kana-models.sh",
"extract-gid-categories": "node scripts/extract-gid-categories.js",
"extract-shs-features": "node scripts/extract-shs-features.js",
"init-fonts": "cd fonts && bash init.sh",
"sample-shs-sc": "for FILE in fonts/SourceHanSansSC/SourceHanSansSC-*.json; do node scripts/sample-demo.js $FILE ${FILE//'fonts/SourceHanSansSC'/'samples'}; done",
"sample-fira": "for FILE in fonts/Fira/FiraSans*.json; do node scripts/sample-fira.js $FILE ${FILE//'fonts/Fira'/'samples'}; done",
"sample-raleway": "for FILE in fonts/Raleway/Raleway-v4020-*.json; do node scripts/sample-raleway.js $FILE ${FILE//'fonts/Raleway'/'samples'}; done",
"samples2model": "rm -f samples/SourceHanSansSC-*.model.json; for FILE in samples/SourceHanSansSC-*.json; do python -m scripts.glyph_model_convert $FILE ${FILE//.json/.model.json}; done",
"serve": "node scripts/serve-static.js"
},
"author": "Celestial Phineas",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"babelify": "^10.0.0",
"browserify": "^16.5.0",
"canvas": "^2.6.1",
"caryll-shapeops": "^0.3.1",
"connect": "^3.7.0",
"nodemon": "^2.0.2",
"progress": "^2.0.3",
"serve-static": "^1.14.1",
"uglify-js": "^3.7.7"
},
"dependencies": {
"gridcanvas": "^0.1.8"
}
}