diff options
| -rw-r--r-- | .esdoc.json | 15 | ||||
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | package.json | 2 |
3 files changed, 18 insertions, 0 deletions
diff --git a/.esdoc.json b/.esdoc.json new file mode 100644 index 0000000000..921a7884dd --- /dev/null +++ b/.esdoc.json @@ -0,0 +1,15 @@ +{ + "source": "./app", + "destination": "./docs", + "experimentalProposal": { + "classProperties": true, + "objectRestSpread": true, + "doExpressions": true, + "functionBind": true, + "functionSent": true, + "asyncGenerators": true, + "decorators": true, + "exportExtensions": true, + "dynamicImport": true + } +} diff --git a/.gitignore b/.gitignore index 5da2ccb7c4..f2337056f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ node_modules dist +docs build .DS_Store *.log diff --git a/package.json b/package.json index b379cc2e97..42101df84b 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "electron": "^1.6.1", "electron-builder": "^14.1.1", "electron-devtools-installer": "^2.1.0", + "esdoc": "^0.5.2", "eslint": "^3.14.1", "eslint-plugin-react": "^6.9.0", "isomorphic-fetch": "^2.2.1", @@ -59,6 +60,7 @@ "develop": "npm run private:compile -- --source-maps true && npm run private:service-worker && run-p -r private:watch private:serve", "test": "mocha -R spec --compilers js:babel-core/register test/*.spec.js test/**/*.spec.js", "lint": "eslint --no-ignore scripts app test *.js", + "docs": "esdoc", "pack": "run-s private:clean private:compile private:service-worker private:build:all", "pack:mac": "run-s private:clean private:compile private:service-worker private:build:mac", "pack:win": "run-s private:clean private:compile private:service-worker private:build:win", |
