-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
103 lines (103 loc) · 4.25 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
{
"name": "@adobecom/dc",
"private": true,
"version": "1.0.0",
"description": "Adobe Document Cloud",
"scripts": {
"test": "npm run wtr && npm run jest",
"wtr": "wtr \"./test/**/*.test.(js|html)\" --node-resolve --port=2000 --coverage --concurrent-browsers 4",
"wtr:file": "wtr --node-resolve --port=2000 --coverage --concurrent-browsers 4",
"wtr:watch": "npm run wtr -- --watch",
"wtr:file:watch": "npm run wtr:file -- --watch",
"int": "wtr \"./test/integration/**/*.int.(js|html)\" --node-resolve --port=2000 --concurrent-browsers 3 --config wtr-integration.config.mjs",
"int:watch": "npm run int -- --watch",
"int3": "wtr \"./test/integration/**/*.int.(js|html)\" --node-resolve --port=2000 --concurrent-browsers 3 --config wtr-int-browsers.config.mjs",
"int3:watch": "npm run int3 -- --watch",
"jest": "jest --testPathPattern=test --coverage --coverageDirectory=coverage/jest",
"jest:file": "jest --coverage --coverageDirectory=coverage/jest",
"jest:watch": "npm run jest -- --watchAll",
"jest:file:watch": "npm run jest:file -- --watchAll",
"lcov": "lcov -a coverage/jest/lcov.info -a coverage/wtr/lcov.info -o coverage/lcov.info",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint .",
"lint:css": "stylelint 'acrobat/blocks/**/*.css' 'acrobat/styles/*.css'",
"update-csp": "node ./tools/cspUpdate/cspUpdate.js",
"ewtest": "jest --testPathPattern=edgeworkers",
"ewprod2stg": "node ./edgeworkers/scripts/prod2stg.js",
"ewbuild": "node ./edgeworkers/scripts/build.js",
"ewsetbundle": "node ./edgeworkers/scripts/setbundle.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/adobecom/dc.git"
},
"author": "Adobe",
"license": "Apache License 2.0",
"bugs": {
"url": "https://github.com/adobecom/dc/issues"
},
"homepage": "https://github.com/adobecom/dc#readme",
"devDependencies": {
"@amwp/platform-ui-automation": "^0.0.6",
"@amwp/platform-ui-lib-adobe": "^0.0.7",
"@babel/core": "7.23.2",
"@babel/eslint-parser": "7.22.15",
"@babel/register": "7.22.15",
"@esm-bundle/chai": "4.3.4-fix.0",
"@web/dev-server-import-maps": "^0.2.1",
"akamai-edgegrid": "^3.4.5",
"braces": "^3.0.3",
"chai": "4.3.6",
"compare-versions": "^6.1.0",
"eslint": "8.11.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-ecmalist": "^1.0.8",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"microbundle": "^0.15.1",
"sinon": "13.0.1",
"stylelint": "14.6.0",
"stylelint-config-prettier": "9.0.3",
"stylelint-config-standard": "25.0.0"
},
"dependencies": {
"@75lb/deep-merge": "^1.1.2",
"@rollup/plugin-replace": "5.0.5",
"@testing-library/user-event": "^14.5.2",
"@web/dev-server-rollup": "0.6.1",
"@web/test-runner": "0.18.1",
"@web/test-runner-commands": "0.9.0",
"@web/test-runner-playwright": "0.11.0",
"async": "^3.2.5",
"bowser": "^2.11.0",
"jest-fetch-mock": "^3.0.3",
"ws": "^8.18.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.14.1"
},
"jest": {
"testRegex": "\\.jest\\.(js|jsx)$",
"collectCoverageFrom": [
"acrobat/**/*.js",
"edgeworkers/**/*.js",
"!edgeworkers/scripts/**/*.js"
],
"coverageProvider": "v8",
"moduleNameMapper": {
"crypto": "<rootDir>/test/edgeworkers/__mocks__/crypto.js",
"^https://main--milo--adobecom\\.hlx\\.page/libs/(.*)$": "<rootDir>/test/mocks/milo/libs/$1",
"^https://main--milo--adobecom\\.hlx\\.live/libs/(.*)$": "<rootDir>/test/mocks/milo/libs/$1",
"^https://www\\.adobe\\.com/libs/(.*)$": "<rootDir>/test/mocks/milo/libs/$1",
"^https://www\\.stage\\.adobe\\.com/libs/(.*)$": "<rootDir>/test/mocks/milo/libs/$1",
"^http://localhost:6456/libs/(.*)$": "<rootDir>/test/mocks/milo/libs/$1",
"^/libs/(.*)$": "<rootDir>/test/mocks/milo/libs/$1",
"^https://main--milo--tsayadobe\\.hlx\\.live/libs/(.*)$": "<rootDir>/test/mocks/milo/libs/$1",
"^https://main--milo--tsayadobe\\.hlx\\.page/libs/(.*)$": "<rootDir>/test/mocks/milo/libs/$1"
}
}
}