- Move jsdoc output to public directory so may be visible on releases (while still having in a `.gitignore`)

master
Brett Zamir 2018-05-30 11:32:56 +08:00
parent f1bdd668c6
commit df69ba2b72
4 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -9,3 +9,5 @@ svgedit-config-es.js
svgedit-config-iife.js
svgedit-custom.css
docs/jsdoc

2
.jsdoc/.gitignore vendored
View File

@ -1,2 +0,0 @@
# jsdoc's output folder
out

View File

@ -12,7 +12,7 @@
"engines": {},
"scripts": {
"build-config": "rollup -c rollup-config.config.js",
"build-doc": "rm -rf .jsdoc/out/*;jsdoc -c .jsdoc/configuration.json .",
"build-doc": "rm -rf docs/jsdoc/*;jsdoc -d docs/jsdoc -c docs/jsdoc-config.json .",
"build-html": "node build-html.js",
"compress-images": "imageoptim 'chrome-app/*.png' && imageoptim 'editor/extensions/*.png' && imageoptim 'editor/spinbtn/*.png' && imageoptim 'editor/jgraduate/images/*.{png,gif}' && imageoptim 'editor/images/*.png'",
"copy-deps": "cp node_modules/load-stylesheets/dist/index-es.js editor/external/load-stylesheets/index-es.js && cp node_modules/babel-polyfill/dist/polyfill.min.js editor/external/babel-polyfill/polyfill.min.js && cp node_modules/babel-polyfill/dist/polyfill.js editor/external/babel-polyfill/polyfill.js",