Merge pull request #7 from 0xProject/docs

Add command to generate docs from ts code
This commit is contained in:
Fabio Berger 2017-05-24 17:03:51 +02:00 committed by GitHub
commit b5bd772b24
4 changed files with 11 additions and 2 deletions

3
.gitignore vendored
View File

@ -63,3 +63,6 @@ lib
lib-esm
# UMD bundles that export the global variable
_bundles
# generated documentation
docs

View File

@ -4,4 +4,4 @@ tslint.json
webpack.config.js
yarn.lock
src
docs

View File

@ -17,7 +17,10 @@
"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:json": "typedoc --json docs/index.json .",
"docs:generate": "typedoc --out docs .",
"docs:open": "opn docs/index.html"
},
"repository": {
"type": "git",
@ -35,10 +38,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"
}

View File

@ -1,4 +1,5 @@
export class ZeroEx {
/** Verifies the signature */
public verifySignature() {
// TODO
}