aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-05-24 22:51:28 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-05-24 22:51:28 +0800
commit65ab6dcac05ced5b8b9f381d794ed18e1e5e9cb3 (patch)
treeea36459909f431f954cd84e4b78c4e286991f640 /package.json
parent2a3b084e8c298f947fe905e6505c2ac95c2b5b0b (diff)
downloaddexon-sol-tools-65ab6dcac05ced5b8b9f381d794ed18e1e5e9cb3.tar.gz
dexon-sol-tools-65ab6dcac05ced5b8b9f381d794ed18e1e5e9cb3.tar.zst
dexon-sol-tools-65ab6dcac05ced5b8b9f381d794ed18e1e5e9cb3.zip
Add command to generate docs from ts code
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json
index d67890d84..7130f4737 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,9 @@
"build": "npm run clean && run-p build:*",
"lint": "tslint src/ts/**/*",
"test": "run-s clean build:commonjs && mocha lib/test/**/*.js",
- "test:coverage": "nyc npm run test --all"
+ "test:coverage": "nyc npm run test --all",
+ "docs:generate": "typedoc --out docs .",
+ "docs:open": "opn docs/index.html"
},
"repository": {
"type": "git",
@@ -35,10 +37,12 @@
"mocha": "^3.4.1",
"npm-run-all": "^4.0.2",
"nyc": "^10.3.2",
+ "opn-cli": "^3.1.0",
"shx": "^0.2.2",
"source-map-support": "^0.4.15",
"tslint": "^5.3.2",
"tslint-config-0xproject": "^0.0.2",
+ "typedoc": "^0.7.1",
"typescript": "^2.3.3",
"webpack": "^2.6.0"
}