Go to file
2018-02-15 17:35:12 -05:00
.circleci Storing build and coverage report 2018-02-11 13:12:23 -05:00
public Adding humans and robots files 2018-02-10 16:12:11 -05:00
src Adding to i18n mocks 2018-02-15 17:35:12 -05:00
.babelrc Reworking static page generation 2018-02-13 17:10:32 -05:00
.eslintrc.js Updating babel and eslint configs 2018-02-11 11:16:07 -05:00
.gitignore Reworking static page generation 2018-02-13 17:10:32 -05:00
.yarnrc Fixing URLs in yarn.lock 2018-02-10 19:15:35 -05:00
LICENSE.txt Adding basic readme and license 2014-11-23 11:41:53 -05:00
package.json Adding to i18n mocks 2018-02-15 17:35:12 -05:00
postcss.config.js Breaking up main stylesheet into per-component styles 2018-02-13 17:12:02 -05:00
README.md Documenting scripts in README 2018-02-13 17:57:03 -05:00
webpack.common.js Setting up webpack resolve root 2018-02-13 20:09:52 -05:00
webpack.dev.js Adding prod and dev webpack configs 2018-02-10 16:05:25 -05:00
webpack.prod.js Setting up webpack resolve root 2018-02-13 20:09:52 -05:00
yarn.lock Setting NODE_ENV for builds 2018-02-13 17:54:14 -05:00

Regexper Build Status

Code for the http://regexper.com/ site.

Contributing

I greatly appreciate any contributions that you may have for the site. Feel free to fork the project and work on any of the reported issues, or let me know about any improvements you think would be beneficial.

When sending pull requests, please keep them focused on a single issue. I would rather deal with a dozen pull requests for a dozen issues with one change each over one pull request fixing a dozen issues. Also, I appreciate tests to be included with feature development, but for minor changes I will probably not put up much of a fuss if they're missing.

Working with the code

Node is required for working with this site.

To start with, install the necessary dependencies:

$ yarn install

To start a development server, run:

$ yarn start

Available scripts

  • yarn start - Start a development server on port 8080
  • yarn start:prod - Run a build and start a web server on port 8080. This will not automatically rebuild.
  • yarn build - Run a production build (used for deployments and for rebuilding when running yarn start:prod)
  • yarn test - Run lint and unit tests
  • yarn test:lint - Run eslint
  • yarn test:unit - Run jest unit tests
  • yarn test:watch - Run jest in watch mode

License

See LICENSE.txt file for licensing details.