hypernova-amp
Aphrodite bindings for Hypernova
for rendering AMP pages.
Install
npm install hypernova-amp
Usage
Here'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',
MyComponent,
);
Publishing a new release
- 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.Z
git push --tags
- wait for travis to pass
npm install && npm test && npm publish