react-head

v3.1.0
SSR-ready Document Head management for React 16+
react head portals ssr isomorphic

prepare

npm run test && npm run build

build:flow

echo "// @flow export * from '../src'" > dist/index.cjs.js.flow

build:watch

rollup -c --watch

build

rollup -c && npm run build:flow

example

cd example && npm ci && npm start

dev

run-p build:watch example

test

jest --no-cache

posttest

npm run lint

test:watch

jest --watch

typecheck:flow

flow check --max-warnings=0

lint

eslint ./src

prettier

prettier --write "src/**/*.js"

precommit

lint-staged

Metadata

  • MIT
  • Whatever
  • Jeremy Gayed
  • released 2/4/2019

Downloads

Maintainers