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