diff --git a/README.md b/README.md index 0330364..e1541ee 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT # Darkness Dependent Vision -A module for [Foundry Virtual Tabletop] that provides the ability to make the +A module for [Foundry Virtual Tabletop] that provides functionality to make the dim and bright vision of tokens depend on the scene's darkness level. ## Installation diff --git a/package.json b/package.json index be56263..e36c32a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "private": true, "name": "darkness-dependent-vision", "version": "0.0.1", - "description": "A module for Foundry Virtual Tabletop that provides the ability to make the dim and bright vision of tokens depend on the scene's darkness level.", + "description": "A module for Foundry Virtual Tabletop that provides functionality to make the dim and bright vision of tokens depend on the scene's darkness level.", "license": "MIT", "homepage": "https://git.f3l.de/ghost/darkness-dependent-vision", "repository": { diff --git a/src/module.json b/src/module.json index 22d2bee..188b754 100644 --- a/src/module.json +++ b/src/module.json @@ -1,7 +1,7 @@ { "name": "darkness-dependent-vision", "title": "Darkness Dependent Vision", - "description": "A module for Foundry Virtual Tabletop that provides the ability to make the dim and bright vision of tokens depend on the scene's darkness level.", + "description": "A module for Foundry Virtual Tabletop that provides functionality to make the dim and bright vision of tokens depend on the scene's darkness level.", "version": "0.0.1", "author": "Johannes Loher", "authors": [ @@ -12,9 +12,7 @@ ], "minimumCoreVersion": "0.8.8", "compatibleCoreVersion": "0.8.8", - "scripts": [], "esmodules": ["module/darkness-dependent-vision.js"], - "styles": ["styles/darkness-dependent-vision.css"], "languages": [ { "lang": "en", @@ -22,13 +20,11 @@ "path": "lang/en.json" } ], - "socket": false, "url": "https://git.f3l.de/ghost/darkness-dependent-vision", "manifest": "https://git.f3l.de/ghost/darkness-dependent-vision/-/raw/latest/src/module.json?inline=false", "download": "https://git.f3l.de/ghost/darkness-dependent-vision/-/jobs/artifacts/0.0.1/download?job=build", "license": "MIT", "readme": "https://git.f3l.de/ghost/darkness-dependent-vision/-/blob/master/README.md", "bugs": "https://git.f3l.de/ghost/darkness-dependent-vision/-/issues", - "changelog": "https://git.f3l.de/ghost/darkness-dependent-vision/-/releases", - "library": false + "changelog": "https://git.f3l.de/ghost/darkness-dependent-vision/-/releases" } diff --git a/src/module/config.js b/src/module/config.js index a98a434..01a41f6 100644 --- a/src/module/config.js +++ b/src/module/config.js @@ -2,6 +2,4 @@ // // SPDX-License-Identifier: MIT -'use strict'; - export const packageName = 'darkness-dependent-vision'; diff --git a/src/module/darkness-dependent-vision-config.js b/src/module/darkness-dependent-vision-config.js index e770fd2..82ff9ba 100644 --- a/src/module/darkness-dependent-vision-config.js +++ b/src/module/darkness-dependent-vision-config.js @@ -2,8 +2,6 @@ // // SPDX-License-Identifier: MIT -'use strict'; - /** * An application that provides functionality to configure darkness dependent * vision for a {@link TokenDocument}. diff --git a/src/module/darkness-dependent-vision.js b/src/module/darkness-dependent-vision.js index 9b1e503..99660f9 100644 --- a/src/module/darkness-dependent-vision.js +++ b/src/module/darkness-dependent-vision.js @@ -2,7 +2,5 @@ // // SPDX-License-Identifier: MIT -'use strict'; - import registerForHooks from './hooks'; registerForHooks(); diff --git a/src/module/hooks.js b/src/module/hooks.js index 350a053..99baf84 100644 --- a/src/module/hooks.js +++ b/src/module/hooks.js @@ -2,8 +2,6 @@ // // SPDX-License-Identifier: MIT -'use strict'; - import registerForGetTokenConfigHeaderButtonsHook from './hooks/getTokenConfigHeaderButtons'; import registerForInitHook from './hooks/init'; import registerForUpdateSceneHook from './hooks/updateScene'; diff --git a/src/module/hooks/getTokenConfigHeaderButtons.js b/src/module/hooks/getTokenConfigHeaderButtons.js index 7d36ef3..495cf00 100644 --- a/src/module/hooks/getTokenConfigHeaderButtons.js +++ b/src/module/hooks/getTokenConfigHeaderButtons.js @@ -2,8 +2,6 @@ // // SPDX-License-Identifier: MIT -'use strict'; - import { DarknessDependentVisionConfig } from '../darkness-dependent-vision-config'; export default function registerForGetTokenConfigHeaderButtonsHook() { diff --git a/src/module/hooks/init.js b/src/module/hooks/init.js index 58ed296..c7f66f2 100644 --- a/src/module/hooks/init.js +++ b/src/module/hooks/init.js @@ -2,8 +2,6 @@ // // SPDX-License-Identifier: MIT -'use strict'; - import { packageName } from '../config'; import logger from '../logger'; import { libWrapper } from '../shims/libWrapperShim'; diff --git a/src/module/hooks/updateScene.js b/src/module/hooks/updateScene.js index d14b427..f9690d1 100644 --- a/src/module/hooks/updateScene.js +++ b/src/module/hooks/updateScene.js @@ -2,8 +2,6 @@ // // SPDX-License-Identifier: MIT -'use strict'; - export default function registerForUpdateSceneHook() { Hooks.on('updateScene', onUpdateScene); } diff --git a/src/module/hooks/updateToken.js b/src/module/hooks/updateToken.js index 0c4154c..b83c687 100644 --- a/src/module/hooks/updateToken.js +++ b/src/module/hooks/updateToken.js @@ -2,8 +2,6 @@ // // SPDX-License-Identifier: MIT -'use strict'; - export default function registerForUpdateTokenHook() { Hooks.on('updateToken', onUpdateToken); } diff --git a/src/module/logger.js b/src/module/logger.js index 738c5d8..28ea725 100644 --- a/src/module/logger.js +++ b/src/module/logger.js @@ -2,8 +2,6 @@ // // SPDX-License-Identifier: MIT -'use strict'; - const loggingContext = 'Darkness Dependent Vision'; const loggingSeparator = '|'; diff --git a/src/module/shims/libWrapperShim.js b/src/module/shims/libWrapperShim.js index 658c9b3..af7c73a 100644 --- a/src/module/shims/libWrapperShim.js +++ b/src/module/shims/libWrapperShim.js @@ -3,8 +3,6 @@ // // SPDX-License-Identifier: MIT -'use strict'; - // A shim for the libWrapper library export let libWrapper = undefined; diff --git a/src/module/wrappers/token.js b/src/module/wrappers/token.js index cbbe9f7..51c8e4a 100644 --- a/src/module/wrappers/token.js +++ b/src/module/wrappers/token.js @@ -2,8 +2,6 @@ // // SPDX-License-Identifier: MIT -'use strict'; - import { packageName } from '../config'; /**