# Source and build information

Brand EQ is GPLv2 or later; see LICENSE.txt. Third-party components retain their own GPL-compatible licenses.

## First-party assets

- `assets/src/js/backend.js` and `frontend.js`: Webpack entry points; output is `assets/public/js/`.
- `assets/src/sass/`: editable styles imported by the backend entry point; output is `assets/public/css/`.
- `assets/public/js/shoppyr-onboarding.js`, `assets/shoppyr-global.js`, and `assets/public/css/shoppyr-onboarding.css`: readable assets maintained directly, without a build step.
- `webpack.config.js`, `webpack/`, and `package.json`: build tooling and configuration.

Install Node.js/npm, run `npm install`, then `npm run dev` to build or `npm run dev:watch` to watch. Change the BrowserSync proxy in `webpack.config.js` to your local WordPress URL. `npm run prod` requires a production configuration that is not currently present; use the development build for this release. Run `npm run eslint` and `npm run stylelint` for source checks. Install PHP dependencies with `composer install`.

## Third-party assets

- Tailwind CSS browser compiler, Tagify, and jQuery UI theme: versions, upstream sources and licenses are recorded beside each library in `assets/vendor/`.
- jQuery Tabledit: `assets/jquery.tabledit.js`, derived from https://github.com/markcell/jQuery-Tabledit (MIT); its file header identifies the source and license. The editable bundled copy is readable.
- Parsedown 1.8.0: `vendor/erusev/parsedown/`, installed through `composer.json`; upstream source and MIT license are included.

WordPress-provided jQuery and jQuery UI scripts are enqueued from core.
