-
Notifications
You must be signed in to change notification settings - Fork 82
/
package.json
220 lines (220 loc) · 8.96 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
{
"name": "@rudderstack/analytics-js-monorepo",
"version": "3.47.0",
"private": true,
"description": "Monorepo for RudderStack Analytics JS SDK",
"workspaces": [
"packages/*"
],
"scripts": {
"setup": "npm i --include=optional && npm run build:package:modern",
"setup:ci": "npm ci && npm i @nx/nx-linux-x64-gnu && npm run build:package:modern",
"clean": "nx run-many -t clean && 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",
"build:ci": "nx affected -t build --base=$BASE_REF",
"build:modern": "nx run-many -t build:modern",
"build:modern:ci": "nx affected -t build:modern --base=$BASE_REF",
"build:browser": "nx run-many -t build:browser",
"build:browser:modern": "nx run-many -t build:browser:modern",
"build:package": "nx run-many -t build:package",
"build:package:modern": "nx run-many -t build:package:modern",
"package": "nx run-many -t package",
"test": "nx run-many -t test",
"test:pre-commit:affected": "nx affected -t test --base=HEAD",
"test:ci": "nx affected -t test --base=$BASE_REF --configuration=ci --runInBand --maxWorkers=1 --forceExit",
"check:lint:ci": "nx affected -t check:lint:ci --base=$BASE_REF --verbose",
"check:lint": "nx run-many -t check:lint --verbose",
"check:size": "nx run-many -t check:size --verbose",
"check:size:build": "nx run-many -t check:size:build",
"check:size:build:pre-commit:affected": "nx affected -t check:size:build --base=HEAD",
"check:size:json": "npm run check:size:json:ci -- --verbose",
"check:size:json:pre-commit:affected": "nx affected -t check:size:json --base=HEAD --verbose",
"check:size:json:ci": "nx run-many -t check:size:json",
"check:circular": "nx run-many -t check:circular --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 --verbose",
"check:security": "npm audit --recursive --audit-level=high --omit=dev",
"check:pub": "nx run-many -t check:pub --verbose",
"check:pub:ci": "nx affected -t check:pub --verbose --base=$BASE_REF",
"format": "prettier --write .",
"lint:fix": "eslint . --fix",
"prepare": "husky",
"pre-commit": "npm run test:pre-commit:affected && npm run check:size:build:pre-commit:affected && npm run check:size:json:pre-commit:affected && npx lint-staged",
"commit-msg": "commitlint --edit",
"commit": "git-cz",
"postinstall": "patch-package",
"build:integrations": "nx run-many --targets=build:browser,build:browser:modern --projects=@rudderstack/analytics-js-integrations",
"build:v3": "nx run-many -t build --exclude=rudder-sdk-js,@rudderstack/analytics-js-sanity-suite,@rudderstack/analytics-js-integrations",
"build:v1.1": "nx run-many -t build --projects=rudder-sdk-js",
"build:sanity": "rm -rf packages/sanity-suite/dist && nx run-many --targets=build:all --projects=@rudderstack/analytics-js-sanity-suite",
"bump-version:monorepo": "npm version minor --git-tag-version false",
"release": "nx affected --base=origin/main --target=version --parallel=1 --skipCommitTypes=docs,ci,chore,test --baseBranch=$BASE_BRANCH",
"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"
},
"author": "RudderStack",
"license": "Elastic-2.0",
"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": {
"@lukeed/uuid": "2.0.1",
"@ndhoule/defaults": "2.0.1",
"@ndhoule/each": "2.0.1",
"@ndhoule/extend": "2.0.0",
"@preact/signals-core": "1.8.0",
"@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.7.7",
"axios-retry": "4.5.0",
"component-each": "0.2.6",
"component-emitter": "2.0.0",
"component-type": "2.0.0",
"crypto-es": "2.1.0",
"crypto-js": "4.2.0",
"deep-object-diff": "1.1.9",
"error-stack-parser": "2.1.4",
"get-value": "3.0.1",
"is": "3.3.0",
"join-component": "1.1.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.30.1",
"rudder-component-cookie": "0.0.1",
"storejs": "2.1.0"
},
"devDependencies": {
"@babel/core": "7.25.2",
"@babel/eslint-parser": "7.25.1",
"@babel/plugin-transform-arrow-functions": "7.24.7",
"@babel/plugin-transform-class-properties": "7.25.4",
"@babel/plugin-transform-object-assign": "7.24.7",
"@babel/plugin-transform-private-methods": "7.25.4",
"@babel/plugin-transform-private-property-in-object": "7.24.7",
"@babel/plugin-transform-runtime": "7.25.4",
"@babel/preset-env": "7.25.4",
"@babel/preset-typescript": "7.24.7",
"@commitlint/config-conventional": "19.5.0",
"@commitlint/config-nx-scopes": "19.5.0",
"@digitalroute/cz-conventional-changelog-for-jira": "8.0.1",
"@jscutlery/semver": "5.3.1",
"@nx/eslint": "19.8.2",
"@nx/eslint-plugin": "19.8.2",
"@nx/jest": "19.8.2",
"@nx/js": "19.8.2",
"@nx/workspace": "19.8.2",
"@originjs/vite-plugin-federation": "1.3.6",
"@rollup/plugin-alias": "5.1.1",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.0",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-replace": "6.0.1",
"@rollup/plugin-terser": "0.4.4",
"@size-limit/file": "11.1.5",
"@size-limit/webpack": "11.1.5",
"@swc-node/register": "^1.10.9",
"@swc/core": "^1.7.28",
"@types/component-emitter": "1.2.14",
"@types/jest": "29.5.13",
"@types/node": "22.7.3",
"@types/ramda": "0.30.2",
"babel-plugin-transform-object-hasown": "1.1.0",
"commitizen": "4.3.1",
"commitlint": "19.5.0",
"core-js": "3.38.1",
"cross-env": "7.0.3",
"dotenv": "16.4.5",
"each": "2.7.0",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-compat": "6.0.1",
"eslint-plugin-import": "2.30.0",
"eslint-plugin-sonarjs": "2.0.2",
"eslint-plugin-unicorn": "55.0.0",
"esm": "3.2.25",
"http-server": "14.1.1",
"husky": "9.1.6",
"isomorphic-fetch": "3.0.0",
"jest": "29.7.0",
"jest-date-mock": "1.0.10",
"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": "4.0.5",
"lint-staged": "15.2.10",
"msw": "2.4.9",
"nx": "19.8.2",
"patch-package": "8.0.0",
"prettier": "3.3.3",
"publint": "0.2.11",
"rollup": "4.22.4",
"rollup-plugin-copy": "3.5.0",
"rollup-plugin-delete": "2.1.0",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-exclude-dependencies-from-bundle": "1.1.23",
"rollup-plugin-external-globals": "0.12.0",
"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": "3.0.0",
"rollup-plugin-typescript2": "0.36.0",
"rollup-plugin-visualizer": "5.12.0",
"serve": "14.2.3",
"size-limit": "11.1.5",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"tslib": "2.7.0",
"typescript": "5.6.2",
"user-agent-data-types": "0.4.2"
},
"optionalDependencies": {
"@nx/nx-darwin-arm64": "19.8.2",
"@nx/nx-darwin-x64": "19.8.2",
"@nx/nx-linux-x64-gnu": "19.8.2",
"@nx/nx-win32-x64-msvc": "19.8.2",
"@rollup/rollup-linux-x64-gnu": "4.22.4"
},
"overrides": {
"debug": "4.3.4",
"ws": "7.5.10",
"path-to-regexp": "6.3.0"
},
"lint-staged": {
"*.{json,js,md,ts}": "prettier --write"
},
"config": {
"commitizen": {
"path": "./scripts/commitizen"
}
}
}