Add interactive demo page to show how markdownlint handles user content.

This commit is contained in:
David Anson 2015-05-03 21:50:25 -07:00
parent 43f28b90c1
commit dce6024e16
7 changed files with 178 additions and 1 deletions

View file

@ -15,13 +15,15 @@
"test": "nodeunit",
"test-cover": "istanbul cover node_modules/nodeunit/bin/nodeunit",
"debug": "node debug node_modules/nodeunit/bin/nodeunit",
"lint": "eslint lib test & eslint --rule \"no-console: 0, no-shadow: 0\" example",
"lint": "eslint lib test & eslint --env browser --global markdownit --global markdownlint --rule \"no-unused-vars: 0\" demo & eslint --rule \"no-console: 0, no-shadow: 0\" example",
"build-demo": "browserify lib/markdownlint.js --standalone markdownlint --exclude markdown-it --outfile demo/markdownlint-browser.js",
"example": "npm install through2 & cd example & node standalone.js & grunt markdownlint & gulp markdownlint"
},
"dependencies": {
"markdown-it": "^4.1.1"
},
"devDependencies": {
"browserify": "^10.0.0",
"eslint": "^0.19.0",
"istanbul": "^0.3.8",
"nodeunit": "^0.9.1",