Skip to content

Commit 0572008

Browse files
author
Jeff Escalante
committed
update package.json, add coverage
1 parent 0ad1cb5 commit 0572008

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.DS_Store
33
node_modules
44
npm-debug.log
5+
.nyc_output

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ npm-debug.log
33
test.js
44
test
55
node_modules
6+
.nyc_output

package.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,17 @@
99
"bugs": {
1010
"url": "https://github.com/posthtml/posthtml-exp/issues"
1111
},
12+
"dependencies": {
13+
"lodash.clonedeep": "^4.3.2",
14+
"lodash.merge": "^4.4.0"
15+
},
1216
"devDependencies": {
1317
"ava": "^0.15.2",
14-
"posthtml": "^0.9.0"
18+
"coveralls": "^2.11.9",
19+
"nyc": "^7.0.0",
20+
"posthtml": "^0.9.0",
21+
"snazzy": "^4.0.0",
22+
"standard": "^7.1.2"
1523
},
1624
"engines": {
1725
"node": ">=6"
@@ -23,16 +31,14 @@
2331
"posthtmlplugin"
2432
],
2533
"license": "MIT",
26-
"main": "index.js",
34+
"main": "lib",
2735
"repository": {
2836
"type": "git",
2937
"url": "https:/github.com/posthtml/posthtml-exp"
3038
},
3139
"scripts": {
32-
"test": "ava"
33-
},
34-
"dependencies": {
35-
"lodash.clonedeep": "^4.3.2",
36-
"lodash.merge": "^4.4.0"
40+
"test": "ava",
41+
"coverage": "nyc --reporter=html ava && open coverage/index.html",
42+
"coveralls": "nyc --reporter=lcov ava && cat ./coverage/lcov.info | coveralls"
3743
}
3844
}

0 commit comments

Comments
 (0)