jaisocx_sites_tools

Sites Tool Package

πŸ’‘ The package does …

πŸ“–οΈ Library @jaisocx/sites_tool 🏷️ ver.: 1.2.3
πŸ—“ Updated 2025 Nov 16 22:40 CET 2025
πŸ“ Size πŸ—‚ Folder: 53 KB πŸ“¦ Tarball: 12 KB πŸ“‹ .js: 4 KB
⚑ JS Engine 🌐 Browser: βœ… yes 🧭 Express: βœ… yes πŸ–₯️ Console: βœ… yes ❌ no

πŸ’‘ The aim of the setup

The package does …

πŸ—‚ Structure

πŸ—‚ <Sites_tool_name>
    πŸ—‚ MediaAndStyles/
      πŸ—‚ themes/
        πŸ—‚ theme_base/
          πŸ—‚ responsive/
            πŸ“‹ responsive_size_d05_very_small_xxs_landscape__<Sites_tool_name>_theme_base.css
            ...
            ...
          πŸ“‹ <Sites_tool_name>_theme_base_main.css
          πŸ“‹ responsive_size_Imports_<Sites_tool_name>_theme_base_Relative.css
          πŸ“‹ responsive_size_Imports_<Sites_tool_name>_theme_base_Webpack.css
          πŸ“‹ responsive_size_Imports_<Sites_tool_name>_theme_base_Webpack_minimal.css
        πŸ—‚ <theme_name>/
        ...
        ...
      πŸ“‹ <Sites_tool_name>_main.css
      πŸ“‹ <Sites_tool_name>_relative.css
      πŸ“‹ <Sites_tool_name>_resolved.css
      πŸ“‹ <Sites_tool_name>_resolved_minimal.css
      πŸ“‹ <Sites_tool_name>_webpack.css
      πŸ“‹ <Sites_tool_name>_webpack_minimal.css
    πŸ—‚ src/
      πŸ“‹ index.ts
      πŸ“‹ webpack.aliases.cjs
      πŸ“‹ webpack.aliases.mjs
      πŸ“‹ webpackAliases.ts
    πŸ—‚ transpiled/
      πŸ—‚ CommonJS/
      πŸ—‚ ESNext/
      πŸ—‚ Webpack/
        πŸ“‹ <Sites_tool_name>_bundle.js
    πŸ“‹ index_preview.html
    πŸ“‹ index_preview.mhtml
    πŸ“‹ index_preview.eml
    πŸ“‹ <Sites_tool_name>_preview.html
    πŸ“‹ package.json
    πŸ“‹ package-lock.json
    πŸ“‹ README.md
    πŸ“‹ README.eml
    πŸ“‹ README.html
    πŸ“‹ README.mhtml
    πŸ“‹ webpack.aliases.json

package structure

favicon/*.ico site logo to show in browser’s tab label above, referenced in index.example.html in <link rel="icon" ... /> tag.

MediaAndStyles/*.css styles where css props are set via css variables. For example font-size: var(--jsx--sitestool--htmlelem--font-size);.

MediaAndStyles/themes styles where the css variables get their values. For example --jsx--sitestool--htmlelem--font-size: 1rem;.

MediaAndStyles/themes/theme_base all css variables from main.css get their values. The responsive fileset is imported in relative and webpack aliased .css imports.

MediaAndStyles/themes/color_themes examples of themes where just the color and background color css variables get their values. May also set border-color and background images, shadows and other color themes relevant css variables if referenced in main.css.

MediaAndStyles/themes/theme_layout_example a theme with responsive fileset produced by SitesToolAutomation. The responsive fileset is relevant mostly for fine tuning sites for mobile portrait, tablet and big displays, since for the layout themes for sure the sizes of the displays are relevant.

src/index.ts styles imports to be accessed later when built with Webpack, and the produced by The Webpack bundle.js is referenced like <script src="bundle.js" in .html.

src/webpack... infrastructure static files for the Webpack.

BuildData.example.json The template of a json config for building a sites tool. You may use to copy paste to BuildData.json for a new sites tool.

index.example.html the sites tool preview, locally and when installed with the new command ./cmd/install_and_view_sites_tool.sh.

package-lock.json npm system file.

package.json the main conf file for this npm package.

README.md documentation file in md format.

webpack.aliases.json the webpack alias’ name and the relative path in this npm package folders structure.