We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
broofa
ctavan
Learn more about funding links in repositories.
Report abuse
1 parent 4f93fc8 commit ee5e77dCopy full SHA for ee5e77d
.travis.yml
@@ -3,3 +3,4 @@ node_js:
3
- "8"
4
- "10"
5
- "12"
6
+script: npm run ci
package.json
@@ -36,7 +36,8 @@
36
},
37
"scripts": {
38
"lint": "eslint src/ test/ *.js",
39
- "test": "npm run lint && mocha --require esm --reporter spec --check-leaks test/test.js",
+ "test": "mocha --require esm --reporter spec --check-leaks test/test.js",
40
+ "ci": "npm run lint && npm run test && npm run docs:diff",
41
"md": "runmd --watch --output=README.md README_js.md",
42
"docs": "( node --version | grep -q 'v12' ) && ( npm run package && runmd --output=README.md README_js.md )",
43
"docs:diff": "( node --version | grep -vq 'v12' ) || ( npm run docs && git diff --quiet README.md )",
0 commit comments