forked from commenthol/markedpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
custom anchors; github autoid per option
- Loading branch information
1 parent
306491e
commit bab940f
Showing
17 changed files
with
420 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
node_modules/ | ||
tmp/ | ||
/node_modules | ||
/coverage | ||
/doc | ||
/tmp | ||
*.log | ||
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/coverage/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"node": true | ||
"node": true, | ||
"-W030": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
**/.* | ||
test/ | ||
tmp/ | ||
markedpp-*.tgz | ||
/node_modules | ||
/coverage | ||
/doc | ||
/test | ||
/tmp | ||
.* | ||
*.log | ||
*.tgz | ||
Makefile | ||
bower.json | ||
component.json | ||
markedpp.min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,30 @@ | ||
all: jshint runtest minify gitadd | ||
all: readme jshint 0.8 0.12 markedpp.min.js | ||
|
||
minify: | ||
@uglifyjs -m --comments '/\*[^\0]+?\@copyright[^\0]+?\*/' -o markedpp.min.js lib/markedpp.js | ||
markedpp.min.js: lib/markedpp.js | ||
@uglifyjs -m --comments '/\*[^\0]+?\@copyright[^\0]+?\*/' -o $@ $< | ||
|
||
jshint: | ||
@jshint lib/*.js test/*.js | ||
@npm run lint | ||
|
||
gitadd: | ||
@git ls -m | xargs git add | ||
|
||
runtest: | ||
test: | ||
@npm test | ||
|
||
cover: | ||
@npm run cover | ||
|
||
clean: | ||
@rm markedpp.min.js | ||
@rm -rf doc coverage | ||
|
||
readme: README.md | ||
./bin/markedpp.js --githubid $< > tmp.md | ||
mv tmp.md $< | ||
|
||
browser: | ||
x-www-browser "http://localhost:3000" ;\ | ||
node test/server.js | ||
|
||
%: | ||
n $@ && npm test | ||
|
||
.PHONY: clean all | ||
.PHONY: readme jshint test clean browser all |
Oops, something went wrong.