curls

v4.0.0
An unopinionated, [lightweight](https://bundlephobia.com/result?p=curls), and modular CSS-in-JS component framework for React backed by [Emotion](https://github.com/emotion-js/emotion).

build

yarn build:es && yarn build:cjs

build:es

rm -rf dist/es && cross-env NODE_ENV=production BABEL_ENV=es babel src --out-dir dist/es

build:cjs

rm -rf dist/cjs && cross-env NODE_ENV=production BABEL_ENV=cjs babel src --out-dir dist/cjs

watch

cross-env NODE_ENV=production BABEL_ENV=es babel ./src -w --out-dir dist/es

prettier

yarn prettier:cjs && yarn prettier:es

prettier:es

prettier --single-quote --no-bracket-spacing --trailing-comma es5 --write --tab-width 2 "dist/es/**/*.js"

prettier:cjs

prettier --single-quote --no-bracket-spacing --trailing-comma es5 --write --tab-width 2 "dist/cjs/**/*.js"

publish:dev

yarn publish --tag dev

publish:next

yarn publish --tag next

prepublishOnly

yarn test && yarn build && yarn prettier

test

yarn build:cjs && BABEL_ENV=cjs ava -v

Metadata

  • MIT
  • Whatever
  • Jared Lunde
  • released 7/31/2019

Downloads

Maintainers