Skip to content

Commit

Permalink
build: update build system, close #279
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed May 6, 2019
1 parent 5c9b45a commit ca77e4a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
10 changes: 1 addition & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ node_js:
- "stable"
- "lts/*"
- 6
- 4
- 0.12
- 0.10

env:
global:
- ISTANBUL_COVERAGE: yes

after_success:
- npm i coveralls
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- npm run coverage
18 changes: 8 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,23 @@
},
"dependencies": {
"posthtml-parser": "^0.4.1",
"posthtml-render": "^1.1.0"
"posthtml-render": "^1.1.5"
},
"devDependencies": {
"chai": "^4.2.0",
"chai": "^4.0.0",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.1.0",
"es6-promise": "^4.0.5",
"istanbul": "^0.4.2",
"chai-subset": "^1.6.0",
"coveralls": "^3.0.3",
"jsdoc-to-markdown": "^4.0.1",
"mocha": "^6.1.4",
"mversion": "^1.10.0",
"nyc": "^14.1.0",
"standard": "^12.0.1",
"standard-version": "^6.0.1"
},
"scripts": {
"lint": "standard",
"test": "npm run lint && mocha -R dot && npm run cover",
"clean": "rm -rf coverage jsdoc-api",
"cover": "istanbul cover --report text --report html --report lcov node_modules/mocha/bin/_mocha -- -R tap",
"lint": "standard --env mocha",
"test": "npm run lint && nyc mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"docs:api": "jsdoc2md lib/api.js > docs/api.md",
"docs:core": "jsdoc2md lib/index.js > docs/core.md",
"release": "standard-version"
Expand Down

0 comments on commit ca77e4a

Please sign in to comment.