react-svg

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

build

run-s clean compile bundle

bundle

rollup -c

check:format

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

check:types

tsc --noEmit

clean

run-p clean:*

clean:compiled

del compiled

clean:coverage

del coverage

clean:dist

del dist

compile

tsc -p tsconfig.base.json

format

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

lint

eslint .

postbundle

del compiled && cp-cli ./index.js ./dist/index.js

release

tanem-scripts release

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

Metadata

  • MIT
  • Whatever
  • Tane Morgan
  • released 8/14/2020

Downloads

Maintainers