Skip to content

Commit bccf5ef

Browse files
author
fabianmoronzirfas
committed
build(update basil source): refactored package.json scripts to pull and build api.json
1 parent f94845e commit bccf5ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "the docs for Basil.js",
55
"scripts": {
66
"generator": "node .bin/index",
7-
"latest-basil": "npm install basiljs/basil.js#develop -D",
7+
"pull-latest-basil": "npm install basiljs/basil.js#develop -D",
8+
"generate-json": "documentation build ./node_modules/basiljs/basil.js -o ./.bin/api/data.json",
9+
"update": "npm run pull-latest-basil ; npm run generate-json",
810
"docs-json-test": "./node_modules/.bin/documentation build .bin/test/index.js -o .bin/test/api.json"
911
},
1012
"repository": {

0 commit comments

Comments
 (0)