react-mdl

v1.0.4
React Components wrapper for Material Design Lite UI
react react-component mdl material-design badge button card checkbox data-table and 20 more...

test

karma start --single-run

posttest

npm run lint

lint

eslint docs src scripts

compile

rm -rf lib && babel src --ignore __tests__ --out-dir lib

serve-docs

npm run build-docs && webpack-dev-server --content-base out/docs/

prebuild-docs

babel-node scripts/docs.js

postbuild-docs

cp -r extra/material.min.* docs/*.html docs/*.css out/docs/

build-docs

webpack docs/src/app.js out/docs/app.js

build-umd

NODE_ENV=production webpack src/index.js out/ReactMDL.js --output-library ReactMDL --output-library-target umd

build-min

NODE_ENV=production webpack -p src/index.js out/ReactMDL.min.js --output-library ReactMDL --output-library-target umd

prebuild-all

rm -rf out

build-all

npm run build-docs && npm run build-umd && npm run build-min

Metadata

  • MIT
  • Whatever
  • Tommy Leunen
  • released 12/16/2015

Downloads

Maintainers