From c18d3ad6c4e3f44cb3d00852964cab092086b32f Mon Sep 17 00:00:00 2001 From: Emily Eisenberg Date: Sat, 20 Jun 2015 11:56:09 -0700 Subject: [PATCH] Remove font files and auto-render from bower's main Summary: Bower's bower.json spec says to not include font/image files, and only to include one file per filetype. Test plan: - `make dist`, commit the result - Run `bower install /path/to/KaTeX#master` from /tmp - See that this succeeds, and `bower list --paths` has katex.min.js and katex.min.css for the KaTeX entry Auditors: alpert, kevinb --- bower.json | 47 +---------------------------------------------- 1 file changed, 1 insertion(+), 46 deletions(-) diff --git a/bower.json b/bower.json index 494783130..65d7c76ba 100644 --- a/bower.json +++ b/bower.json @@ -3,52 +3,7 @@ "version": "0.4.2", "main": [ "dist/katex.min.js", - "dist/katex.min.css", - "dist/contrib/auto-render.min.js", - "dist/fonts/KaTeX_AMS-Regular.eot", - "dist/fonts/KaTeX_AMS-Regular.ttf", - "dist/fonts/KaTeX_AMS-Regular.woff", - "dist/fonts/KaTeX_AMS-Regular.woff2", - "dist/fonts/KaTeX_Main-Bold.eot", - "dist/fonts/KaTeX_Main-Bold.ttf", - "dist/fonts/KaTeX_Main-Bold.woff", - "dist/fonts/KaTeX_Main-Bold.woff2", - "dist/fonts/KaTeX_Main-Italic.eot", - "dist/fonts/KaTeX_Main-Italic.ttf", - "dist/fonts/KaTeX_Main-Italic.woff", - "dist/fonts/KaTeX_Main-Italic.woff2", - "dist/fonts/KaTeX_Main-Regular.eot", - "dist/fonts/KaTeX_Main-Regular.ttf", - "dist/fonts/KaTeX_Main-Regular.woff", - "dist/fonts/KaTeX_Main-Regular.woff2", - "dist/fonts/KaTeX_Math-BoldItalic.eot", - "dist/fonts/KaTeX_Math-BoldItalic.ttf", - "dist/fonts/KaTeX_Math-BoldItalic.woff", - "dist/fonts/KaTeX_Math-BoldItalic.woff2", - "dist/fonts/KaTeX_Math-Italic.eot", - "dist/fonts/KaTeX_Math-Italic.ttf", - "dist/fonts/KaTeX_Math-Italic.woff", - "dist/fonts/KaTeX_Math-Italic.woff2", - "dist/fonts/KaTeX_Math-Regular.eot", - "dist/fonts/KaTeX_Math-Regular.ttf", - "dist/fonts/KaTeX_Math-Regular.woff", - "dist/fonts/KaTeX_Math-Regular.woff2", - "dist/fonts/KaTeX_Size1-Regular.eot", - "dist/fonts/KaTeX_Size1-Regular.ttf", - "dist/fonts/KaTeX_Size1-Regular.woff", - "dist/fonts/KaTeX_Size1-Regular.woff2", - "dist/fonts/KaTeX_Size2-Regular.eot", - "dist/fonts/KaTeX_Size2-Regular.ttf", - "dist/fonts/KaTeX_Size2-Regular.woff", - "dist/fonts/KaTeX_Size2-Regular.woff2", - "dist/fonts/KaTeX_Size3-Regular.eot", - "dist/fonts/KaTeX_Size3-Regular.ttf", - "dist/fonts/KaTeX_Size3-Regular.woff", - "dist/fonts/KaTeX_Size3-Regular.woff2", - "dist/fonts/KaTeX_Size4-Regular.eot", - "dist/fonts/KaTeX_Size4-Regular.ttf", - "dist/fonts/KaTeX_Size4-Regular.woff", - "dist/fonts/KaTeX_Size4-Regular.woff2" + "dist/katex.min.css" ], "homepage": "http://khan.github.io/KaTeX/", "description": "Fast math typesetting for the web.",