@deriv-com/analytics 1.5.9 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1) hide show
  1. package/package.json +8 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deriv-com/analytics",
3
- "version": "1.5.9",
3
+ "version": "1.6.0",
4
4
  "description": "The analytics package contains all the utility functions used for tracking user events and sending them to the respective platform such as Rudderstack.",
5
5
  "keywords": [
6
6
  "rudderstack",
@@ -12,9 +12,10 @@
12
12
  "types": "lib/index.d.ts",
13
13
  "scripts": {
14
14
  "test": "./node_modules/.bin/jest",
15
- "build": "tsc",
15
+ "build": "tsc && npm run build:webpack",
16
16
  "prepare": "npm run build && husky install",
17
- "prepublishOnly": "npm test"
17
+ "prepublishOnly": "npm test",
18
+ "build:webpack": "webpack"
18
19
  },
19
20
  "files": [
20
21
  "lib/**/*"
@@ -33,7 +34,10 @@
33
34
  "lint-staged": "^15.0.1",
34
35
  "prettier": "^3.0.3",
35
36
  "ts-jest": "^29.1.1",
36
- "typescript": "^4.9.5"
37
+ "ts-loader": "^9.5.1",
38
+ "typescript": "^4.9.5",
39
+ "webpack": "^5.91.0",
40
+ "webpack-cli": "^5.1.4"
37
41
  },
38
42
  "dependencies": {
39
43
  "@growthbook/growthbook": "^0.36.0",