-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
110 lines (110 loc) · 4.19 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
{
"name": "synthetics-recorder",
"version": "1.4.0",
"description": "Record synthetics user journey flow of a website",
"repository": "https://github.com/elastic/synthetics-recorder",
"scripts": {
"install:pw": "node scripts/install-pw.js",
"postinstall": "npm run install:pw && electron-builder install-app-deps && node dev-tools/dep-info.js && npm run prepare-demo-app --legacy-peer-deps",
"prepare-demo-app": "npm install --prefix demo-app && npm run build --prefix demo-app",
"react:start": "react-scripts start",
"react:build": "react-scripts build",
"dev": "concurrently -k \"BROWSER=none npm run react:start\" \"npm run tsc-electron -- -w\" \"wait-on http://127.0.0.1:3000 && nodemon --exec electron build/electron/electron.js\"",
"build": "npm run clean && npm run react:build && npm run tsc-electron",
"tsc-electron": "tsc -p tsconfig.node.json",
"pack": "npm run build && electron-builder",
"release": "npm run pack -- -mwl --publish=always",
"release-ci": "npm run pack -- -mwl --publish=never",
"clean": "rm -rf ./build && rm -rf ./dist",
"lint": "DEBUG=eslint:cli-engine eslint .",
"format": "prettier --write .",
"unused-exports": "node dev-tools/find-unused-exports.js",
"lint:fix": "npm run lint -- --fix",
"prepare": "husky install",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "jest --config ./jest.unit.config.js .",
"test:unit:watch": "npm run test:unit -- --coverage --watch --collectCoverageFrom={src,electron}/**/*.{js,jsx,ts,tsx}",
"test:e2e": "jest --runInBand --config ./jest.e2e.config.js ./e2e/tests",
"test:e2e:server": "BROWSER=NONE PORT=61337 react-scripts start",
"test:e2e:runner": "IS_RUNNER=true TEST_PORT=61337 jest --runInBand --config ./jest.e2e.config.js ./e2e/tests",
"update-demo-app": "git subtree pull --prefix demo-app [email protected]:vigneshshanmugam/synthetics-ecommerce-demo.git main --squash"
},
"author": {
"name": "Elastic Synthetics Team",
"email": "[email protected]"
},
"keywords": [
"synthetics",
"recorder",
"elastic",
"playwright"
],
"license": "MIT",
"main": "build/electron/electron.js",
"homepage": "./",
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npm run lint:fix",
"prettier --write"
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@electron/notarize": "^1.2.3",
"@testing-library/react": "^12.1.4",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^29.5.14",
"@types/lodash": "=4.14.181",
"@types/node": "^17.0.0",
"@types/react-dom": "^17.0.17",
"@types/styled-components": "^5.1.25",
"ajv": "^8.11.0",
"concurrently": "^8.0.1",
"electron": "^27.0.0",
"electron-builder": "^25.0.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.5.0",
"jest-junit": "^16.0.0",
"lint-staged": "^13.0.3",
"nodemon": "^2.0.19",
"prettier": "^2.7.1",
"react-scripts": "^5.0.1",
"react-test-renderer": "^17.0.2",
"ts-jest": "^29.2.5",
"ts-unused-exports": "^9.0.4",
"undici": "^5.19.1",
"wait-on": "^7.0.1"
},
"dependencies": {
"@elastic/datemath": "^5.0.3",
"@elastic/eui": "^89.1.0",
"@elastic/synthetics": "=1.16.2",
"@emotion/cache": "^11.9.3",
"@emotion/react": "^11.9.3",
"dotenv": "^16.0.3",
"electron-debug": "^3.2.0",
"electron-is-dev": "^2.0.0",
"electron-log": "^4.4.8",
"electron-unhandled": "^4.0.1",
"moment": "^2.29.4",
"playwright": "https://gitpkg.now.sh/elastic/playwright/packages/playwright?1.48.2-recorder",
"playwright-chromium": "https://gitpkg.now.sh/elastic/playwright/packages/playwright-chromium?1.48.2-recorder",
"playwright-core": "https://gitpkg.now.sh/elastic/playwright/packages/playwright-core?1.48.2-recorder",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"styled-components": "^6.1.0",
"typescript": "^4.5.3"
},
"browserslist": [
"last 1 version"
],
"engines": {
"node": ">=16.15.0",
"npm": ">=7"
}
}