@arcxmoney/analytics
Advanced tools
Comparing version
{ | ||
"name": "@arcxmoney/analytics", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"repository": { | ||
@@ -9,4 +9,5 @@ "type": "git", | ||
"author": "Yaraslau Stsetskevich <j@arcx.money>", | ||
"main": "dist/src/index.js", | ||
"types": "dist/src/index.d.ts", | ||
"main": "dist/cjs/src/index.js", | ||
"types": "dist/esm/src/index.d.ts", | ||
"module": "dist/esm/src/index.js", | ||
"private": false, | ||
@@ -33,3 +34,5 @@ "license": "MIT", | ||
"publish-minor": "yarn lint && yarn build && npm version minor && npm publish", | ||
"build": "yarn tsc", | ||
"build": "yarn build:esm && yarn build:cjs", | ||
"build:esm": "yarn tsc --build", | ||
"build:cjs": "yarn tsc --build ./tsconfig.cjs.json", | ||
"lint": "eslint '{src,test}/**/*.ts'", | ||
@@ -36,0 +39,0 @@ "test": "mocha -r ts-node/register 'test/**/*.test.ts'" |
@@ -84,2 +84,3 @@ # ArcxAnalyticsSdk | ||
await arcxAnalyticsSdk.page( | ||
'EXAMPLE_EVENT', | ||
{ | ||
@@ -86,0 +87,0 @@ url: 'https://target.url', |
{ | ||
"compilerOptions": { | ||
"outDir": "dist/esm", | ||
"allowJs": false, | ||
@@ -20,3 +21,2 @@ "esModuleInterop": true, | ||
"sourceMap": true, | ||
"outDir": "dist", | ||
"isolatedModules": true, | ||
@@ -23,0 +23,0 @@ }, |
79
36.21%127
0.79%2
-33.33%66740
-1.37%1157
-1.36%