ssr-window

v2.0.0-beta.2
Better handling for window object in SSR environment
ssr window document

build:dev

tsc --declarationDir build/types --emitDeclarationOnly --declaration true && NODE_ENV=development node ./scripts/build

build:prod

tsc --declarationDir dist/types --emitDeclarationOnly --declaration true && NODE_ENV=production node ./scripts/build

serve

serve

lint

eslint --ext .js,.ts,.tsx .

prettier

prettier "**/*.+(js|json|scss)"

format

npm run prettier -- --write

check-format

npm run prettier -- --list-different

validate

npm-run-all --parallel check-format lint build:dev

release

npm run validate && node ./scripts/release

test

npm run validate

Metadata

  • MIT
  • Whatever
  • Vladimir Kharlampidi
  • released 5/8/2020

Downloads

Maintainers