Skip to content

Commit 30b38bc

Browse files
Added call to donate after npm install (optional)
1 parent a741058 commit 30b38bc

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"release": "standard-version --no-verify",
1919
"test": "mocha",
2020
"test:coverage": "nyc npm test",
21-
"test:coverage:report": "nyc report --reporter=html"
21+
"test:coverage:report": "nyc report --reporter=html",
22+
"postinstall": "opencollective-postinstall || true"
2223
},
2324
"repository": {
2425
"type": "git",
@@ -37,6 +38,7 @@
3738
"dependencies": {
3839
"@types/domhandler": "2.4.1",
3940
"html-dom-parser": "0.2.2",
41+
"opencollective-postinstall": "2.0.2",
4042
"react-property": "1.0.1",
4143
"style-to-object": "0.2.3"
4244
},
@@ -72,5 +74,9 @@
7274
"/lib",
7375
"index.d.ts"
7476
],
75-
"license": "MIT"
76-
}
77+
"license": "MIT",
78+
"collective": {
79+
"type": "opencollective",
80+
"url": "https://opencollective.com/html-react-parser"
81+
}
82+
}

0 commit comments

Comments
 (0)