Compass Shell Plugin
The test environment is configured to test components with Enzyme
(including full mount
mode through jsdom) and enzyme-chai.
See the test folder for examples. Run npm test
to execute the test suite.
Almost all of your development will happen in the ./src
directory. Add new components
to ./src/components
, actions to ./src/actions/index.js
and if you need additional
stores, add them to ./src/stores
.
For completeness, below is a list of directories present in this module:
-
dist
compiled version of your components (plain javascript instead ofjsx
) and styles (css
instead ofless
). Never change anything here as this entire folder gets automatically created and overwritten. -
src
components, actions and stores source code, as well as style files. This is the place to implement your own components.npm run compile
will use./src
as input and create./dist
.