0.0.17 • Published 9 years ago
gi-feature-playground v0.0.17
playground feature
Playground Feature class for testing purposes.
Global dependencies
Installation
Install this package with sackmesser:
make feature-install-playgroundor when sackmesser is not used:
yarn install gi-feature-playgroundAfter the installation has completed, you can import the module files:
JS (if any):
// import complete library with all modules
import Playground from 'gi-feature-playground'
// ...
base.features.add('playground', Playground)Make sure you provide the global dependencies in your webpack config file:
new webpack.ProvidePlugin({
base: 'gi-js-base'
})Styles (if any):
@import 'gi-feature-playground/src/style';Assets (if any, but not necessary if installed with sackmesser feature-install command):
Move the assets folder contents inside your project's asset folder.
Browser compatibility
- Newest two browser versions of Chrome, Firefox, Safari and Edge
- IE 10 and above
Development
make buildornpm run build- Build production version of the feature.make devornpm run dev- Build demo of the feature, run a watcher and start browser-sync.make testornpm run test- Test the feature.make jsdoc- Update documentation inside thedocsfolder.make publish- Publish npm package.