Skip to content

Commit

Permalink
tbdb
Browse files Browse the repository at this point in the history
  • Loading branch information
modularizer committed Mar 6, 2024
1 parent 7b0c2f0 commit f4ef4ff
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 31 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ Tabular Database ... TeebyDeeby ... TbdB ... Teeby ... Tb
## Contributing
Please! I probably don't have time to see this project through, so it you want to work on it, reach out!
modularizer@gmail.com


* install node and npm
* https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
* run `install.sh` to install the necessary packages and setup pre-commit hooks

## Features
## Parameter Specifications
Expand Down
15 changes: 15 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Install PostCSS and cssnano globally
npm install -g postcss-cli cssnano

# Install UglifyJS globally
npm install -g uglify-js

# get fullpath to min.sh
SCRIPT=$(readlink -f "$0")
DIR=$(dirname "$SCRIPT")
MINSH="$DIR/min.sh"

# add a pre-commit hook which calls min.sh with no arguments
# get the version of bash executing this script
echo "$MINSH" > .git/hooks/pre-commit
30 changes: 30 additions & 0 deletions tbdb.js

Large diffs are not rendered by default.

Loading

0 comments on commit f4ef4ff

Please sign in to comment.