forked from elastic/synthetics-recorder
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
106 lines (106 loc) · 3.91 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
{
"name": "synthetics-recorder",
"version": "0.0.1-beta.7",
"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 tcp: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",
"fix-sharp": "node node_modules/sharp/install/libvips && node node_modules/sharp/install/dll-copy",
"clean": "rm -rf ./build && rm -rf ./dist",
"lint": "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 --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": {
"@electron/notarize": "^1.2.3",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^28.1.5",
"@types/react-dom": "^17.0.17",
"@types/styled-components": "^5.1.25",
"ajv": "^8.11.0",
"concurrently": "^7.2.2",
"electron": "^20.0.2",
"electron-builder": "^23.3.1",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^7.0.4",
"jest": "^28.1.3",
"jest-environment-jsdom": "^29.2.2",
"jest-junit": "^14.0.1",
"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": "^28.0.6",
"ts-unused-exports": "^8.0.0",
"undici": "^5.19.1",
"wait-on": "^6.0.1"
},
"dependencies": {
"@elastic/datemath": "^5.0.3",
"@elastic/eui": "^76.4.0",
"@elastic/synthetics": "=1.0.0-beta.38",
"@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-core?1.27.1-recorder",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"styled-components": "^5.3.5",
"typescript": "^4.5.3"
},
"browserslist": [
"last 1 version"
],
"engines": {
"node": ">=16.15.0",
"npm": ">=7"
}
}