Front-end to complement mozilla/addons-server
Перейти к файлу
Stuart Colville d13f5a934f Merge pull request #37 from muffinresearch/remove-jscs
Remove jscs in favour of just using eslint
2016-02-25 16:53:35 +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
public add initial folder layout 2016-02-22 15:03:04 +00:00
src Set up security headers 2016-02-25 11:58:05 +00:00
tests Restructure directories 2016-02-24 00:25:57 -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 Refactor servers and use webpack middleware 2016-02-24 21:36:41 +00: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 Remove jscs in favour of just using eslint 2016-02-25 16:38:57 +00:00
LICENSE Initial commit 2016-02-19 17:25:58 +00:00
README.md Remove jscs in favour of just using eslint 2016-02-25 16:38:57 +00:00
package.json Remove jscs in favour of just using eslint 2016-02-25 16:38:57 +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

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%)