0.0.22 • Published 6 years ago
@interstice/tailwind-vars v0.0.22
\
A collection of webcomponents which follow the open-wc recommendation.
Installation
npm install @interstice/component-nameUsage
<script type="module">
import '@interstice/component-name';
</script>
<i-component-name></i-component-name>Linting with ESLint, Prettier, and Types
To scan the project for linting errors, run
npm run lintYou can lint with ESLint and Prettier individually as well
npm run lint:eslintnpm run lint:prettierTo automatically fix many linting errors, run
npm run formatYou can format using ESLint and Prettier individually as well
npm run format:eslintnpm run format:prettierTesting with Karma
To run the suite of karma tests, run
lerna run testor to run them in compatibility mode for legacy browsers
lerna run test:compatibilityTo run the tests in watch mode (for TDD, for example), run
lerna run test:watchor
lerna run test:compatibilityTesting with Karma via BrowserStack
To run the suite of karma tests in BrowserStack, run
lerna run test:bsManaging Test Snapshots
You can manage the test snapshots using
lerna run test:update-snapshotsor
lerna run test:prune-snapshotsDemoing with Storybook
To run a local instance of Storybook for your component, run
npm run storybookTo build a production version of Storybook, run
npm run storybook:build