From b11a1b97b7955d096a54b08ae9f4d5f2b2966ca2 Mon Sep 17 00:00:00 2001 From: Kevin Barabash Date: Sat, 20 Jun 2015 11:00:41 -0600 Subject: [PATCH] Summary: - Add "main" field to bower.json to prevent errors during installation. - Bump version to 0.4.1 in bower.json and package.json https://github.com/Khan/KaTeX/issues/181 Test plan: - Run `bower install katex` from /tmp - Verify that there are no errors when running the command and that `bower_components/katex/dist/` contains all the build files Auditors: emily --- bower.json | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++- package.json | 2 +- 2 files changed, 51 insertions(+), 2 deletions(-) diff --git a/bower.json b/bower.json index da985f5b3..9ab1fb9e1 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,55 @@ { "name": "KaTeX", - "version": "0.3.0", + "version": "0.4.1", + "name": [ + "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" + ], "homepage": "http://khan.github.io/KaTeX/", "description": "Fast math typesetting for the web.", "moduleType": [ diff --git a/package.json b/package.json index f9dec8de3..ad0cb2980 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "katex", - "version": "0.3.0", + "version": "0.4.1", "description": "Fast math typesetting for the web.", "main": "katex.js", "repository": {