# Drop tests from the compiled output.
find $OUTDIR -type f -name '*.test.*' -exec rm {} +
+cp -r examples $OUTDIR
+cp README.md $OUTDIR
+cp LICENSE.txt $OUTDIR
+
# "Preprocess" the dist package.json.
cp ./package.json $OUTDIR
sed -i '' -e s@\"dist/@\"@ $OUTDIR/package.json
+sed -i '' -e 's@"prepare": ".*",@@' $OUTDIR/package.json
{
"name": "ustaxlib",
- "version": "1.0.1",
+ "version": "1.0.2",
"description": "A library for modeling individual US tax returns.",
"repository": "https://github.com/rsesek/ustaxlib",
"scripts": {
+ "prepare": "./build.sh",
"dev": "jest --watch",
"test": "jest",
"check": "tsc --noEmit",
- "debug": "node --inspect-brk --stack-trace-limit=1000 node_modules/.bin/jest --coverage=false",
- "prepare": "./build.sh"
+ "debug": "node --inspect-brk --stack-trace-limit=1000 node_modules/.bin/jest --coverage=false"
},
"author": "Robert Sesek",
"license": "GPL-3.0-only",