react-svg

v7.2.0
A React component that injects SVG into the DOM.
dom html images img javascript react scalable vector graphics svg svginjector and 2 more...

authors

shelljs-authors > AUTHORS

build

run-s clean compile bundle

bundle

rollup -c

changelog

github_changelog_generator --no-issues --header-label "# Changelog" --future-release v$npm_package_version

check:format

prettier --list-different "**/*.{js,ts,tsx}"

check:types

tsc --noEmit

clean

run-p clean:*

clean:cjs

del cjs

clean:coverage

del coverage

clean:es

del es

clean:typings

del index.d.ts

clean:umd

del umd

compile

tsc --emitDeclarationOnly

format

prettier --write "**/*.{js,ts,tsx}"

lint

tslint -t stylish -p .

postcompile

del '*.d.ts' '!index.d.ts'

postversion

git push && git push --tags && npm publish

release

npm version -m 'Release v%s'

test

run-s check:* lint build test:*

test:cjs

jest --config ./scripts/jest/config.cjs.js

test:cjsprod

cross-env NODE_ENV=production jest --config ./scripts/jest/config.cjs.js

test:es

jest --config ./scripts/jest/config.es.js

test:src

jest --config ./scripts/jest/config.src.js

test:umd

jest --config ./scripts/jest/config.umd.js

test:umdprod

jest --config ./scripts/jest/config.umdprod.js

updatedeps

node scripts/update-deps

version

run-s test changelog authors && git add .

Metadata

  • MIT
  • Whatever
  • Tane Morgan
  • released 11/26/2018

Downloads