0.4.5 • Published 4 years ago

eda-frontend-deps v0.4.5

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

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.