@srijan-alm/alm-search v0.4.38
React NPM Package Boilerplate
Boilerplate code for publishing a React NPM package.
- Bundled with Webpack
- Develop with Hot Module Replacement (HMR)
- Includes linting with ESLint
- Testing with Jest.
Usage
Install modules -
yarnStart example and start coding -
yarn startRun tests -
yarn testBundle with -
yarn buildTo test if it works correctly in another project you can use npm
npm install -S ../react-npm-component-boilerplateNote the relative path
E.g. this folder structure
./workspace/
MyProject
react-npm-boilerplateExtra
Adjust your .eslintrc config file to your own preference.
NPM equivalent
| yarn | npm |
|---|---|
yarn | npm install |
yarn test | npm run test |
yarn build | npm run build |
License
MIT © Dinesh Pandiyan
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago