forked from rudderlabs/rudder-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 5.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
{
"name": "rudder-analytics",
"version": "2.17.0",
"description": "",
"main": "./dist/browser.min.js",
"scripts": {
"test": "npm run buildProdBrowser && sed 's/var rudderanalytics/rudderanalytics/g' dist/rudder-analytics.min.js > __tests__/prodsdk.js && jest --coverage --verbose",
"buildDevBrowser": "NODE_ENV=false uglify=false rollup -c",
"buildProdBrowser": "NODE_ENV=false PROD_DEBUG=true STAGING=$npm_config_staging ENV=prod uglify=true rollup -c",
"buildProdBrowserDebug": "NODE_ENV=false ENV=prod PROD_DEBUG_INLINE=true uglify=true rollup -c",
"buildProdBrowserGzip": "NODE_ENV=false ENV=prod ENC=gzip uglify=true rollup -c",
"buildProdBrowserBrotli": "NODE_ENV=false ENV=prod ENC=br uglify=true rollup -c",
"buildDevNode": "NODE_ENV=true uglify=false rollup -c",
"buildProdNode": "NODE_ENV=true ENV=prod uglify=true rollup -c",
"buildForNpm": "npm run build:npm && npm run build:worker",
"build:npm": "NPM=true rollup -c",
"build:worker": "NPM=true rollup --config rollup.worker.config.js",
"bundle-size-visual": "ENV=prod PROD_DEBUG=true uglify=true visualizer=true rollup -c",
"size": "npm run clean && npm run buildProdBrowser && npm run buildAllIntegrations && npm run buildForNpm && size-limit",
"changelog": "auto-changelog -p -t keepachangelog -u true -l false --sort-commits date-desc ",
"buildDevIntegration": "PROD_DEBUG=true NODE_ENV=false uglify=false INTG_NAME=AdobeAnalytics rollup --config rollup.intgConfig.js",
"buildDevIntegrationCLI": "PROD_DEBUG=true NODE_ENV=false uglify=false INTG_NAME=$npm_config_intg rollup --config rollup.intgConfig.js",
"buildProdIntegration": "PROD_DEBUG=true NODE_ENV=false ENV=prod uglify=true INTG_NAME=AdobeAnalytics rollup --config rollup.intgConfig.js",
"buildProdIntegrationCLI": "PROD_DEBUG=true NODE_ENV=false ENV=prod uglify=true INTG_NAME=$npm_config_intg rollup --config rollup.intgConfig.js",
"buildAllIntegrations": "BUNDLE_SIZE_VISUALIZER=false STAGING=$npm_config_staging node -r esm integrationBuildScript.js",
"bundle-size-visual-integration": "ENV=prod PROD_DEBUG=true uglify=true visualizer=true INTG_NAME=AdobeAnalytics rollup --config rollup.intgConfig.js",
"bundle-size-visual-integration-cli": "ENV=prod PROD_DEBUG=true uglify=true visualizer=true INTG_NAME=$npm_config_intg rollup --config rollup.intgConfig.js",
"format": "prettier --write '**/*.js'",
"lint": "eslint . --fix",
"lint:check": "eslint . || exit 1",
"prepare": "husky install",
"clean": "find dist -type f -name '*.js' -delete && find dist -type f -name '*.js.map' -delete && rm -rf dist/integrations"
},
"author": "",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/rudderlabs/rudder-sdk-js.git"
},
"dependencies": {
"@lukeed/uuid": "^2.0.0",
"@ndhoule/defaults": "^2.0.1",
"@ndhoule/each": "^2.0.1",
"@ndhoule/extend": "^2.0.0",
"@segment/localstorage-retry": "^1.3.0",
"@segment/loosely-validate-event": "^2.0.0",
"@segment/top-domain": "^3.0.1",
"@vespaiach/axios-fetch-adapter": "^0.3.0",
"axios": "0.27.2",
"axios-retry": "^3.2.4",
"component-each": "^0.2.6",
"component-emitter": "^1.3.0",
"component-querystring": "^2.0.1",
"component-url": "^0.2.1",
"crypto-js": "3.1.9-1",
"get-value": "^3.0.1",
"is": "^3.3.0",
"lodash": "^4.17.21",
"lodash.clonedeep": "^4.5.0",
"lodash.isstring": "^4.0.1",
"lodash.merge": "^4.6.2",
"md5": "^2.3.0",
"ms": "^2.1.3",
"obj-case": "^0.2.1",
"on-body": "^0.0.1",
"remove-trailing-slash": "^0.1.1",
"rudder-component-cookie": "^0.0.1",
"serialize-javascript": "^6.0.0",
"storejs": "^2.0.1",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/core": "^7.18.2",
"@babel/eslint-parser": "^7.18.2",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/plugin-transform-arrow-functions": "^7.17.12",
"@babel/plugin-transform-object-assign": "^7.16.7",
"@babel/preset-env": "^7.18.2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"@size-limit/preset-big-lib": "^7.0.8",
"auto-changelog": "^2.4.0",
"babel-eslint": "^10.1.0",
"esbuild": "^0.15.9",
"esbuild-jest": "^0.5.0",
"eslint": "8.2.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"esm": "^3.2.25",
"husky": "^8.0.0",
"isomorphic-fetch": "^3.0.0",
"jest": "^29.1.1",
"jest-date-mock": "^1.0.8",
"jest-environment-jsdom": "^29.1.1",
"lint-staged": "^13.0.1",
"msw": "^0.47.3",
"prettier": "^2.6.2",
"rollup": "^2.75.3",
"rollup-plugin-brotli": "^3.1.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-gzip": "^3.0.1",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.6.0",
"size-limit": "^7.0.8"
},
"lint-staged": {
"*.js": "prettier --write"
}
}