forked from customerio/cdp-analytics-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 3.35 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
{
"name": "@customerio/cdp-analytics-browser",
"version": "0.1.3",
"repository": {
"type": "git",
"url": "https://github.com/customerio/cdp-analytics-js",
"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": {
"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 'NODE_ENV=production 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 run -T browser+deps 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"
},
"size-limit": [
{
"path": "dist/umd/index.js",
"limit": "28.0 KB"
}
],
"dependencies": {
"@customerio/cdp-analytics-core": "0.1.3",
"@lukeed/uuid": "^2.0.0",
"@segment/analytics.js-video-plugins": "^0.2.1",
"@segment/facade": "^3.4.9",
"@segment/tsub": "1.0.1",
"customerio-gist-web": "^3.10.0",
"dset": "^3.1.2",
"js-cookie": "3.0.1",
"node-fetch": "^2.6.7",
"spark-md5": "^3.0.1",
"tslib": "^2.4.1",
"unfetch": "^4.1.0"
},
"devDependencies": {
"@internal/config": "0.0.0",
"@segment/analytics.js-integration": "^3.3.3",
"@segment/analytics.js-integration-amplitude": "^3.3.3",
"@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": "^12.12.14",
"@types/serve-handler": "^6.1.0",
"@types/spark-md5": "^3.0.2",
"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.36.1",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.8.0"
},
"packageManager": "[email protected]"
}