From ae92ec52edaede1158011997feafa1b90748fcc7 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 23 Mar 2020 08:13:19 -0400 Subject: [PATCH] Set version to 1.0.0 and some packaging prep. --- README.md | 6 ++++-- package.json | 7 ++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 970193b..088b837 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ustaxviewer -This package provides an HTML frontend to the [ustaxlib]() system. +This package provides an HTML frontend to the [ustaxlib] system. Every Form object that is added to the TaxReturn is viewable, with the value of every line displayed: @@ -13,8 +13,10 @@ the "Amount You Owe", for example, which [yields this massive graph](doc/f1040-a # Usage -See the [ustaxlib]() repository for how to get started modeling taxes. To run the viewer, simply do: +See the [ustaxlib] repository for how to get started modeling taxes. To run the viewer, simply do: npx ustaxviewer-ts taxfile.ts Note that `taxfile.ts` should have a default export of the TaxReturn object to be rendered. + +[ustaxlib]: https://github.com/rsesek/ustaxlib diff --git a/package.json b/package.json index 9dfa541..478e622 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { "name": "ustaxviewer", - "version": "0.1.0", + "version": "1.0.0", "description": "HTML form viewer for ustaxlib.", + "repository": "https://github.com/rsesek/ustaxviewer", "main": "./dist/src/index.js", "scripts": { "demo": "ts-node ./src/ustaxviewer.ts ./demos/fed2019.ts", - "build": "tsc; cp src/*.css dist/src" + "prepare": "tsc; cp src/*.css dist/src" }, "bin": { "ustaxviewer": "./dist/src/ustaxviewer.js", @@ -22,7 +23,7 @@ "html-webpack-plugin": "^3.2.0", "solid-js": "^0.16.14", "style-loader": "^1.1.3", - "ustaxlib": "../ustaxlib/dist", + "ustaxlib": "^1.0.0", "webpack": "^4.42.0", "webpack-dev-server": "^3.10.3" }, -- 2.43.5