forked from rudderlabs/rudder-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
221 lines (221 loc) · 9.14 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
{
"name": "@rudderstack/analytics-js-monorepo",
"version": "3.0.0-beta.27",
"private": true,
"description": "Monorepo accommodating Rudderstack Analytics JS SDK",
"workspaces": [
"packages/*"
],
"scripts": {
"setup": "npm i --include=optional && npm run build:package",
"setup:ci": "npm ci && npm i @nx/nx-linux-x64-gnu && npm run build:package",
"clean": "nx run-many -t clean --parallel=false && nx reset && git clean -xdf node_modules",
"clean:cache": "rimraf -rf ./node_modules/.cache && rimraf -rf ./.nx/cache",
"start": "nx run-many --targets=start --parallel=3 --projects=@rudderstack/analytics-js-integrations,@rudderstack/analytics-js-plugins,@rudderstack/analytics-js",
"start:modern": "nx run-many --targets=start-modern --parallel=3 --projects=@rudderstack/analytics-js-integrations,@rudderstack/analytics-js-plugins,@rudderstack/analytics-js",
"build": "nx run-many -t build --parallel=false",
"build:browser": "nx run-many -t build-browser --parallel=false",
"build:browser:modern": "nx run-many -t build-browser-modern --parallel=false",
"build:npm": "nx run-many -t build-npm --parallel=false",
"build:npm:modern": "nx run-many -t build-npm-modern --parallel=false",
"build:worker": "nx run-many -t build-worker --parallel=false",
"build:package": "nx run-many -t build-package --parallel=false",
"package": "nx run-many -t pack --parallel=false",
"test": "nx run-many -t test",
"test:ci": "nx run-many -t test --parallel=false --configuration=ci --runInBand --maxWorkers=1 --forceExit",
"check:lint:ci": "nx run-many -t check:lint:ci --parallel=false --verbose",
"check:lint": "nx run-many -t check:lint --parallel=false --verbose",
"check:size": "nx run-many -t check:size --parallel=false --verbose",
"check:size:build": "nx run-many -t build-check-size",
"check:size:json": "npm run check:size:json:ci -- --verbose",
"check:size:json:ci": "nx run-many -t check:size:json --parallel=false",
"check:circular": "nx run-many -t check:circular --parallel=false --verbose",
"check:support": "NODE_ENV=production npx browserslist --mobile-to-desktop",
"check:support:modern": "NODE_ENV=modern npx browserslist --mobile-to-desktop",
"check:duplicates": "nx run-many -t check:duplicates --parallel=false --verbose",
"check:security": "npm audit --recursive --audit-level=high",
"format": "prettier --write .",
"lint:fix": "eslint . --fix",
"prepare": "husky",
"pre-commit": "npm run test && npm run check:size:build && npm run check:size:json && npx lint-staged",
"commit-msg": "commitlint --edit",
"commit": "git-cz",
"postinstall": "patch-package",
"build:integrations": "nx run-many --targets=build-browser,build-browser-modern --parallel=false --projects=@rudderstack/analytics-js-integrations",
"build:v3": "nx run-many -t build --parallel=false --exclude=rudder-sdk-js,@rudderstack/analytics-js-sanity-suite,@rudderstack/analytics-js-integrations",
"build:v1.1": "nx run-many -t build --parallel=false --projects=rudder-sdk-js",
"build:sanity": "rm -rf packages/sanity-suite/dist && nx run-many --targets=build:all --parallel=false --projects=@rudderstack/analytics-js-sanity-suite",
"build:sanity:staging": "rm -rf packages/sanity-suite/dist && nx run-many --targets=build:all:staging --parallel=false --projects=@rudderstack/analytics-js-sanity-suite",
"bump-version:monorepo": "npm version prerelease --git-tag-version false",
"release": "nx affected --base=origin/main --target=version --parallel=1 --skipCommitTypes=docs,ci,chore,test",
"release:nx": "nx release --skip-publish --verbose --dry-run",
"release:github": "nx affected --target=github --parallel=1 --skipCommitTypes=docs,ci,chore,test",
"deploy:npm": "nx affected --target=deploy --parallel=1 --skipCommitTypes=docs,ci,chore,test",
"build:browser:LH": "nx run @rudderstack/analytics-js:build-browser && nx run @rudderstack/analytics-js:build-browser-modern"
},
"author": "RudderStack",
"license": "MIT",
"bugs": {
"url": "https://github.com/rudderlabs/rudder-sdk-js/issues"
},
"homepage": "https://github.com/rudderlabs/rudder-sdk-js/blob/main/#readme",
"repository": {
"type": "git",
"url": "https://github.com/rudderlabs/rudder-sdk-js.git"
},
"dependencies": {
"@bugsnag/js": "6.5.2",
"@lukeed/uuid": "2.0.1",
"@ndhoule/defaults": "2.0.1",
"@ndhoule/each": "2.0.1",
"@ndhoule/extend": "2.0.0",
"@ndhoule/keys": "2.0.0",
"@preact/signals-core": "1.5.1",
"@segment/localstorage-retry": "1.3.0",
"@segment/top-domain": "3.0.1",
"@vespaiach/axios-fetch-adapter": "0.3.1",
"assert": "2.1.0",
"axios": "1.6.7",
"axios-retry": "3.9.1",
"component-each": "0.2.6",
"component-emitter": "2.0.0",
"component-querystring": "2.0.1",
"component-url": "0.2.1",
"crypto-es": "2.1.0",
"crypto-js": "4.2.0",
"deep-object-diff": "1.1.9",
"get-value": "3.0.1",
"is": "3.3.0",
"lodash.get": "4.4.2",
"lodash.isempty": "4.4.0",
"lodash.isequal": "4.5.0",
"lodash.isundefined": "3.0.1",
"lodash.pickby": "4.6.0",
"lodash.tostring": "4.1.4",
"md5": "2.3.0",
"ms": "2.1.3",
"obj-case": "0.2.1",
"object-path": "0.11.8",
"on-body": "0.0.1",
"ramda": "0.29.1",
"rudder-component-cookie": "0.0.1",
"serialize-javascript": "6.0.2",
"storejs": "2.0.7"
},
"devDependencies": {
"@babel/core": "7.23.9",
"@babel/eslint-parser": "7.23.10",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-private-methods": "7.18.6",
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@babel/plugin-transform-arrow-functions": "7.23.3",
"@babel/plugin-transform-object-assign": "7.23.3",
"@babel/plugin-transform-runtime": "7.23.9",
"@babel/preset-env": "7.23.9",
"@babel/preset-typescript": "7.23.3",
"@commitlint/config-conventional": "18.6.2",
"@commitlint/config-nx-scopes": "18.6.1",
"@digitalroute/cz-conventional-changelog-for-jira": "8.0.1",
"@jscutlery/semver": "4.2.0",
"@nx/eslint": "18.0.5",
"@nx/eslint-plugin": "18.0.5",
"@nx/jest": "18.0.5",
"@nx/js": "18.0.5",
"@nx/workspace": "18.0.5",
"@originjs/vite-plugin-federation": "1.3.5",
"@rollup/plugin-alias": "5.1.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.5",
"@rollup/plugin-terser": "0.4.4",
"@size-limit/file": "11.0.2",
"@size-limit/webpack": "11.0.2",
"@types/component-emitter": "1.2.14",
"@types/crypto-js": "4.2.2",
"@types/jest": "29.5.12",
"@types/lodash.clonedeep": "4.5.9",
"@types/lodash.isstring": "4.0.9",
"@types/ms": "0.7.34",
"@types/node": "20.11.20",
"@types/ramda": "0.29.10",
"assert": "2.1.0",
"babel-eslint": "10.1.0",
"babel-plugin-transform-object-hasown": "1.1.0",
"commitizen": "4.3.0",
"commitlint": "18.6.1",
"component-type": "2.0.0",
"core-js": "3.36.0",
"dotenv": "16.4.5",
"each": "2.6.0",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-compat": "4.2.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-sonarjs": "0.24.0",
"eslint-plugin-unicorn": "51.0.1",
"esm": "3.2.25",
"http-server": "14.1.1",
"husky": "9.0.11",
"isomorphic-fetch": "3.0.0",
"jest": "29.7.0",
"jest-date-mock": "1.0.8",
"jest-environment-jsdom": "29.7.0",
"jest-junit": "16.0.0",
"jest-sonar": "0.2.16",
"jest-watch-typeahead": "2.2.2",
"join-component": "1.1.0",
"jscpd": "3.5.10",
"lint-staged": "15.2.2",
"madge": "6.1.0",
"msw": "2.2.1",
"nx": "18.0.5",
"patch-package": "8.0.0",
"prettier": "3.2.5",
"rollup": "4.12.0",
"rollup-plugin-copy": "3.5.0",
"rollup-plugin-delete": "2.0.0",
"rollup-plugin-dts": "6.1.0",
"rollup-plugin-exclude-dependencies-from-bundle": "1.1.23",
"rollup-plugin-external-globals": "0.9.2",
"rollup-plugin-filesize": "10.0.0",
"rollup-plugin-generate-html-template": "1.7.0",
"rollup-plugin-livereload": "2.0.5",
"rollup-plugin-polyfill-node": "0.13.0",
"rollup-plugin-serve": "2.0.3",
"rollup-plugin-typescript2": "0.36.0",
"rollup-plugin-visualizer": "5.12.0",
"serve": "14.2.1",
"size-limit": "11.0.2",
"ts-jest": "29.1.2",
"ts-node": "10.9.2",
"tslib": "2.6.2",
"typescript": "5.2.2",
"user-agent-data-types": "0.4.2"
},
"optionalDependencies": {
"@nx/nx-darwin-arm64": "18.0.5",
"@nx/nx-darwin-x64": "18.0.5",
"@nx/nx-linux-x64-gnu": "18.0.5",
"@nx/nx-win32-x64-msvc": "18.0.5",
"@rollup/rollup-linux-x64-gnu": "4.12.0"
},
"overrides": {
"debug": "4.3.4",
"ip": "2.0.1",
"component-type": "2.0.0"
},
"lint-staged": {
"*.{json,js,md,ts}": "prettier --write"
},
"config": {
"commitizen": {
"path": "./scripts/commitizen"
}
}
}