0.8.6 • Published 2 years ago

@talloinc/celula v0.8.6

Weekly downloads
14
License
LGPL-3.0
Repository
github
Last release
2 years ago

permalink: /index.html

Celula

Scripts

To aid in the development, deployment, and maintenance of Celula, there are several tasks/scripts available to you via the command line; yarn run [task]

build

The build task produces a build that is the same as what is deployed to npm. Ultimately this task runs the prettier, and eslint fixes, then builds the component library. It runs the clean, prebuild, and build:components tasks, in that order.

build:components

The build:components task builds the component library.

build:icons

The build:icons task uses svg-sprite-generate to build the icon sprite used by the various icon components.

build:styleguide

The build:styleguide task builds the styleguide documentation site (Storybook).

check

The check task runs the eslint and prettier checks. It does not fix any of the errors/warnings.

clean

The clean task uses rimraf to delete the docs and the dist directories.

coverage

The coverage taske runs the test suite and generates a coverage report.

generate

The generate task uses plop to generate the boilerplate for a new React component.

lint:check

The lint:check task runs the eslint checks. It does not fix any of the errors/warnings.

lint:fix

The lint:fix task fixes any eslint errors/warnings possible.

optimize:icons

The optimize:icons task runs the svgOptimize script. That script optimizes and normalizes all the icons, using svgo. This task should always be run before the build:icons task.

prebuild

The prebuild task runs the prettier and eslint fix tasks.

pretty:check

The pretty:check task runs the prettier checks. It does not fix any of the errors/warnings.

pretty:fix

The pretty:fix task fixes any prettier erros/warnings possible.

start

The start task runs the documentation site (Storybook) for devlopment.

test

The test task runs the jest tests.

test:debug

The test:debug task runs the jest tests in debug mode. This is helpful if you need to see into other libs your tests might be 'using', such as a component from Semantic UI your component composes.

Once the test is complete, you will need to vist chrome://inspect in Google Chrome. You should see something that looks like this:

TODO: Add screenshot

Under 'Remote Target' click the inspect link to be taken to the debugger.

test:watch

The test:watch task runs the jest tests, in watch mode.

Once running, you have several options:

  • Press a to run all tests.
  • Press f to run only failed tests.
  • Press p to filter by a filename regex pattern.
  • Press t to filter by a test name regex pattern.
  • Press q to quit watch mode.
  • Press Enter to trigger a test run.

And if the snapshots are out of date:

  • Press u to update the snapshots.
0.8.7-dev.7

2 years ago

0.8.7-dev.8

2 years ago

0.8.7-dev.5

2 years ago

0.8.7-dev.6

2 years ago

0.8.7-dev.1

2 years ago

0.8.7-dev.2

2 years ago

0.8.5

2 years ago

0.8.4

2 years ago

0.8.6

2 years ago

0.8.7-dev.3

2 years ago

0.8.7-dev.4

2 years ago

0.8.1

2 years ago

0.8.3

2 years ago

0.8.2

2 years ago

0.8.0

2 years ago

0.7.1-dev.2

3 years ago

0.7.1-dev.1

3 years ago

0.7.1-dev.0

3 years ago

0.7.0

3 years ago

0.7.0-dev.11

3 years ago

0.7.0-dev.10

3 years ago

0.7.0-dev.9

3 years ago

0.7.0-dev.8

3 years ago

0.7.0-dev.7

3 years ago

0.7.0-dev.6

3 years ago

0.7.0-dev.5

3 years ago

0.7.0-dev.3

3 years ago

0.7.0-dev.4

3 years ago

0.7.0-dev.2

3 years ago

0.7.0-dev.1

3 years ago

0.6.7

3 years ago

0.6.7-dev.9

3 years ago

0.6.7-dev.8

3 years ago

0.6.7-dev.6

3 years ago

0.6.7-dev.5

3 years ago

0.6.7-dev.7

3 years ago

0.6.7-dev.4

3 years ago

0.6.7-dev.2

3 years ago

0.6.7-dev.1

3 years ago

0.6.7-dev.3

3 years ago

0.6.7-dev.0

3 years ago

0.6.6

3 years ago

0.6.6-dev.2

3 years ago

0.6.6-dev.1

3 years ago

0.6.6-dev.0

3 years ago

0.6.5

3 years ago

0.6.4

3 years ago

0.6.3

3 years ago

0.6.2

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago