react-mdl

v1.7.2
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:clean

rimraf node_modules/react node_modules/react-dom node_modules/react-addons-test-utils

react:14

npm run react:clean && npm i [email protected] [email protected] [email protected]

react:15

npm run react:clean && npm i react@15 react-dom@15 react-addons-test-utils@15

test:react:14

npm run react:14 && npm run test:suite

test:react:15

npm run react:15 && npm run test:suite

test:suite

karma start --single-run

pretest

npm run lint

test

npm run test:react:14 && npm run test:react:15

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 && ./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

Metadata

  • MIT
  • Whatever
  • Tommy Leunen
  • released 9/12/2016

Downloads

Maintainers