-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
93 lines (93 loc) · 3.92 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
{
"name": "sitecore-xm-cloud-extensions",
"version": "1.0.0",
"description": "Browser extension that improves Sitecore XM Cloud user experience.",
"author": "Jeff L'Heureux <[email protected]>",
"license": "MIT",
"type": "module",
"private": true,
"scripts": {
"clean": "run-s clean:*",
"cleanzipcrx": "run-s clean:zip clean:crx",
"clean:dist": "rimraf --glob dist",
"clean:zip": "rimraf --glob ./*.zip",
"clean:crx": "rimraf --glob ./*.crx",
"clean:pem": "rimraf --glob ./*.pem",
"clean:xpi": "rimraf --glob ./*.xpi",
"dev": "vite",
"build": "run-s build:firefox build:chrome",
"build:firefox": "cross-env NODE_ENV=production run-s clean compile build:firefox:*",
"build:firefox:manifest": "move dist\\manifestv2.json dist\\manifest.json",
"build:chrome": "cross-env NODE_ENV=production run-s clean compile build:chrome:*",
"build:chrome:script": "vite build --config vite.chrome.config.ts",
"build:chrome:manifest": "rimraf --glob dist/manifestv2.json",
"bundle": "run-s bundle:*",
"bundle:clean": "run-s clean",
"bundle:firefox": "run-s bundle:firefox:*",
"bundle:firefox:build": "run-s build:firefox",
"bundle:firefox:zip": "web-ext build -s dist\\ -a . && move .\\sitecore_xm_cloud_extensions-%npm_package_version%.zip .\\web-extension-firefox-v%npm_package_version%.xpi",
"bundle:chrome": "run-s bundle:chrome:*",
"bundle:chrome:build": "run-s build:chrome",
"bundle:chrome:zip": "cd .\\dist && bestzip ..\\web-extension-chrome-v%npm_package_version%.zip *",
"bundle:chrome:crx": "crx pack .\\dist -o .\\web-extension-chrome-v%npm_package_version%.crx",
"compile": "run-s compile:*",
"compile:tsc": "tsc",
"compile:vite": "run-p compile:vite:*",
"compile:vite:web": "vite build",
"preview": "vite preview",
"start": "run-s start:chrome",
"start:chrome": "run-p start:chrome:*",
"start:chrome:watcher": "npm run watch:chrome",
"start:chrome:startBrowser": "node .\\.github\\scripts\\start.js chrome",
"start:firefox": "npm-run-all bundle:firefox --parallel start:firefox:*",
"start:firefox:watcher": "npm run watch:firefox",
"start:firefox:startBrowser": "node .\\.github\\scripts\\start.js firefox",
"test": "run-s test:*",
"test:component": "wdio run .\\wdio.ui.conf.ts",
"test:e2e": "wdio run .\\wdio.e2e.conf.ts",
"version": "run-s version:*",
"version:update": "npx replace ' \"version\": \"(\\d+).(\\d+).(\\d+)\"' \" \\\"version\\\": \\\"%npm_package_version%\\\"\" .\\public\\*.json",
"version:bundle": "run-s bundle",
"version:git": "git add public",
"watch:chrome": "run-p watch:all:* watch:chrome:script",
"watch:firefox": "run-p watch:chrome:*",
"watch:all:web": "npm run compile:vite:web -- --watch",
"watch:chrome:script": "timeout /t 1 && npm run build:chrome:script -- --watch"
},
"devDependencies": {
"@testing-library/react": "^14.0.0",
"@types/node": "^20.5.0",
"@types/react": "^18.2.20",
"@types/webextension-polyfill": "^0.10.1",
"@vitejs/plugin-react": "^4.0.4",
"@wdio/browser-runner": "^8.14.6",
"@wdio/cli": "^8.14.6",
"@wdio/firefox-profile-service": "^8.14.0",
"@wdio/mocha-framework": "^8.14.0",
"@wdio/spec-reporter": "^8.14.0",
"bestzip": "^2.2.1",
"chrome-launcher": "^1.0.0",
"cross-env": "^7.0.3",
"crx": "^5.0.1",
"npm-run-all": "^4.1.5",
"release-it": "^16.1.5",
"replace": "^1.2.2",
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"vite": "^4.4.9",
"web-ext": "^7.6.2",
"webextension-polyfill": "^0.10.0"
},
"dependencies": {
"@chakra-ui/react": "^2.8.2",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@icons-pack/react-simple-icons": "^9.1.0",
"@mdi/js": "^7.3.67",
"@sitecore/blok-theme": "^1.1.8",
"framer-motion": "^10.16.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}