50d05c423d
Switching back to running tests in production environment |
||
---|---|---|
.circleci | ||
public | ||
script | ||
src | ||
.gitignore | ||
.yarnrc | ||
LICENSE.txt | ||
package.json | ||
README.md | ||
webpack.common.js | ||
webpack.dev.js | ||
webpack.prod.js | ||
yarn.lock |
Regexper
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 8080yarn 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 runningyarn start:prod
)yarn test
- Run lint and unit testsyarn test:lint
- Run eslintyarn test:unit
- Run jest unit testsyarn test:watch
- Run jest in watch mode
License
See LICENSE.txt file for licensing details.