-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 4.2 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
{
"name": "@smartesting/gravity-data-collector",
"version": "8.1.2",
"description": "Browser lib to collect your users behaviors and push the data in your Gravity project",
"main": "dist/index.js",
"types": "dist/types.d.ts",
"files": [
"/dist"
],
"scripts": {
"tsc": "tsc --noEmit",
"tsc:watch": "tsc --noEmit --watch",
"build": "tsc --project tsconfig.build.json",
"build:watch": "tsc --watch --project tsconfig.build.json",
"lint": "eslint --ext ts --max-warnings 0 src",
"lint-fix": "eslint --ext ts --max-warnings 0 src --fix",
"test": "vitest",
"make-test-site": "cp -r cypress/test-site/. dist-sandbox",
"start-e2e-test-site": "npm run build && npm run build-sandbox && npm run make-test-site && (npm run serve & npm run serve-secured)",
"serve": "serve dist-sandbox",
"serve-secured": "serve -p 3443 dist-sandbox --ssl-cert dist-sandbox/.cert/cert.pem --ssl-key dist-sandbox/.cert/key.pem",
"cypress": "cypress open --e2e --browser=electron",
"cypress-run": "cypress run",
"coverage": "vitest run --coverage",
"pack-tgz": "npm run build && npm pack",
"prepare": "husky install",
"prettier-check": "prettier --check .",
"prettier-write": "prettier --write .",
"pretty-quick": "pretty-quick",
"prepublishOnly": "npm run build && npm run build-minified && npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run lint-fix && git add -A src",
"postversion": "git push && git push --tags",
"build-sandbox": "browserify dist/index.js -p esmify -o dist-sandbox/bundle.js",
"build-minified": "browserify dist/index.js -g unassertify -g @browserify/envify -g @browserify/uglifyify -p browser-pack-flat/plugin -p esmify | terser -cm > dist/gravity-logger-min.js",
"watch-sandbox": "watchify dist/index.js -o dist/bundle.js -v",
"webstorm-integration": "vitest --watch --reporter=dot --reporter=json --outputFile=.vitest-result.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Smartesting/gravity-data-collector.git"
},
"keywords": [],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/Smartesting/gravity-data-collector/issues"
},
"homepage": "https://github.com/Smartesting/gravity-data-collector#readme",
"devDependencies": {
"@babel/core": "^7.22.9",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.22.9",
"@browserify/envify": "^6.0.0",
"@browserify/uglifyify": "^6.0.0",
"@testing-library/dom": "^8.13.0",
"@testing-library/user-event": "^14.4.3",
"@types/jsdom": "^21.1.6",
"@types/node": "^18.0.0",
"@types/pako": "^2.0.3",
"@types/psl": "^1.1.0",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"babelify": "^10.0.0",
"browser-pack-flat": "^3.5.0",
"browserify": "^17.0.0",
"c8": "^7.11.3",
"common-shakeify": "^1.1.2",
"core-js": "^3.22.5",
"cypress": "^13.6.0",
"esbuild": "^0.14.48",
"eslint": "^8.19.0",
"eslint-config-standard-with-typescript": "^22.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.4",
"eslint-plugin-promise": "^6.0.0",
"esmify": "^2.1.1",
"husky": "^8.0.1",
"jsdom": "^24.0.0",
"msw": "^0.44.1",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"serve": "^14.0.1",
"sinon": "^17.0.1",
"terser": "^5.19.4",
"tinyify": "^4.0.0",
"typescript": "^4.6.3",
"unassertify": "^3.0.1",
"vitest": "^2.0.4",
"vitest-mock-extended": "^2.0.0",
"watchify": "^4.0.0"
},
"dependencies": {
"@smartesting/rrdom": "^2.0.0-alpha.20",
"@smartesting/rrweb": "^2.0.0-alpha.20",
"@smartesting/rrweb-types": "^2.0.0-alpha.20",
"@types/uuid": "^8.3.4",
"cross-fetch": "^3.1.5",
"get-xpath": "^3.1.0",
"psl": "^1.9.0",
"regenerator-runtime": "^0.13.9",
"to-readable-stream": "^4.0.0",
"unique-selector": "^0.5.0",
"uuid": "^8.3.2"
},
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
"@babel/preset-env"
]
}
]
]
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}