Jayden Seric a950f60835 Add browserslist package field.
Fixes the lint error.
2018-11-29 07:51:18 +11:00

26 lines
919 B
Markdown

# Example web app
An example SSR web app using:
- [`next`](https://npm.im/next)
- [`react-apollo`](https://npm.im/react-apollo)
- [`apollo-upload-client`](https://npm.im/apollo-upload-client)
## Setup
1. Install the latest [Node.js](https://nodejs.org) and [npm](https://npmjs.com).
2. Duplicate `.env.example` as `.env` and configure.
3. Run `npm install` in the `app` directory with Terminal.
4. Run `npm run dev` for development, or `npm run build && npm start` for production.
Ensure your editor supports:
- [EditorConfig](http://editorconfig.org).
- [ESLint](http://eslint.org), respecting `package.json` config.
- [Atom](https://atom.io): [`linter-eslint`](https://atom.io/packages/linter-eslint).
- [VS Code](https://code.visualstudio.com): [`vscode-eslint`](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint).
## Support
See `package.json` `engines` and `browserslist`.