Skip to content

APSL/apsl.github.io

Repository files navigation

apsl.github.io Build Status

Source code for APSL GitHub page apsl.github.io.

Development

Tested with npm 3.4 and Node.js 4.2.

You can run npm start -- --port=<port-number> to use another port.

All commands:

  • npm test: Run unit tests in console.
  • npm run test-browser: Run unit tests in Chrome browser for debugging (http://localhost:9876).
  • npm start: Local server with development assets with hot reload.
  • npm run server-dev: Local server with development assets without hot reload.
  • npm run server-prod: Local server with production (minified) assets without hot reload.
  • npm run build-dev: Build development assets.
  • npm run build-prod: Build production assets in dist directory.
  • npm run lint: Run ESLint.

Contribute

If you would like to contribute to the project, be it new features or bugs, please do the following:

  1. Fork the repository.
  2. Create a new topic branch off the master branch that describe what it does.
  3. Before commit, generate dist directory running npm run build-prod.
  4. Commit and push the branch.
  5. Make a pull request describing what you have done.
  6. Now it will hopefully get merged :)

All pull requests should:

  • Have all tests green.
  • Use .eslintrc file to pass the ESLint linter.
  • Follow .editorconfig file rules. See EditorConfig.