-
Notifications
You must be signed in to change notification settings - Fork 141
/
package.json
105 lines (105 loc) · 3.41 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
{
"name": "@segment/analytics-next",
"version": "1.76.0",
"repository": {
"type": "git",
"url": "https://github.com/segmentio/analytics-next",
"directory": "packages/browser"
},
"license": "MIT",
"main": "./dist/cjs/index.js",
"module": "./dist/pkg/index.js",
"types": "./dist/types/index.d.ts",
"browser": {
"./dist/cjs/node": "./dist/cjs/node/node.browser.js",
"./dist/cjs/node.js": "./dist/cjs/node/node.browser.js",
"./dist/pkg/node": "./dist/pkg/node/node.browser.js",
"./dist/pkg/node.js": "./dist/pkg/node/node.browser.js"
},
"files": [
"dist/",
"src/",
"!**/__tests__/**",
"!**/tester/**"
],
"sideEffects": false,
"scripts": {
".": "yarn run -T turbo run --filter=@segment/analytics-next...",
"build-prep": "sh scripts/build-prep.sh",
"version": "yarn run build-prep && git add src/generated/version.ts",
"umd": "webpack",
"eslint": "yarn run -T eslint",
"tsc": "yarn run -T tsc",
"jest": "yarn run -T jest",
"concurrently": "yarn run -T concurrently",
"watch": "yarn concurrently 'WATCH=true yarn umd --watch' 'yarn pkg --watch'",
"build": "yarn clean && yarn build-prep && yarn concurrently 'NODE_ENV=production yarn umd' 'yarn pkg' 'yarn cjs'",
"release:cdn": "yarn . build && NODE_ENV=production bash scripts/release.sh && NODE_ENV=stage bash scripts/release.sh",
"pkg": "yarn tsc -p tsconfig.build.json",
"cjs": "yarn tsc -p tsconfig.build.json --outDir ./dist/cjs --module commonjs",
"clean": "rm -rf dist",
"lint": "yarn concurrently 'yarn:eslint .' 'yarn:tsc --noEmit'",
"test": "yarn jest",
"vendor": "node scripts/vendor/run.js"
},
"size-limit": [
{
"path": "dist/umd/index.js",
"limit": "29.7 KB"
}
],
"dependencies": {
"@lukeed/uuid": "^2.0.0",
"@segment/analytics-core": "1.8.0",
"@segment/analytics-generic-utils": "1.2.0",
"@segment/analytics.js-video-plugins": "^0.2.1",
"@segment/facade": "^3.4.9",
"dset": "^3.1.4",
"js-cookie": "3.0.1",
"node-fetch": "^2.6.7",
"tslib": "^2.4.1",
"unfetch": "^4.1.0"
},
"devDependencies": {
"@internal/config": "0.0.0",
"@segment/analytics-browser-actions-braze": "^1.3.0",
"@segment/analytics.js-integration": "^3.3.3",
"@segment/analytics.js-integration-amplitude": "^3.3.3",
"@segment/tsub": "^2.0.0",
"@size-limit/preset-big-lib": "^7.0.8",
"@types/flat": "^5.0.1",
"@types/fs-extra": "^9.0.2",
"@types/jest-dev-server": "^5.0.0",
"@types/jquery": "^3.5.4",
"@types/js-cookie": "3.0.1",
"@types/jsdom": "^16.2.14",
"@types/mime": "^2.0.3",
"@types/node": "^20",
"@types/serve-handler": "^6.1.0",
"aws-sdk": "^2.814.0",
"circular-dependency-plugin": "^5.2.2",
"compression-webpack-plugin": "^8.0.1",
"execa": "^4.1.0",
"flat": "^5.0.2",
"fs-extra": "^9.0.1",
"jest-dev-server": "^6.0.3",
"jest-environment-jsdom": "^28.1.1",
"jquery": "^3.5.1",
"jsdom": "^19.0.0",
"lighthouse": "^9.6.3",
"log-update": "^4.0.0",
"micro-memoize": "^4.0.9",
"mime": "^2.4.6",
"node-gyp": "^9.0.0",
"playwright": "^1.28.1",
"serve-handler": "^6.1.3",
"size-limit": "^7.0.8",
"terser-webpack-plugin": "^5.1.4",
"ts-loader": "^9.1.1",
"ts-node": "^10.8.0",
"webpack": "^5.76.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.8.0"
},
"packageManager": "[email protected]"
}