react-amphtml
v4.0.2 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