Skip to content

Latest commit

 

History

History
67 lines (53 loc) · 1.67 KB

README.md

File metadata and controls

67 lines (53 loc) · 1.67 KB

weather

Dependencies status Dev dependencies status Build status Dependabot badge

Architecture demo app.

Available scripts

# Lint only styles
yarn lint:styles
# Lint only scripts
yarn lint:scripts
# Lint all sources
yarn lint
# Run tests with Jest
yarn jest
# Run type checking
yarn typecheck
# Run lint, tests and build
yarn test
# Generate docs for TypeScript sources
yarn build:docs
# Start Storybook
yarn start:storybook
# Build standalone Storybook bundle
yarn build:storybook
# Start development server
yarn start
# Build our bundle for production
yarn build
# Serve files from `build` directory
yarn serve

Environment variables

To be able to build this app, you should provide some environment variables:

OPENWEATHER_APPID=XXX # OpenWeather API App ID; not set by default

Optional variables:

PROXY_API_URI='' # valid URI; not set by default
DISABLE_BROWSER_SYNC=false # boolean; `false` by default
DISABLE_HISTORY_FALLBACK=false # boolean; `false` by default

You can create .env in project root with this variables.