@artisan-commerce/analytics-web 0.2.0-canary.105 → 0.2.0-canary.108

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var snakeCase = require('snake-case');
6
4
  var shoppingCartCore = require('@artisan-commerce/shopping-cart-core');
7
5
  var products = require('@artisan-commerce/products');
@@ -54,9 +52,10 @@ State$1._instance = null;
54
52
 
55
53
  var name = "@artisan-commerce/analytics-web";
56
54
  var description = "Artisn commerce analytics web library";
57
- var version = "0.2.0-canary.104";
58
- var main = "./dist/bundle.cjs.js";
59
- var module$1 = "./dist/bundle.esm.js";
55
+ var version = "0.2.0-canary.107";
56
+ var type = "module";
57
+ var main = "./dist/bundle.cjs";
58
+ var module$1 = "./dist/bundle.mjs";
60
59
  var types = "./dist/bundle.d.ts";
61
60
  var files = [
62
61
  "dist"
@@ -71,9 +70,9 @@ var scripts = {
71
70
  test: "jest --watchAll --runInBand",
72
71
  "test:all": "yarn test --watchAll=false --coverage",
73
72
  "test:ci": "cross-env CI=true jest --runInBand",
74
- "test:staged": "yarn test:ci --findRelatedTests ./src",
73
+ "test:staged": "yarn test:ci",
75
74
  "check-types": "tsc --noEmit",
76
- lint: "eslint --ignore-path .gitignore --ignore-pattern !cypress/.eslintrc.js --ext .js,jsx,.ts,.tsx .",
75
+ lint: "eslint --ignore-path .gitignore --ignore-pattern !cypress/.eslintrc.cjs --ext .js,jsx,.ts,.tsx .",
77
76
  "lint:staged": "yarn lint --max-warnings=0",
78
77
  prettier: "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json|css|scss|html)\"",
79
78
  format: "yarn prettier --write",
@@ -87,10 +86,10 @@ var dependencies = {
87
86
  "snake-case": "^3.0.4"
88
87
  };
89
88
  var devDependencies = {
90
- "@artisan-commerce/products": "0.9.0-canary.66",
91
- "@artisan-commerce/shopping-cart-core": "0.12.0-canary.98",
92
- "@artisan-commerce/state": "0.3.0-canary.15",
93
- "@artisan-commerce/types": "0.14.0-canary.43"
89
+ "@artisan-commerce/products": "0.9.0-canary.68",
90
+ "@artisan-commerce/shopping-cart-core": "0.12.0-canary.101",
91
+ "@artisan-commerce/state": "0.3.0-canary.17",
92
+ "@artisan-commerce/types": "0.14.0-canary.45"
94
93
  };
95
94
  var peerDependencies = {
96
95
  "@artisan-commerce/products": "*",
@@ -101,17 +100,17 @@ var nx = {
101
100
  targets: {
102
101
  build: {
103
102
  outputs: [
104
- "./dist"
103
+ "{projectRoot}/dist"
105
104
  ]
106
105
  },
107
106
  compile: {
108
107
  outputs: [
109
- "./dist"
108
+ "{projectRoot}/dist"
110
109
  ]
111
110
  },
112
111
  "test:all": {
113
112
  outputs: [
114
- "./coverage"
113
+ "{projectRoot}/coverage"
115
114
  ]
116
115
  }
117
116
  }
@@ -120,6 +119,7 @@ var packageJSON = {
120
119
  name: name,
121
120
  description: description,
122
121
  version: version,
122
+ type: type,
123
123
  main: main,
124
124
  module: module$1,
125
125
  types: types,
@@ -13995,4 +13995,4 @@ exports.events = events;
13995
13995
  exports.identifyUser = identifyUser;
13996
13996
  exports.initAnalytics = initAnalytics;
13997
13997
  exports.updateActiveVendor = updateActiveVendor;
13998
- //# sourceMappingURL=bundle.cjs.js.map
13998
+ //# sourceMappingURL=bundle.cjs.map