rambler-ui-playground

0.4.1 • Public • Published

rambler-ui-playground

Rambler UI Playground creator

Install

npm install --save-dev rambler-ui-playground

Configuration

Configure playground by creating .playground.json file in root of the repository:

{
  "title": "Rambler UI",
  "libName": "rambler-ui",
  "branch": "master",
  "repo": "git@gitlab.rambler.ru: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 server
  • playground build - compile latest demo version
  • playground pages - build and publish multi-version demo

Contribute

Clone this repository to your local device and install deps:

git clone git@gitlab.rambler.ru:rambler-ui/playground.git
cd playground
npm install

We use npm scripts to run following tasks:

  • npm run dev - run example playground
  • npm test - run tests
  • npm run eslint - lint code style
  • npm version <version> - bump the package version and publish in CI

Readme

Keywords

none

Package Sidebar

Install

npm i rambler-ui-playground

Weekly Downloads

15

Version

0.4.1

License

ISC

Unpacked Size

65.8 kB

Total Files

42

Last publish

Collaborators

  • rambler-ui-bot