polymath-ui

v4.0.1
A library for Polymath's custom UI components.

dev

npm-run-all -p "build:cjs --watch" "build:scss --watch" "lint -w"

lint

esw --fix src

typecheck

flow

precommit

lint-staged && npm run typecheck

build

npm run build:clean && npm run build:cjs && npm run build:scss && npm run build:flow

build:cjs

babel src --out-dir dist

build:scss

node-sass-chokidar src/ -o dist/

build:flow

for file in $(find ./src -name '*.js'); do cp "$file" `echo "$file" | sed 's/\/src\//\/dist\//g'`.flow; done

build:clean

rm -rf ./dist && mkdir ./dist

prepublish

npm run build

Metadata

Downloads

Maintainers