react-style-sheets

v0.1.0
Create cascading style sheets from within your React components
react style sheets css inline

start

http-server examples/ -c-0 -o

build

mkdir -p examples/build/js && browserify -t babelify -t brfs examples/src/js/index.js -o examples/build/js/index.js

watch

mkdir -p examples/build/js && watchify -t babelify -t brfs examples/src/js/index.js -o examples/build/js/index.js -v

lint-lib

eslint -c node_modules/eslintrc/.eslintrc-es5-react lib/ examples/src/js/

lint-tests

eslint -c node_modules/eslintrc/.eslintrc-es5-react-mocha tests/

lint

npm run lint-lib && npm run lint-tests

mocha

istanbul cover node_modules/mocha/bin/_mocha -- --require tests/helpers/test-setup.js --bail --recursive tests/

mocha-no-coverage

mocha --require tests/helpers/test-setup.js --bail --recursive tests/

test

npm run lint && npm run mocha
npm i react-style-sheets

Metadata

  • MIT
  • 6.2.2
  • Jake 'Sid' Smith
  • released 9/12/2016

Downloads

Maintainers