Skip to content

Commit 1a334b5

Browse files
committed
doc: use esdoc
1 parent 1981251 commit 1a334b5

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

esdoc.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,15 @@
44
"test": {
55
"type": "mocha",
66
"source": "./test/src"
7-
}
7+
},
8+
"plugins": [
9+
{
10+
"name": "./out/src/Plugin.js",
11+
"option": {
12+
"replaces": [
13+
{"from": "^src/", "to": "out/src/"}
14+
]
15+
}
16+
}
17+
]
818
}

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"scripts": {
1313
"build": "node ./script/build.js",
1414
"test": "node ./script/test.js",
15-
"test-es5": "node ./script/test-es5.js"
15+
"test-es5": "node ./script/test-es5.js",
16+
"esdoc": "./node_modules/.bin/esdoc -c esdoc.json"
1617
},
1718
"devDependencies": {
1819
"babel": "^5.8.20",

0 commit comments

Comments
 (0)