aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--.npmignore2
-rw-r--r--package.json6
-rw-r--r--src/ts/0x.js.ts1
4 files changed, 10 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index ed650c3f6..3c6a1ab6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -63,3 +63,6 @@ lib
lib-esm
# UMD bundles that export the global variable
_bundles
+
+# generated documentation
+docs \ No newline at end of file
diff --git a/.npmignore b/.npmignore
index db6c83e43..55e749592 100644
--- a/.npmignore
+++ b/.npmignore
@@ -4,4 +4,4 @@ tslint.json
webpack.config.js
yarn.lock
src
-
+docs
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"
}
diff --git a/src/ts/0x.js.ts b/src/ts/0x.js.ts
index ac9e3376d..95446ad74 100644
--- a/src/ts/0x.js.ts
+++ b/src/ts/0x.js.ts
@@ -1,4 +1,5 @@
export class ZeroEx {
+ /** Verifies the signature */
public verifySignature() {
// TODO
}