Ghost/ghost/tpl
Daniel Lockyer e14beeb7d2 Moved c8 to devDependencies
no issue

- `c8` is only used to check coverage in testing and we don't directly
  use it from within `tpl`, so this can be moved to `devDependencies`
2021-06-15 11:04:14 +01:00
..
lib Added new tests & missing return type to tpl 2021-06-09 12:25:45 +01:00
test Added new tests & missing return type to tpl 2021-06-09 12:25:45 +01:00
.eslintrc.js Added minimal tpl() template helper 2021-06-09 10:04:49 +01:00
index.js Added minimal tpl() template helper 2021-06-09 10:04:49 +01:00
LICENSE Added minimal tpl() template helper 2021-06-09 10:04:49 +01:00
package.json Moved c8 to devDependencies 2021-06-15 11:04:14 +01:00
README.md Added minimal tpl() template helper 2021-06-09 10:04:49 +01:00

Tpl

Install

npm install @tryghost/tpl --save

or

yarn add @tryghost/tpl

Usage

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2013-2021 Ghost Foundation - Released under the MIT license.