react-amphtml

v4.0.0
Use amphtml components inside your React apps easily!
react amphtml

codegen

babel-node --extensions='.js,.ts,.tsx' ./codegen/index.ts > ./src/amphtml/amphtml.tsx

prebuild

rimraf ./dist

build

rollup -c ./rollup.config.js

postbuild

npm run ts-declarations

prepublishOnly

npm run build

lint

eslint -c ./package.json ./

test

jest --no-cache

format

prettier --write '**/*.js' '**/*.jsx' '**/*.ts' '**/*.tsx' '**/*.md'

typecheck

tsc -p ./tsconfig.json --noEmit

ts-declarations

tsc -p ./tsconfig.declarations.json --emitDeclarationOnly --declaration

Metadata

  • MIT
  • Whatever
  • Dylan Frankland
  • released 6/29/2019

Downloads

Maintainers