react-lazy-img

v1.0.1
React <img> drop-in replacement for lazy image loading
react img image lazy loader loading performance defer intersection and 3 more...

lint

tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'

prebuild

rimraf dist

build

tsc --module commonjs && rollup -c rollup.config.ts

start

rollup -c rollup.config.ts -w

test

jest

test:watch

jest --watch

test:prod

npm run lint && npm run test -- --coverage --no-cache

report-coverage

cat ./coverage/lcov.info | coveralls

prepublishOnly

npm run build && npm run test

commit

git-cz

Source Code

Metadata

  • MIT
  • >=6.0.0
  • Pedro Ladaria
  • released 11/2/2018

Downloads

Maintainers