Added man pages to package
This commit is contained in:
parent
8d53ed5e82
commit
a613537aed
2
Makefile
2
Makefile
|
@ -34,7 +34,7 @@ docs/html/index.html: docs/jugglingdb.md scripts/doc.sh
|
||||||
man: $(MAN_DOCS)
|
man: $(MAN_DOCS)
|
||||||
html: $(HTML_DOCS)
|
html: $(HTML_DOCS)
|
||||||
|
|
||||||
release: man
|
build: man
|
||||||
|
|
||||||
web: html
|
web: html
|
||||||
rsync ./docs/html/* jugglingdb.co:/var/www/apps/jugglingdb.co/public
|
rsync ./docs/html/* jugglingdb.co:/var/www/apps/jugglingdb.co/public
|
||||||
|
|
17
package.json
17
package.json
|
@ -51,17 +51,24 @@
|
||||||
},
|
},
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "make test"
|
"test": "make test",
|
||||||
|
"prepublish": "make build"
|
||||||
},
|
},
|
||||||
|
"man": [
|
||||||
|
"./docs/man/jugglingdb.3",
|
||||||
|
"./docs/man/schema.3",
|
||||||
|
"./docs/man/model.3",
|
||||||
|
"./docs/man/hooks.3",
|
||||||
|
"./docs/man/validations.3",
|
||||||
|
"./docs/man/jugglingdb.3",
|
||||||
|
"./docs/man/roadmap.3",
|
||||||
|
"./docs/man/changelog.3"
|
||||||
|
],
|
||||||
"engines": [
|
"engines": [
|
||||||
"node >= 0.6"
|
"node >= 0.6"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"semicov": "*",
|
"semicov": "*",
|
||||||
"nodeunit": ">= 0.6.4",
|
|
||||||
"coffee-script": "latest"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"should": "~1.2.2",
|
"should": "~1.2.2",
|
||||||
"mocha": "~1.8.2"
|
"mocha": "~1.8.2"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue