|
491 | 491 | "import": "./src/fonts/systemFontLocator.ts", |
492 | 492 | "types": "./src/fonts/systemFontLocator.ts" |
493 | 493 | }, |
| 494 | + "./fonts/embed": { |
| 495 | + "bun": "./src/fonts/deterministicFonts.ts", |
| 496 | + "node": "./dist/fonts/deterministicFonts.js", |
| 497 | + "import": "./src/fonts/deterministicFonts.ts", |
| 498 | + "types": "./src/fonts/deterministicFonts.ts" |
| 499 | + }, |
| 500 | + "./fonts/embedded-data": { |
| 501 | + "bun": "./src/fonts/fontData.generated.ts", |
| 502 | + "node": "./dist/fonts/fontData.generated.js", |
| 503 | + "import": "./src/fonts/fontData.generated.ts", |
| 504 | + "types": "./src/fonts/fontData.generated.ts" |
| 505 | + }, |
494 | 506 | "./figma": { |
495 | 507 | "bun": "./src/figma/index.ts", |
496 | 508 | "node": "./dist/figma/index.js", |
|
817 | 829 | "import": "./dist/fonts/systemFontLocator.js", |
818 | 830 | "types": "./dist/fonts/systemFontLocator.d.ts" |
819 | 831 | }, |
| 832 | + "./fonts/embed": { |
| 833 | + "import": "./dist/fonts/deterministicFonts.js", |
| 834 | + "types": "./dist/fonts/deterministicFonts.d.ts" |
| 835 | + }, |
| 836 | + "./fonts/embedded-data": { |
| 837 | + "import": "./dist/fonts/fontData.generated.js", |
| 838 | + "types": "./dist/fonts/fontData.generated.d.ts" |
| 839 | + }, |
820 | 840 | "./figma": { |
821 | 841 | "import": "./dist/figma/index.js", |
822 | 842 | "types": "./dist/figma/index.d.ts" |
|
828 | 848 | "types": "./dist/index.d.ts" |
829 | 849 | }, |
830 | 850 | "scripts": { |
831 | | - "build": "bun run build:hyperframes-runtime && bun run build:position-edits-render && bun run build:audio-fx-runtime && tsc && tsx scripts/rewrite-esm-extensions.ts", |
| 851 | + "build": "bun run build:fonts && bun run build:hyperframes-runtime && bun run build:position-edits-render && bun run build:audio-fx-runtime && tsc && tsx scripts/rewrite-esm-extensions.ts", |
| 852 | + "build:fonts": "node scripts/build-fonts.mjs", |
832 | 853 | "test": "bun run check:position-edits-render && bun run build:audio-fx-runtime && vitest run", |
833 | 854 | "test:watch": "vitest", |
834 | 855 | "test:coverage": "vitest run --coverage", |
|
861 | 882 | "@hyperframes/studio-server": "workspace:*", |
862 | 883 | "bpm-detective": "^2.0.5", |
863 | 884 | "linkedom": "^0.18.12", |
864 | | - "postcss": "^8.5.8" |
| 885 | + "postcss": "^8.5.8", |
| 886 | + "wawoff2": "^2.0.1" |
865 | 887 | }, |
866 | 888 | "devDependencies": { |
| 889 | + "@fontsource/archivo-black": "^5.2.8", |
| 890 | + "@fontsource/eb-garamond": "^5.2.7", |
| 891 | + "@fontsource/ibm-plex-mono": "^5.2.7", |
| 892 | + "@fontsource/inter": "^5.2.8", |
| 893 | + "@fontsource/jetbrains-mono": "^5.2.8", |
| 894 | + "@fontsource/lato": "^5.2.7", |
| 895 | + "@fontsource/league-gothic": "^5.2.8", |
| 896 | + "@fontsource/montserrat": "^5.2.8", |
| 897 | + "@fontsource/noto-sans-jp": "^5.2.9", |
| 898 | + "@fontsource/nunito": "^5.2.7", |
| 899 | + "@fontsource/open-sans": "^5.2.7", |
| 900 | + "@fontsource/oswald": "^5.2.8", |
| 901 | + "@fontsource/outfit": "^5.2.8", |
| 902 | + "@fontsource/playfair-display": "^5.2.8", |
| 903 | + "@fontsource/poppins": "^5.2.7", |
| 904 | + "@fontsource/roboto": "^5.2.10", |
| 905 | + "@fontsource/source-code-pro": "^5.2.7", |
| 906 | + "@fontsource/space-mono": "^5.2.9", |
867 | 907 | "@types/jsdom": "^28.0.0", |
868 | 908 | "@types/node": "^25.0.10", |
869 | 909 | "@vitest/coverage-v8": "^4.1.11", |
|
0 commit comments