0.4.0-alpha.4 • Published 4 years ago

@jisc/front-end-foundations v0.4.0-alpha.4

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
4 years ago

Front-end foundations (FEF), by Jisc Digital team.

Implementation agnostic front-end code that can be used in Jisc projects/services.

FEF itself

Install

Requires node >=v10.

  • npm install

Commands

  • Build distribution.
    • node_modules/gulp/bin/gulp.js build
  • Run unit tests.
    • node_modules/gulp/bin/gulp.js test
  • Tell browserSync to watch all source files for changes; build distribution when they change.
    • Note that this does not clean out the distribution directory
    • node_modules/gulp/bin/gulp.js dev
  • Deploy distribution.
    • node_modules/gulp/bin/gulp.js build

Source code is located in \src. Code is built into \dist, which is ignored by the repo.

Use FEF as a basis for your project

FEF is available as an npm package.

  • Install the package in your project:
    • npm i @jisc/front-end-foundations
  • npm package tag: npm (scoped)