Skip to content
This repository was archived by the owner on Jul 15, 2019. It is now read-only.

Commit 7e75d88

Browse files
committed
Merge pull request #26 from neraliu/fixing-npm-installation
avoid name conflict of another npm package called html-purifier
2 parents 9cfbfed + c785e3a commit 7e75d88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/html-purifier.js renamed to bin/html-purify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Debug.enable(progname);
6565
process.exit(1);
6666
}
6767
} else {
68-
console.log("Usage: html-purifier <any html file>");
68+
console.log("Usage: html-purify <any html file>");
6969
process.exit(1);
7070
}
7171

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"grunt-contrib-uglify": "^0.9.1",
4545
"grunt-mocha-istanbul": "^2.3.0"
4646
},
47-
"main": "./src/context-parser.js",
47+
"main": "./bin/html-purify.js",
4848
"bugs": {
4949
"url": "https://github.com/yahoo/html-purify/issues"
5050
},

0 commit comments

Comments
 (0)