-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
49 lines (49 loc) · 2.3 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
44
45
46
47
48
49
{
"name": "wavefont",
"version": "3.5.0",
"description": "Typeface for visualizing waveform data",
"main": "index.js",
"scripts": {
"build": "npm-run-all build-ufo normalize-ufo && npm-run-all --parallel build-otf build-ttf && npm run build-woff2",
"build-ufo": "plop build-ufo",
"normalize-ufo": "for file in sources/*.ufo; do ufonormalizer -a --float-precision 3 -m $file; done",
"hint-ufo": "psautohint --no-hint-sub --no-flex -d -c -a sources/*.ufo",
"build-otf": "npm-run-all build-masterotfs build-vf add-blanks-otf",
"build-masterotfs": "buildmasterotfs --mkot -r,-omitMacNames,-S,-ga,-adds -d \"sources/Wavefont.designspace\"",
"build-vf": "buildcff2vf --omit-mac-names -c -k -d \"sources/Wavefont.designspace\" -o ./fonts/variable/Wavefont[ROND,YELA,wght].otf",
"add-blanks-otf": "ttx -o ./fonts/variable/Wavefont[ROND,YELA,wght].otf -m ./fonts/variable/Wavefont[ROND,YELA,wght].otf sources/cmap.ttx",
"add-blanks-ttf": "ttx -o ./fonts/variable/Wavefont[ROND,YELA,wght].ttf -m ./fonts/variable/Wavefont[ROND,YELA,wght].ttf sources/cmap.ttx",
"build-ttf": "fontmake -m \"sources/Wavefont.designspace\" -o variable --output-path ./fonts/variable/Wavefont[ROND,YELA,wght].ttf --validate-ufo --round-instances --expand-features-to-instances --autohint && npm run add-blanks-ttf",
"build-woff2": "fonttools ttLib.woff2 compress ./fonts/variable/Wavefont[ROND,YELA,wght].ttf -o ./fonts/variable/Wavefont[ROND,YELA,wght].woff2",
"subroutinize-otf": "shx cp ./fonts/variable/Wavefont[ROND,YELA,wght].otf ./fonts/variable/Wavefont[ROND,YELA,wght].min.otf && tx -cff2 +S +b -o ./table.CFF2 -f ./fonts/variable/Wavefont[ROND,YELA,wght].otf && sfntedit -a CFF2=./table.CFF2 ./fonts/variable/Wavefont[ROND,YELA,wght].min.otf"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dy/wavefont.git"
},
"keywords": [
"sound",
"audio",
"datavis",
"opentype",
"waveform",
"spectrum",
"fft"
],
"files": [
"fonts",
"index.js"
],
"author": "Dmitry Iv <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/dy/wavefont/issues"
},
"homepage": "https://github.com/dy/wavefont#readme",
"devDependencies": {
"dedent": "^0.7.0",
"npm-run-all": "^4.1.5",
"plop": "^3.1.0",
"shx": "^0.3.3"
}
}