diff --git a/.gitignore b/.gitignore index 0f13413..94e2df0 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ vendor/ .vscode + +docs/ diff --git a/jsdoc.json b/jsdoc.json new file mode 100644 index 0000000..61dacc4 --- /dev/null +++ b/jsdoc.json @@ -0,0 +1,20 @@ +{ + "source": { + "include": ["js/"] + }, + + "opts": { + "plugins": ["plugins/markdown"], + "markdown": { + "tags": ["module", "namespace"] + }, + "encoding": "utf8", + "destination": "docs/", + "recurse": true, + "verbose": true, + "theme_opts": { + "theme": "light", + "title": "SCAENAE - ATON-based Web App" + } + } +} diff --git a/package.json b/package.json index 30a3b63..a281a5d 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "author": "Nicolò P. ", "license": "MIT", "dependencies": { + "@hotwired/stimulus": "^3.2.2", "leaflet": "^1.9.4", "three": "0.147" - } + }, + "devDependencies": {} } diff --git a/yarn.lock b/yarn.lock index 90970f5..45d2b22 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,12 +2,17 @@ # yarn lockfile v1 +"@hotwired/stimulus@^3.2.2": + version "3.2.2" + resolved "https://registry.npmjs.org/@hotwired/stimulus/-/stimulus-3.2.2.tgz" + integrity sha512-eGeIqNOQpXoPAIP7tC1+1Yc1yl1xnwYqg+3mzqxyrbE5pg5YFBZcA6YoTiByJB6DKAEsiWtl6tjTJS4IYtbB7A== + leaflet@^1.9.4: version "1.9.4" - resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.9.4.tgz#23fae724e282fa25745aff82ca4d394748db7d8d" + resolved "https://registry.npmjs.org/leaflet/-/leaflet-1.9.4.tgz" integrity sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA== three@0.147: version "0.147.0" - resolved "https://registry.yarnpkg.com/three/-/three-0.147.0.tgz#1974af9e8e0c1efb3a8561334d57c0b6c29a7951" + resolved "https://registry.npmjs.org/three/-/three-0.147.0.tgz" integrity sha512-LPTOslYQXFkmvceQjFTNnVVli2LaVF6C99Pv34fJypp8NbQLbTlu3KinZ0zURghS5zEehK+VQyvWuPZ/Sm8fzw==