-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathpackage.json
138 lines (138 loc) · 5.15 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
{
"name": "@adobe/alloy",
"version": "2.25.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",
"test:unit": "vitest run",
"test:unit:debug": "vitest --no-file-parallelism --browser.headless=false",
"test:unit:watch": "vitest",
"test:unit:coverage": "vitest run --coverage",
"test:functional": "EDGE_BASE_PATH=\"ee-pre-prd\" ALLOY_ENV=\"int\" testcafe chrome",
"test:functional:custom": "node scripts/helpers/runFunctionalTests.js",
"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": "vitest run --config=./scripts/specs/vitest.config.js",
"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",
"postinstall": "npx playwright install chromium"
},
"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",
"dependencies": {
"@adobe/aep-rules-engine": "^2.0.3",
"@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.7",
"@babel/eslint-parser": "^7.26.5",
"@babel/plugin-transform-template-literals": "^7.25.9",
"@babel/preset-env": "^7.26.7",
"@inquirer/prompts": "^7.2.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"commander": "^13.1.0",
"css.escape": "^1.5.1",
"js-cookie": "3.0.5",
"parse-uri": "^1.0.9",
"rollup": "^4.32.0",
"rollup-plugin-license": "^3.5.3",
"uuid": "^11.0.5"
},
"devDependencies": {
"@adobe/alloy": "^2.25.0",
"@babel/cli": "^7.26.4",
"@babel/plugin-transform-runtime": "^7.25.9",
"@eslint/js": "^9.19.0",
"@octokit/rest": "^21.1.0",
"@vitest/browser": "^3.0.4",
"@vitest/coverage-v8": "^3.0.4",
"chalk": "^5.4.1",
"concurrently": "^9.1.2",
"date-fns": "^4.1.0",
"dotenv": "^16.4.7",
"eslint": "^9.19.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-ban": "^2.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-testcafe": "^0.2.1",
"glob": "^11.0.1",
"globals": "^15.14.0",
"handlebars": "^4.7.8",
"happy-dom": "^16.7.2",
"husky": "^9.1.7",
"lint-staged": "^15.4.2",
"playwright": "^1.50.0",
"prettier": "^3.4.2",
"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.10",
"testcafe": "^3.7.1",
"testcafe-reporter-junit": "^3.0.2",
"url-exists-nodejs": "^0.2.4",
"url-parse": "^1.5.10",
"vitest": "^3.0.4"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.32.0"
},
"overrides": {
"eslint": "^9.19.0"
}
}