Aphrodite bindings for Hypernova for rendering AMP pages.
npm install hypernova-ampHere's how use use it in your module:
import { renderReactAmpWithAphrodite } from 'hypernova-amp';
import MyComponent from './src/MyComponent.jsx';
export default renderReactAmpWithAphrodite(
'MyComponent.hypernova.js', // this file's name (or really any unique name)
MyComponent,
);- Add entry to CHANGELOG.md
- Make a commit, directly onto master, that does nothing but adds/updates the changelog and bumps package.json, with a commit message of “vX.Y.Z"
git tag vX.Y.Zgit push --tags- wait for travis to pass
npm install && npm test && npm publish