Add a build script at script/build.sh that can be invoked by running npm run build from the root of the project. This script runs src/typebetter.js through UglifyJS, creating dist/typebetter.js and dist/typebetter.min.js.
Revamped README.md and created a CONTRIBUTING.md based heavily on the one I put together for RouterRouter. Includes much of the original information from @yurivictor's README.md and adds additional information about build tasks, coding styles, etc.
You can safely ignore the reported changes to dist/typebetter.js below. No source code changes were made. Git's just being weird because some files were moved around.
Two semi-related things in this PR:
script/build.sh
that can be invoked by runningnpm run build
from the root of the project. This script runssrc/typebetter.js
through UglifyJS, creatingdist/typebetter.js
anddist/typebetter.min.js
.README.md
and created aCONTRIBUTING.md
based heavily on the one I put together for RouterRouter. Includes much of the original information from @yurivictor's README.md and adds additional information about build tasks, coding styles, etc.You can safely ignore the reported changes to
dist/typebetter.js
below. No source code changes were made. Git's just being weird because some files were moved around.