Ghost/ghost/tpl
Hannah Wolfe 1a0436b540 Added ts-ignore for lodash interpolate
- ts complains the value may be undefined but in reality it never is
- plus we don't care about this error in this context as the test is checking that the value is set to its default
2021-06-09 12:00:07 +01:00
..
lib Added ts-ignore for lodash interpolate 2021-06-09 12:00:07 +01:00
test Added ts-ignore for lodash interpolate 2021-06-09 12:00:07 +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 Added coverage reporting for tpl package 2021-06-09 11:57:52 +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.