2018-02-10 18:33:13 +00:00
# Regexper [![Build Status](https://travis-ci.org/javallone/regexper-static.svg?branch=react)](https://travis-ci.org/javallone/regexper-static)
2014-11-23 16:41:53 +00:00
2014-11-24 00:05:39 +00:00
Code for the http://regexper.com/ site.
2014-11-23 16:41:53 +00:00
## 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
2015-11-01 02:36:37 +00:00
Node is required for working with this site.
2014-11-24 00:04:47 +00:00
2015-11-01 02:36:37 +00:00
To start with, install the necessary dependencies:
2014-11-24 00:04:47 +00:00
2017-07-29 21:23:08 +00:00
$ yarn install
2014-11-24 00:04:47 +00:00
2016-10-15 21:46:37 +00:00
To start a development server, run:
2014-11-24 00:04:47 +00:00
2017-07-29 21:23:08 +00:00
$ yarn start
2014-11-24 00:04:47 +00:00
2018-02-13 22:57:03 +00:00
### 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` )
2018-05-28 14:38:35 +00:00
* `yarn deploy` - Deploy application to AWS S3 bucket
2018-02-13 22:57:03 +00:00
* `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
2018-05-28 14:38:35 +00:00
* `yarn test:bundle-analyzer` - Generate webpack-bundle-analyzer report
* `yarn i18n:scrub` - Scrubs i18n locale configs. Adds missing keys and normalizes YAML formatting
2018-02-13 22:57:03 +00:00
2014-11-23 16:41:53 +00:00
## License
2014-12-26 21:24:09 +00:00
See [LICENSE.txt ](/LICENSE.txt ) file for licensing details.