-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
159 lines (159 loc) · 6.05 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "@adobe/alloy",
"version": "2.24.0",
"description": "Adobe Experience Platform Web SDK",
"type": "module",
"main": "libEs5/index.js",
"module": "libEs6/index.js",
"files": [
"libEs5",
"libEs6",
"LICENSE_BANNER",
"babel.config.cjs",
"rollup.config.js",
"scripts/helpers/entryPointGeneratorBabelPlugin.js",
"scripts/helpers/versionBabelPlugin.js"
],
"bin": {
"alloyBuilder": "scripts/alloyBuilder.js"
},
"scripts": {
"clean": "rimraf dist distTest libEs5 libEs6",
"lint": "eslint --cache --fix \"*.{js,cjs,mjs,jsx}\" \"{src,test,scripts}/**/*.{js,cjs,mjs,jsx}\"",
"format": "prettier --write \"*.{html,js,cjs,mjs,jsx}\" \"{sandbox,src,test,scripts}/**/*.{html,js,cjs,mjs,jsx}\"",
"test": "npm run test:unit && npm run test:scripts && npm run test:functional",
"test:unit": "karma start karma.conf.cjs --single-run",
"test:unit:debug": "karma start karma.conf.cjs --browsers=Chrome --single-run=false --debug",
"test:unit:watch": "karma start",
"test:unit:saucelabs:local": "karma start karma.saucelabs.conf.cjs --single-run",
"test:unit:coverage": "karma start --single-run --reporters spec,coverage",
"test:functional": "EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" testcafe chrome",
"test:functional:custom": "node scripts/helpers/runFunctionalTests.js",
"test:functional:saucelabs:dev": "NPM_PACKAGE_VERSION=$(npm pkg get version | tr -d '\"') EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" saucectl run --config ./.sauce/dev.yml",
"test:functional:watch": "EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" ./scripts/watchFunctionalTests.js --browsers chrome",
"test:functional:debug": "EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" testcafe --inspect-brk chrome",
"test:functional:build:int": "rollup -c --environment BASE_CODE_MIN,STANDALONE,NPM_PACKAGE_LOCAL",
"test:functional:build:prod": "rollup -c --environment BASE_CODE_MIN,NPM_PACKAGE_PROD",
"test:scripts": "jasmine --config=scripts/specs/jasmine.json",
"sandbox:build": "rollup -c --environment SANDBOX && cd sandbox && npm run build",
"dev": "concurrently --names build,sandbox \"rollup -c -w --environment SANDBOX\" \"cd sandbox && export REACT_APP_NONCE=321 && npm start\"",
"dev:standalone": "npm run clean && rollup -c -w --environment STANDALONE",
"build": "npm run clean && rollup -c --environment BASE_CODE_MIN,STANDALONE,STANDALONE_MIN,BUNDLESIZE && echo \"Base Code:\" && cat distTest/baseCode.min.js",
"build:custom": "node scripts/alloyBuilder.js",
"prepare": "husky && cd sandbox && npm install",
"prepack": "rimraf libEs5 libEs6 && babel src -d libEs5 --env-name npmEs5 && babel src -d libEs6 --env-name npmEs6",
"checkthattestfilesexist": "./scripts/checkThatTestFilesExist.js",
"add-license": "./scripts/add-license.js"
},
"lint-staged": {
"./*.{cjs,mjs,js,jsx}": [
"eslint --cache --fix"
],
"./{src,test,scripts}/**/*.{cjs,mjs,js,jsx}": [
"eslint --cache --fix"
],
"./*.{html,js,cjs,mjs,jsx}": [
"prettier --write"
],
"./{sandbox,src,test,scripts}/**/*.{html,js,cjs,mjs,jsx}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/adobe/alloy.git"
},
"author": "Adobe Inc.",
"license": "Apache-2.0",
"bundlesize": [
{
"path": "./dist/alloy.min.js"
}
],
"dependencies": {
"@adobe/aep-rules-engine": "^2.0.2",
"@adobe/reactor-cookie": "^1.1.0",
"@adobe/reactor-load-script": "^1.1.1",
"@adobe/reactor-object-assign": "^2.0.0",
"@adobe/reactor-query-string": "^2.0.0",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/plugin-transform-template-literals": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@inquirer/prompts": "^7.0.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"commander": "^12.1.0",
"css.escape": "^1.5.1",
"js-cookie": "3.0.5",
"parse-uri": "^1.0.9",
"rollup": "^4.24.4",
"rollup-plugin-license": "^3.5.3",
"uuid": "^11.0.2"
},
"devDependencies": {
"@adobe/alloy": "^2.24.0",
"@babel/cli": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@eslint/js": "^9.14.0",
"@octokit/rest": "^21.0.2",
"bundlesize": "^0.18.2",
"chai": "^5.1.2",
"chalk": "^5.3.0",
"concurrently": "^9.1.0",
"date-fns": "^4.1.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ban": "^1.6.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-testcafe": "^0.2.1",
"glob": "^11.0.0",
"globals": "^15.12.0",
"handlebars": "^4.7.8",
"husky": "^9.1.6",
"jasmine": "^5.4.0",
"jasmine-core": "^5.4.0",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-firefox-launcher": "^2.1.3",
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"karma-jasmine-matchers": "^5.0.0",
"karma-junit-reporter": "^2.0.1",
"karma-rollup-preprocessor": "^7.0.8",
"karma-safari-launcher": "^1.0.0",
"karma-sauce-launcher": "^4.3.6",
"karma-spec-reporter": "0.0.36",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"read-cache": "^1.0.0",
"recursive-readdir": "^2.2.3",
"request": "^2.88.2",
"rimraf": "^6.0.1",
"rollup-plugin-glob-import": "^0.5.0",
"rollup-plugin-istanbul": "^5.0.0",
"semver": "^7.6.3",
"staged-git-files": "^1.3.0",
"start-server-and-test": "^2.0.8",
"testcafe": "^3.7.0",
"testcafe-browser-provider-saucelabs": "^3.0.0",
"testcafe-reporter-junit": "^3.0.2",
"testcafe-reporter-saucelabs": "^3.5.1",
"url-exists-nodejs": "^0.2.4",
"url-parse": "^1.5.10"
},
"overrides": {
"karma-sauce-launcher": {
"webdriverio": "^8.35.1"
}
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.24.4"
}
}