forked from segmentio/analytics-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
143 lines (143 loc) · 3.85 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
{
"name": "@segment/analytics-next",
"version": "1.33.4",
"repository": "segmentio/analytics-next",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/pkg/index.js",
"types": "dist/pkg/index.d.ts",
"browser": {
"./dist/cjs/node": "dist/cjs/node.browser.js",
"./dist/cjs/node.js": "dist/cjs/node.browser.js",
"./dist/pkg/node.js": "dist/pkg/node.browser.js",
"./dist/pkg/node": "./dist/pkg/node.browser.js"
},
"files": [
"dist/",
"src/"
],
"sideEffects": false,
"scripts": {
"build-prep": "echo \"// This file is generated.\\nexport const version = '$npm_package_version'\" > src/generated/version.ts",
"version": "npm run build-prep && git add src/generated/version.ts",
"umd": "webpack",
"pkg": "tsc",
"cjs": "tsc -p tsconfig.cjs.json",
"run-example": "cd example && yarn && yarn dev",
"clean": "rm -rf dist",
"lint": "eslint '**/*.{js,jsx,ts,tsx}'",
"prepare": "yarn pkg"
},
"size-limit": [
{
"path": "dist/umd/index.js",
"limit": "24.7 KB"
}
],
"prettier": {
"semi": false,
"singleQuote": true,
"printWidth": 80
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{yml,md,json}": [
"prettier --write"
]
},
"resolutions": {
"glob-parent": "^5.1.2",
"dot-prop": "^4.2.1"
},
"dependencies": {
"@lukeed/uuid": "^2.0.0",
"@segment/analytics.js-video-plugins": "^0.2.1",
"@segment/facade": "3.4.7",
"@segment/tsub": "^0.1.10",
"dset": "^3.0.0",
"js-cookie": "^2.2.1",
"node-fetch": "^2.6.1",
"spark-md5": "^3.0.1",
"tslib": "^2.1.0",
"unfetch": "^4.1.0"
},
"devDependencies": {
"@jsdevtools/version-bump-prompt": "^6.1.0",
"@size-limit/preset-small-lib": "^5.0.2",
"@types/flat": "^5.0.1",
"@types/fs-extra": "^9.0.2",
"@types/jest": "^25.1.4",
"@types/jest-dev-server": "^4.2.0",
"@types/jquery": "^3.5.4",
"@types/js-cookie": "^2.2.6",
"@types/jsdom": "^16.2.5",
"@types/lodash": "^4.14.161",
"@types/md5": "^2.2.0",
"@types/mime": "^2.0.3",
"@types/node": "^12.12.14",
"@types/node-fetch": "^2.5.7",
"@types/node-statsd": "^0.1.2",
"@types/serve-handler": "^6.1.0",
"@types/sinon": "^9.0.10",
"@types/spark-md5": "^3.0.2",
"@types/test-listen": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"@wdio/cli": "^6.10.5",
"@wdio/jasmine-framework": "^6.10.4",
"@wdio/local-runner": "^6.10.5",
"@wdio/sauce-service": "^6.10.4",
"@wdio/spec-reporter": "^6.8.1",
"@wdio/sync": "^6.10.4",
"add": "^2.0.6",
"aws-sdk": "^2.814.0",
"compression-webpack-plugin": "^8.0.1",
"concurrently": "^5.3.0",
"delay": "^4.4.0",
"electron": "^11.3.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"execa": "^4.1.0",
"express": "^4.17.1",
"flat": "^5.0.2",
"fs-extra": "^9.0.1",
"husky": "^4.2.3",
"jest": "^26.6.3",
"jest-dev-server": "^4.4.0",
"jquery": "^3.5.1",
"jsdom": "^16.4.0",
"lighthouse": "^7.3.0",
"lint-staged": "^10.0.9",
"log-update": "^4.0.0",
"micro-memoize": "^4.0.9",
"mime": "^2.4.6",
"ngrok": "^3.3.0",
"np": "^7.5.0",
"p-map": "^4.0.0",
"playwright": "^1.10.0",
"prettier": "^2.0.2",
"serve": "^12.0.0",
"serve-handler": "^6.1.3",
"sinon": "^9.2.4",
"size-limit": "^5.0.2",
"terser-webpack-plugin": "^5.1.4",
"test-listen": "^1.1.0",
"ts-jest": "^26.4.4",
"ts-loader": "^9.1.1",
"ts-node": "^9.0.0",
"typescript": "^3.8.3",
"wdio-chromedriver-service": "^6.0.4",
"webpack": "^5.36.1",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.8.0",
"yarn": "^1.22.10"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}