These requirements are only needed for developing the source code.
- Node.js
>= v18.19.0
. - npm.
Download repo and install dependencies:
git clone [email protected]:Lomray-Software/google-tag-manager.git
npm i
Build source code:
npm run build
Develop:
npm run build:watch
Check develop progress in any test repo:
// modify rollup.config.js (don't commit)
// other imports
// const dest = 'lib';
const dest = '../your-project/node_modules/@lomray/google-tag-manager';
// other config
Write test on new code, see tests to more understand.
Run checks:
npm run lint:check
npm run ts:check
npm run test
Create PR into prod
branch.