rambler-ui-playground
v0.4.1
Published
Rambler UI Playground creator
Readme
rambler-ui-playground
Rambler UI Playground creator
Install
npm install --save-dev rambler-ui-playgroundConfiguration
Configure playground by creating .playground.json file in root of the repository:
{
"title": "Rambler UI",
"libName": "rambler-ui",
"branch": "master",
"repo": "[email protected]:rambler-ui/rambler-ui",
"repoLink": "https://gitlab.rambler.ru/rambler-ui/rambler-ui/",
"pathPrefix": "/rambler-ui"
}You also can create more complex configuration to setup playground:
.playground.json.playground.js.playground/index.js
CLI
Playground expose cli commands to simplify demo creation:
playground server- run webpack dev serverplayground build- compile latest demo versionplayground pages- build and publish multi-version demo
Contribute
Clone this repository to your local device and install deps:
git clone [email protected]:rambler-ui/playground.git
cd playground
npm installWe use npm scripts to run following tasks:
npm run dev- run example playgroundnpm test- run testsnpm run eslint- lint code stylenpm version <version>- bump the package version and publish in CI
