Skip to content

Commit

Permalink
feat: add docs generation via typedoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed Mar 27, 2017
1 parent 73ab65f commit b59f2b6
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -10,6 +10,7 @@ lib
lib-esm
umd
typings
docs

## this is generated by `npm pack`
*.tgz
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -9,6 +9,7 @@ __tests__
coverage
node_modules
src
docs

## this is generated by `npm pack`
*.tgz
Expand Down
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -17,9 +17,10 @@
"node": ">=6.9"
},
"scripts": {
"cleanup": "shx rm -rf umd lib lib-esm typings coverage",
"cleanup": "shx rm -rf umd lib lib-esm typings coverage docs",
"prebuild": "npm run cleanup && npm run verify",
"build": " tsc && tsc --module es2015 --target es2015 --outDir lib-esm && webpack",
"docs": "typedoc -p . --theme minimal --excludeNotExported --excludePrivate --ignoreCompilerErrors --exclude \"**/src/**/__tests__/*.*\" --out docs src/",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
Expand Down Expand Up @@ -105,6 +106,7 @@
"tslint": "4.5.1",
"tslint-config-standard": "4.0.0",
"tslint-react": "2.5.0",
"typedoc": "0.5.9",
"typescript": "2.2.1",
"typescript-formatter": "5.1.2",
"validate-commit-msg": "2.11.2",
Expand Down
90 changes: 87 additions & 3 deletions yarn.lock
Expand Up @@ -2,10 +2,46 @@
# yarn lockfile v1


"@types/fs-extra@0.0.33":
version "0.0.33"
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-0.0.33.tgz#a8719c417b080c012d3497b28e228ac09745fdf2"
dependencies:
"@types/node" "*"

"@types/handlebars@^4.0.31":
version "4.0.32"
resolved "https://registry.yarnpkg.com/@types/handlebars/-/handlebars-4.0.32.tgz#637e8d945a9354aab47df7125005490fe9f8e592"

"@types/highlight.js@^9.1.8":
version "9.1.9"
resolved "https://registry.yarnpkg.com/@types/highlight.js/-/highlight.js-9.1.9.tgz#ed6336955eaf233b75eb7923b9b1f373d045ef01"

"@types/jest@19.2.2":
version "19.2.2"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-19.2.2.tgz#71f428be2fa6eb9f15bb0abc3cade67905f94839"

"@types/lodash@^4.14.37":
version "4.14.58"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.58.tgz#18d45863b6119c1ffffe935c1f51fe044c8c4102"

"@types/marked@0.0.28":
version "0.0.28"
resolved "https://registry.yarnpkg.com/@types/marked/-/marked-0.0.28.tgz#44ba754e9fa51432583e8eb30a7c4dd249b52faa"

"@types/minimatch@^2.0.29":
version "2.0.29"
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-2.0.29.tgz#5002e14f75e2d71e564281df0431c8c1b4a2a36a"

"@types/node@*":
version "7.0.11"
resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.11.tgz#55680189f2335f080f0aeb57871f0b9823646d89"

"@types/shelljs@^0.3.32":
version "0.3.33"
resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.3.33.tgz#df613bddb88225ed09ce5c835f620dcaaf155e6b"
dependencies:
"@types/node" "*"

JSONStream@^1.0.4:
version "1.3.1"
resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.1.tgz#707f761e01dae9e16f1bcf93703b78c70966579a"
Expand Down Expand Up @@ -1950,7 +1986,7 @@ fs-extra@^1.0.0:
jsonfile "^2.1.0"
klaw "^1.0.0"

fs-extra@^2.1.2:
fs-extra@^2.0.0, fs-extra@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-2.1.2.tgz#046c70163cef9aad46b0e4a7fa467fb22d71de35"
dependencies:
Expand Down Expand Up @@ -2234,6 +2270,16 @@ gzip-size@^3.0.0:
dependencies:
duplexer "^0.1.1"

handlebars@4.0.5:
version "4.0.5"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.5.tgz#92c6ed6bb164110c50d4d8d0fbddc70806c6f8e7"
dependencies:
async "^1.4.0"
optimist "^0.6.1"
source-map "^0.4.4"
optionalDependencies:
uglify-js "^2.6"

handlebars@^4.0.1, handlebars@^4.0.2, handlebars@^4.0.3:
version "4.0.6"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.6.tgz#2ce4484850537f9c97a8026d5399b935c4ed4ed7"
Expand Down Expand Up @@ -2288,6 +2334,10 @@ hawk@~3.1.3:
hoek "2.x.x"
sntp "1.x.x"

highlight.js@^9.0.0:
version "9.10.0"
resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.10.0.tgz#f9f0b14c0be00f0e4fb1e577b749fed9e6f52f55"

hoek@2.x.x:
version "2.16.3"
resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed"
Expand Down Expand Up @@ -3165,7 +3215,7 @@ lodash@4.17.2:
version "4.17.2"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.2.tgz#34a3055babe04ce42467b607d700072c7ff6bf42"

lodash@^4.0.0, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0:
lodash@^4.0.0, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0:
version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"

Expand Down Expand Up @@ -3213,6 +3263,10 @@ map-obj@^1.0.0, map-obj@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d"

marked@^0.3.5:
version "0.3.6"
resolved "https://registry.yarnpkg.com/marked/-/marked-0.3.6.tgz#b2c6c618fccece4ef86c4fc6cb8a7cbf5aeda8d7"

memory-fs@^0.4.0, memory-fs@~0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552"
Expand Down Expand Up @@ -3666,6 +3720,10 @@ process@^0.11.0:
version "0.11.9"
resolved "https://registry.yarnpkg.com/process/-/process-0.11.9.tgz#7bd5ad21aa6253e7da8682264f1e11d11c0318c1"

progress@^1.1.8:
version "1.1.8"
resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be"

prr@~0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a"
Expand Down Expand Up @@ -4047,7 +4105,7 @@ shebang-regex@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"

shelljs@0.7.6, shelljs@^0.7.3:
shelljs@0.7.6, shelljs@^0.7.0, shelljs@^0.7.3:
version "0.7.6"
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.6.tgz#379cccfb56b91c8601e4793356eb5382924de9ad"
dependencies:
Expand Down Expand Up @@ -4496,6 +4554,32 @@ typedarray@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"

typedoc-default-themes@^0.4.2:
version "0.4.3"
resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.4.3.tgz#39014c515585f27e59773d29e8921a5b8b89d4c0"

typedoc@0.5.9:
version "0.5.9"
resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.5.9.tgz#e34982438b657a890cfd85e88258b3d875982410"
dependencies:
"@types/fs-extra" "0.0.33"
"@types/handlebars" "^4.0.31"
"@types/highlight.js" "^9.1.8"
"@types/lodash" "^4.14.37"
"@types/marked" "0.0.28"
"@types/minimatch" "^2.0.29"
"@types/shelljs" "^0.3.32"
fs-extra "^2.0.0"
handlebars "4.0.5"
highlight.js "^9.0.0"
lodash "^4.13.1"
marked "^0.3.5"
minimatch "^3.0.0"
progress "^1.1.8"
shelljs "^0.7.0"
typedoc-default-themes "^0.4.2"
typescript "2.2.1"

typescript-formatter@5.1.2:
version "5.1.2"
resolved "https://registry.yarnpkg.com/typescript-formatter/-/typescript-formatter-5.1.2.tgz#dfb779839aa9357b2f3a941dfa006f2346e8d9db"
Expand Down

0 comments on commit b59f2b6

Please sign in to comment.