Front-end to complement mozilla/addons-server
Перейти к файлу
greenkeeperio-bot 563763fc4b chore(package): update babel-core to version 6.6.4
http://greenkeeper.io/
2016-03-02 22:23:16 +00:00
bin Refactor servers and use webpack middleware 2016-02-24 21:36:41 +00:00
config Refactor servers and use webpack middleware 2016-02-24 21:36:41 +00:00
dist add initial folder layout 2016-02-22 15:03:04 +00:00
docker Production style docker environment (fixes #52) 2016-03-02 11:55:34 -06:00
public add initial folder layout 2016-02-22 15:03:04 +00:00
src Fix the SearchResults results prop type 2016-03-02 13:44:01 -06:00
tests Basic search view with tests 2016-03-01 09:09:40 -06:00
.babelrc Add basic hello world 2016-02-23 16:01:58 +00:00
.eslintignore Rename lint + style scripts 2016-02-24 11:42:26 +00:00
.eslintrc Basic search view with tests 2016-03-01 09:09:40 -06:00
.gitignore Add basic hello world 2016-02-23 16:01:58 +00:00
.npmrc Add .npmrc 2016-02-22 18:54:24 +00:00
.nvmrc Specify node version 2016-02-22 18:54:39 +00:00
.travis.yml Don't cache $NVM_DIR on travis, it isn't used 2016-03-01 09:09:40 -06:00
Dockerfile Production style docker environment (fixes #52) 2016-03-02 11:55:34 -06:00
LICENSE Initial commit 2016-02-19 17:25:58 +00:00
README.md Add coveralls badge 2016-03-02 19:22:45 +00:00
karma.conf.js Basic search view with tests 2016-03-01 09:09:40 -06:00
package.json chore(package): update babel-core to version 6.6.4 2016-03-02 22:23:16 +00:00
server.babel.js Add basic hello world 2016-02-23 16:01:58 +00:00
webpack.config.js Add basic hello world 2016-02-23 16:01:58 +00:00

README.md

Build Status Coverage Status

Addons-frontend 🔥

Front-end infrastructure and code to complement mozilla/addons-server

Requirements

  • Node 4.x LTS
  • npm 3.x

The easiest way to manage multiple node versions in development is to use nvm. See https://github.com/creationix/nvm for more info.

Get started

  • npm install
  • npm run dev

NPM scripts

Script Description
npm start Starts the express server
npm test Runs the tests
npm run build Builds the lib
npm run dev Starts the dev server (Express + webpack)
npm run dev:search As above but just the search code
npm run dev:disco As above but just the discovery pane code
npm run lint Lints the files with eslint (Run in npm test)
npm run eslint An alias for npm run lint
npm run version-check Checks you have the minimum node + npm versions

Overview and rationale

This project will hold several distinct front-ends e.g:

  • Editors search tool
  • Discovery Pane
  • and beyond...

We've made a conscious decision to avoid "premature modularization" and keep this all in one repository. This will help us build out the necessary tooling to support a universal front-end infrastructure without having to worry about cutting packages and bumping versions the entire time.

At a later date if we need to move things out into their own project we still can.

Core technologies

  • Based on Redux + React
  • Code written in ES2015+
  • Universal rendering via node
  • Unit tests with high coverage (aiming for 100%)