How Do I Get Started? | Setup | Running Linting/Tests | Build for Production
jspollock.art is a simple Single Page App for computer generated art inspired by Jackson Pollock.
A simple way on any device to quickly see Open Source Software (OSS) contributions, info on how the contributions, and how it impacts the larger OSS community.
Setup and use requires Git, Node JS, and a text editor such as VS Code.
If you're on a Mac, I'd suggest using Homebrew for installing Node and Git.
git clone https://github.com/cujarrett/js-pollock.git
cd js-pollock
npm install
Finds problematic patterns or code that doesn’t adhere to certain style guidelines.
npm run lint
npm run fix-lint
Runs the app in the development mode.
npm run test
The page will reload if you make edits. You will also see any lint errors in the console.
npm run start
Open http://localhost:3000 to view it in the browser.
It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.
npm run build
This project follows the Conventional Commits specification to
aid in automated releases and change log generation. Commitlint
is enabled and ran as a commit-msg
hook to enforce the commit format.
Commitizen can be used to prompt through any requirements at commit time
npm run commit
(or git cz
if Commitizen is installed globally).
In short, if a commit will be fixing a bug, prefix the commit message with fix:
fix: my bug fix
feat: my new feature
Commits with fix:
prefix will show up in the generated changelog as bullets under the Bug Fixes:
section, and
feat:
prefixed messages will show under the Features:
section. For more on the available prefixes/rules, see
here.