@dmchurch/react-mdl

v2.0.1
React Components for Material Design Lite
react react-component mdl material-design badge button card checkbox data-table and 20 more...

clean

rimraf coverage lib out

react:16

true

test:react:16

npm run react:16 && npm run test:suite

test:suite

karma start --single-run

pretest

npm run lint

test

npm run test:react:16

test:watch

karma start --auto-watch

lint

eslint src scripts

compile

rimraf lib && babel src --ignore __tests__ --out-dir lib

serve-docs

cd docs && ./node_modules/.bin/gatsby develop

build-docs

cd docs && npm i && ./node_modules/.bin/gatsby build --prefix-links

build-umd

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

build-min

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

release

./scripts/release.sh

release-docs

gh-pages -d docs/public/ -m 'Updates v'$npm_package_version
npm i @dmchurch/react-mdl

Metadata

  • MIT
  • Whatever
  • Tommy Leunen
  • released 10/28/2019

Downloads

Maintainers