goober

v2.1.15
A less than 1KB css-in-js solution
css-in-js goober styled emotion styled-components javascript react preact

test

npm run test-ts && npm run test-unit -- --ci --coverage && npm run build && npm run test-perf

test-perf

NODE_ENV=production node benchmarks/perf.cjs

test-perf-hash

NODE_ENV=production node benchmarks/perf-hash.cjs

test-unit-core

jest --setupFiles ./tests/setup.js --roots ./src packages

test-unit

npm run test-unit-core && npm run test-addon-global && npm run test-addon-prefixer

test-addon-global

cd global && npm run test

test-addon-prefixer

cd prefixer && npm run test

test-ts

tsc -p ts-tests

clean

rimraf dist

size-check

filesize

build

npm run build:core && npm run build:prefixer && npm run build:global && npm run build:should-forward-prop

build:prefixer

cd ./prefixer && npm run build

build:global

cd ./global && npm run build

build:should-forward-prop

cd ./should-forward-prop && npm run build

build:core

npm run clean && npm run build:dist && npm run size-check

build:lib

microbundle --entry src/index.js --name goober --no-sourcemap --generateTypes false

build:dist

npm run build:lib -- --output dist

build:debug

npm run build:lib -- --output debug --no-compress

dev

npm run clean && microbundle watch --entry src/index.js --output dist --name goober

sandbox

wmr --public sandbox/wmr

deploy

npm run build && npm publish

format

prettier "**/*.{js,ts,tsx,md}" --write
npm i goober

Metadata

  • MIT
  • Whatever
  • Cristian
  • released 10/7/2024

Downloads

Maintainers