Skip to content

gilbox/hypernova-amp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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', // this file's name (or really any unique name)
  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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%