react-with-styles-interface-css-compiler

v2.2.0
Build step package for generating a static css file to support a react-with-styles project built with the react-with-styles CSS interface
react-with-styles css-in-js css

dev

npm run build -- --watch

tag

git tag compiler-v$npm_package_version

jest

jest

lint

eslint .

test

npm run test:only

build

babel src --out-dir dist

clean

rimraf dist

pretest

npm run lint

prebuild

npm run clean

test:only

npm run jest

prepublish

in-publish && safe-publish-latest && npm run build || not-in-publish

preversion

npm test && npm run check-changelog && npm run check-only-changelog-changed

postversion

git commit package.json CHANGELOG.md -m "[compiler] Version $npm_package_version" && npm run tag && git push && git push --tags && npm publish

version:major

npm --no-git-tag-version version major

version:minor

npm --no-git-tag-version version minor

version:patch

npm --no-git-tag-version version patch

check-changelog

expr $(git status --porcelain 2>/dev/null| grep "^\s*[AM].*packages/compiler/CHANGELOG.md" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)

check-only-changelog-changed

(expr $(git status --porcelain 2>/dev/null| grep -v "CHANGELOG.md" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0
npm i react-with-styles-interface-css-compiler

Metadata

  • MIT
  • Whatever
  • Felipe Vargas
  • released 9/9/2019

Downloads