add build scripts for docs
... | ... | @@ -4,13 +4,16 @@ |
"description": "Web based user interface for the iObserve project", | ||
"private": true, | ||
"directories": { | ||
"doc": "doc", | ||
"doc": "docs", | ||
"test": "tests" | ||
}, | ||
"scripts": { | ||
"build": "ember build", | ||
"build": "npm run build-docs && ember build", | ||
"start": "ember server", | ||
"test": "ember test" | ||
"test": "npm run lint-docs && ember test", | ||
"lint-docs": "./node_modules/.bin/yuidoc --lint app", | ||
"dev-docs": "./node_modules/.bin/yuidoc --server 5000 app", | ||
"build-docs": "./node_modules/.bin/yuidoc app" | ||
}, | ||
"repository": "", | ||
"engines": { | ||
... | ... | @@ -37,7 +40,6 @@ |
"ember-cli-sass": "5.3.1", | ||
"ember-cli-sri": "^2.1.0", | ||
"ember-cli-uglify": "^1.2.0", | ||
"ember-cli-yuidoc": "0.8.3", | ||
"ember-data": "^2.4.0", | ||
"ember-data-fixture-adapter": "1.13.0", | ||
"ember-data-url-templates": "0.1.1", | ||
... | ... | @@ -51,13 +53,15 @@ |
"ember-truth-helpers": "1.2.0", | ||
"loader.js": "^4.0.0", | ||
"lodash": "^4.11.1", | ||
"node-sass": "^3.8.0" | ||
"node-sass": "^3.8.0", | ||
"yuidocjs": "~0.10.2", | ||
"yuidoc-bootstrap-theme": "^1.0.6" | ||
}, | ||
"dependencies": { | ||
"cytoscape": "^2.7.3", | ||
"cytoscape-cola": "^1.4.0", | ||
"cytoscape-cose-bilkent": "^1.3.6", | ||
"yuidoc-bootstrap-theme": "^1.0.6" | ||
"yuidocjs": "^0.10.2" | ||
}, | ||
"yuidoc": { | ||
"options": { | ||
... | ... | @@ -71,7 +75,9 @@ |
"parseOnly": false, | ||
"lint": false, | ||
"themedir": "node_modules/yuidoc-bootstrap-theme", | ||
"helpers": ["node_modules/yuidoc-bootstrap-theme/helpers/helpers.js"], | ||
"helpers": [ | ||
"node_modules/yuidoc-bootstrap-theme/helpers/helpers.js" | ||
], | ||
"external": { | ||
"data": [ | ||
{ | ||
... | ... |
Please register or sign in to comment