Skip to content

Commit

Permalink
Merge 1bb68ee into 78fd674
Browse files Browse the repository at this point in the history
  • Loading branch information
ogonkov committed Dec 3, 2019
2 parents 78fd674 + 1bb68ee commit 609690e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ language: node_js

node_js:
- "lts/*"

script:
- npm test -- --coverage --collectCoverageFrom='src/**/*.js' --coverageReporters=text-lcov | coveralls
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![npm package][npm-image]][npm-url]
[![Coverage Status][coverage-image]][coverage-url]
[![node][node]][node-url]
[![Build Status][travis-image]][travis-url]
[![Dependencies Status][david-image]][david-url]
Expand Down Expand Up @@ -273,6 +274,8 @@ imports.

[npm-image]:https://img.shields.io/npm/v/simple-nunjucks-loader.svg
[npm-url]:http://npmjs.org/package/simple-nunjucks-loader
[coverage-image]:https://coveralls.io/repos/github/ogonkov/nunjucks-loader/badge.svg?branch=master
[coverage-url]:https://coveralls.io/github/ogonkov/nunjucks-loader?branch=master
[node]: https://img.shields.io/node/v/simple-nunjucks-loader.svg
[node-url]: https://nodejs.org
[travis-image]:https://travis-ci.org/ogonkov/nunjucks-loader.svg?branch=master
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "lib/loader.js",
"scripts": {
"build": "rm -rf lib && babel src --out-dir=lib --copy-files",
"pretest": "eslint src",
"lint": "eslint src",
"pretest": "rm -rf coverage && npm run lint",
"test": "jest",
"posttest": "rm -rf ./test/bundles/",
"preversion": "npm test",
Expand Down Expand Up @@ -40,6 +41,7 @@
"@babel/cli": "^7.7.4",
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"coveralls": "^3.0.9",
"eslint": "^6.7.1",
"jest": "^24.9.0",
"nunjucks": "^3.2.0",
Expand Down

0 comments on commit 609690e

Please sign in to comment.