react-amphtml

v4.0.2
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 --ext .ts --ext .tsx --ext .js .

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
npm i react-amphtml

Metadata

  • MIT
  • Whatever
  • Dylan Frankland
  • released 8/10/2019

Downloads

Maintainers