Front-end to complement mozilla/addons-server
Перейти к файлу
greenkeeperio-bot 164e1b3a39 chore(package): update webpack-hot-middleware to version 2.10.0
http://greenkeeper.io/
2016-03-10 07:32:30 +00:00
bin Setup webpack-isomorphic-tools. 2016-03-09 17:32:18 +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 content-type 2016-03-09 19:14:12 +00:00
tests Redux with stub data (fixes #8) 2016-03-07 16:14:50 -06:00
.babelrc Setup webpack-isomorphic-tools. 2016-03-09 17:32:18 +00:00
.eslintignore Setup code coverage generation 2016-03-02 19:54:47 +00:00
.eslintrc Setup webpack-isomorphic-tools. 2016-03-09 17:32:18 +00:00
.gitignore Setup webpack-isomorphic-tools. 2016-03-09 17:32:18 +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 Use the latest firefox for travis tests 2016-03-09 10:03:38 +00: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 Setup webpack-isomorphic-tools. 2016-03-09 17:32:18 +00:00
package.json chore(package): update webpack-hot-middleware to version 2.10.0 2016-03-10 07:32:30 +00:00
test-runner.js Redux with stub data (fixes #8) 2016-03-07 16:14:50 -06: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%)