npm.io
0.4.5 • Published 6 years agoCLI

eda-frontend-deps

Licence
ISC
Version
0.4.5
Deps
25
Size
3 kB
Vulns
25
Weekly
0

EDA Frontend Dependencies

To apply these dependencies:

npm install eda-frontend-deps

Available commands

  • lint-frontend
  • test-frontend
  • watch-frontend-tests
  • build-frontend
  • watch-frontend-build

In your package.json, add

"scripts": {
  "client-lint": "lint-frontend",
  "client-test": "test-frontend",
  "client-test:watch": "watch-frontend-tests",
  "client-build": "built-frontend",
  "client-build:watch": "watch-frontend-build"
},

The bundle.js that results from a frontend build will go to /server/public. The linter runs on /client.

Requirements

The entry point for your frontend code must be /client/index.js.

Keywords