@repobit/dex-launch 0.1.0

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -0
  2. package/package.json +55 -0
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+ import { Constants, loadScript } from "@repobit/dex-utils";
2
+ export default class Launch {
3
+ static async load(environment) {
4
+ const adobeLaunchScriptUrl = `${Constants.LAUNCH_URL}/${Constants.ADOBE_MC_URL_ENV_MAP.get(environment)}`;
5
+ await loadScript(adobeLaunchScriptUrl);
6
+ }
7
+ }
8
+ //# sourceMappingURL=index.js.map
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@repobit/dex-launch",
3
+ "version": "0.1.0",
4
+ "description": "Client for Adobe Launch",
5
+ "author": "Constantin Ioan Mihai <iconstantin@bitdefender.com>",
6
+ "homepage": "https://github.com/bitdefender/dex-core#readme",
7
+ "license": "ISC",
8
+ "main": "dist/index.js",
9
+ "directories": {
10
+ "src": "src",
11
+ "test": "__tests__"
12
+ },
13
+ "files": [
14
+ "lib"
15
+ ],
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/bitdefender/dex-core.git"
22
+ },
23
+ "scripts": {
24
+ "build": "tsc -p tsconfig.json",
25
+ "test": "jest --passWithNoTests"
26
+ },
27
+ "bugs": {
28
+ "url": "https://github.com/bitdefender/dex-core/issues"
29
+ },
30
+ "module": "dist/index.js",
31
+ "type": "module",
32
+ "types": "dist/index.d.ts",
33
+ "devDependencies": {
34
+ "@eslint/js": "^9.19.0",
35
+ "@stylistic/eslint-plugin": "^3.0.1",
36
+ "@types/jest": "^29.5.14",
37
+ "@types/js-cookie": "^3.0.6",
38
+ "eslint": "^9.19.0",
39
+ "globals": "^15.14.0",
40
+ "jest": "^29.7.0",
41
+ "jiti": "^2.4.2",
42
+ "ts-jest": "^29.2.5",
43
+ "ts-node": "^10.9.2",
44
+ "typescript": "^5.7.3",
45
+ "typescript-eslint": "^8.23.0"
46
+ },
47
+ "dependencies": {
48
+ "@repobit/dex-utils": "0.2.0",
49
+ "js-cookie": "^3.0.5"
50
+ },
51
+ "volta": {
52
+ "node": "22.14.0"
53
+ },
54
+ "gitHead": "81086868263389b787471a13054f18eb1a093ce9"
55
+ }