jncc / peru-mapping

Mapping application for Peru

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

peru-mapping

Mapping application for Peru

Development

You can use any editor, although I suggest VS Code.

Ensure you have Node.

node -v
v8.11.3

npm -v
5.6.0

Do not use npm ... to add or amend local packages! We use Yarn to manage packages:

npm install --global yarn

yarn -v
1.7.0

Use .editorconfig to standardise IDE configuration for all developers working on the project. In VS Code, install the Editor Config for VS Code extension.

Use TsLint. In VS Code, install the TSLint extension. In particular, we:

  • use 'single quotes' for strings
  • do not use semicolons to terminate statements

Set up a .env file for local dev, you can use .env.example

To install/restore packages, run:

yarn

Then, to launch a local instance of the app, run:

yarn dev

To build a distribution / deployment into the dist/ directory:

yarn build

About

Mapping application for Peru


Languages

Language:SCSS 31.1%Language:Less 28.8%Language:CSS 17.9%Language:JavaScript 15.7%Language:TypeScript 3.6%Language:Python 2.6%Language:HTML 0.4%