ab-tests

1.1.2 • Public • Published

Hummingbot UI library

WIP - contributions welcome

Getting started

To update design tokens:

1/3: Make sure you have a Specify personalAccessToken and the Specify CLI installed in your system:

yarn global add @specifyapp/cli

2/3: Create a file called .specifyrc.json at the root of the project with the following content (replace your personal access token):

{
  "repository": "@hummingbot/ds",
  "personalAccessToken": "your personalAccessToken here",
  "rules": [
    {
      "name": "Design Tokens",
      "path": "tokens/index.js",
      "parsers": [
        {
          "name": "to-tailwind",
          "options": {
            "formatName": "kebabCase",
            "formatTokens": {
              "colorFormat": {
                "format": "hex"
              },
              "fontSizeFormat": {
                "unit": "rem"
              }
            },
            "splitBy": "/",
            "formatConfig": {
              "objectName": "extend",
              "module": "commonjs"
            }
          }
        }
      ]
    }
  ]
}

3/3: update the design tokens:

specify pull

To build the npm module:

Make sure the dependencies are installed before building

yarn
yarn pack_all

To publish the project:

1: Build the module 2: Bump the version in package.json 3: Publish with this command:

npm publish

Package Sidebar

Install

npm i ab-tests

Weekly Downloads

10

Version

1.1.2

License

ISC

Unpacked Size

17.6 MB

Total Files

312

Last publish

Collaborators

  • antoniobrandao