@politico/interactive-style
v4.1.40 interactives
makeComponent
node bin/makeComponent.js
addTests
node bin/addTests.js
test
jest src/**
test:coverage
jest src/** --coverage --coverageReporters=text
test:generate-output
jest src/** --json --outputFile=.jest-test-results.json
test:generate-output:watch
jest src/** --json --outputFile=.jest-test-results.json --watchAll || true
lint-scripts
npx eslint "./src/" --ext js,jsx
lint-styles
npx stylelint "./src/**/*.?(s)css"
lint
npm-run-all lint-styles lint-scripts
storybook:only
start-storybook -p 6006
storybook
npm-run-all --parallel test:generate-output:watch storybook:only
rebuild-icons
node bin/rebuild_icons.js
docs:build
node bin/docs_build.js
docs:pub
node bin/docs_publish.js
build
node bin/build.js --input ./src --output ./dist
build:watch
npm run build -- --watch
release
node bin/release.js