Build tools are often ubiquitous save for some minor deviations. They also have tendency to clutter and obfuscate the structure of a project. This repository aims to keep our build tooling out of the source files for our various web based front end projects.
Create React App leveraged modules to keep these files separate from the production source and this repository borrows heavily from that.
At present it is used to build the Save To Pocket Extension and the Pocket New Tab Extension
At this time it is set up to use the following:
- Jest for testing
- Eslint for JS linting
- Babel for ES6/7
- Stylelint for Style linting
- SASS
- CSS modules
- Webpack for compiling
- YAML for generating manifests
This repository is pulled in as a dependency for Save To Pocket Extension and Pocket New Tab Extension. There is no need to download it directly from this repository unless you are interested in making improvements to the build process itself.
If you are just interested in working on one of the Pocket extensions:
- Clone the repository you are interested in.
- Run
npm install
ORyarn install
.
After following the steps above, this repository will be automatically pulled in as a dependency and will be available for use. There is no need to download this repository directly. Since it is very specific to Pocket it is not practical for use outside of that context.