@sharadtech/infralytiqs-sdk 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@sharadtech/infralytiqs-client-publicis-ps",
3
+ "version": "1.2.1",
4
+ "private": true,
5
+ "type": "module",
6
+ "description": "Infralytiqs client-specific bootstrap for Publicis Sapient (psassets.publicissapient.com). Reads window.IL_* configuration injected by the host page, initializes the Infralytiqs SDK loaded from the CDN, and hooks the login-page user journey: anonymous page view, credential sign-in submit, Lion Login SSO click, and Terms & Conditions click.",
7
+ "main": "dist/infralytiqs-bootstrap.min.js",
8
+ "files": [
9
+ "dist",
10
+ "src",
11
+ "README.md"
12
+ ],
13
+ "scripts": {
14
+ "build": "rollup -c rollup.config.mjs",
15
+ "dev": "rollup -c rollup.config.mjs --watch",
16
+ "clean": "rm -rf dist"
17
+ },
18
+ "devDependencies": {
19
+ "@rollup/plugin-node-resolve": "^16.0.1",
20
+ "@rollup/plugin-terser": "^0.4.4",
21
+ "rollup": "^4.34.8"
22
+ }
23
+ }
@@ -0,0 +1,28 @@
1
+ import terser from '@rollup/plugin-terser';
2
+ import resolve from '@rollup/plugin-node-resolve';
3
+ import { readFileSync } from 'node:fs';
4
+
5
+ const pkg = JSON.parse(readFileSync(new URL('./package.json', import.meta.url), 'utf8'));
6
+ const banner = `/*! ${pkg.name} v${pkg.version} | (c) ${new Date().getUTCFullYear()} sharadtech | Built: ${new Date().toISOString()} */`;
7
+
8
+ export default {
9
+ input: 'src/index.js',
10
+ output: [
11
+ {
12
+ file: 'dist/infralytiqs-bootstrap.js',
13
+ format: 'iife',
14
+ name: 'InfralytiqsBootstrapPublicisPS',
15
+ sourcemap: false,
16
+ banner,
17
+ },
18
+ {
19
+ file: 'dist/infralytiqs-bootstrap.min.js',
20
+ format: 'iife',
21
+ name: 'InfralytiqsBootstrapPublicisPS',
22
+ sourcemap: false,
23
+ banner,
24
+ plugins: [terser({ format: { comments: /^!/ } })],
25
+ },
26
+ ],
27
+ plugins: [resolve()],
28
+ };