Skip to content

Commit a25a515

Browse files
committedSep 21, 2016
add esdoc
1 parent 803a16f commit a25a515

File tree

5 files changed

+32
-0
lines changed

5 files changed

+32
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules
22
.vscode
33
/dist
44
/build
5+
/docs

‎esdoc.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"source": "./src",
3+
"destination": "./docs",
4+
"includes": ["\\.(js|es6|jsx)$"],
5+
"excludes": ["\\.config\\.(js|es6)$"],
6+
"access": ["public", "protected"],
7+
"autoPrivate": true,
8+
"unexportIdentifier": false,
9+
"undocumentIdentifier": true,
10+
"builtinExternal": true,
11+
"index": "./README.md",
12+
"package": "./package.json",
13+
"coverage": true,
14+
"includeSource": true,
15+
"test": {
16+
"type": "mocha",
17+
"source": "./test",
18+
"includes": ["\\.test\\.(js|es6)$"],
19+
"excludes": ["\\.config\\.(js|es6)$"]
20+
},
21+
"title": "Iceleaf",
22+
"styles": null,
23+
"scripts": null,
24+
"plugins": [
25+
{"name": "esdoc-es7-plugin", "option": null}
26+
],
27+
"lint": true
28+
}

‎docs/TODO.md ‎markdown/TODO.md

File renamed without changes.

‎docs/dev.md ‎markdown/dev.md

File renamed without changes.

‎package.json

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"scripts": {
1111
"start": "webpack-dev-server --progress --colors --hot --host 0.0.0.0 --compress",
1212
"build": "webpack --inline --optimize-minimize",
13+
"docs": "esdoc -c esdoc.json"
1314
"test": "mocha --compilers js:babel-core/register"
1415
},
1516
"dependencies": {
@@ -42,6 +43,8 @@
4243
"babel-eslint": "^6.1.2",
4344
"babel-preset-babili": "0.0.1",
4445
"chai": "^3.5.0",
46+
"esdoc": "^0.4.8",
47+
"esdoc-es7-plugin": "0.0.3",
4548
"eslint": "^3.5.0",
4649
"eslint-config-airbnb": "^11.1.0",
4750
"eslint-import-resolver-webpack": "^0.6.0",

0 commit comments

Comments
 (0)