# 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:
# 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
{
"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",
"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"
},