ssr-window

v2.0.0
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

test

node ./test/test

validate

npm-run-all --parallel test check-format lint

release

npm run validate && node ./scripts/release

Metadata

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

Downloads

Maintainers