ac-react-components
v4.1.1
Published
Basic A&C styled components and containers
Downloads
135
Keywords
Readme
A&C react components
This package contains a collection of services and framework components to use in other react projects.
Usage
Run a script using npm run <script-name>
. To add/edit/remove scripts, see scripts
section in package.json
.
| Script | Usage |
|-------------|-------------------------------------------------------------------|
| lint
| Runs eslint and checks all files for any violations |
| test
| Runs all all tests, specified in <file>.spec.tsx
|
| build
| Compiles and minifies all files into ./dist
|
| storybook
| Runs storybook watcher to visualize components during development |
| build
| Builds storybook into a deployable bundle |
Publishing
Do not forget to change the version in ./package.json
before running merging into master.
The package will be rejected by npm if the version is not changed.
ESLint
This project uses eslint to ensure a consistent code style. To enable tslint please see your editor's manual.
⚠ Pull requests with eslint violations WILL BE DENIED ⚠
For PHPStorm/WebStorm this is under Languages & Frameworks > JavaScript > ESLint > Automatic configuration
Depending on your editor/IDE you might have to change some automatic code completion settings.