-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.01 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 3.01 KB
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
{
"name": "@unifygtm/intent-client",
"version": "1.9.5",
"description": "JavaScript client for interacting with the Unify Intent API in the browser.",
"keywords": [
"unify",
"intent",
"client"
],
"homepage": "https://github.com/unifygtm/intent-js-client",
"bugs": "https://github.com/unifygtm/intent-js-client/issues",
"author": {
"name": "Solomon Astley",
"email": "solomon@unifygtm.com"
},
"license": "MIT",
"private": false,
"main": "./dist/js/client/index.cjs.js",
"module": "./dist/js/client/index.esm.js",
"types": "./src/index.d.ts",
"exports": {
".": {
"import": "./dist/js/client/index.esm.js",
"require": "./dist/js/client/index.cjs.js",
"types": "./src/index.d.ts"
}
},
"nodemonConfig": {
"watch": [
"./src/"
],
"ext": "ts,json"
},
"scripts": {
"build:client": "pnpm generate && tsx src/build-client.ts",
"build:browser": "pnpm generate && tsx src/build-browser.ts",
"build:browser:s3:prod": "pnpm build:browser && aws s3 cp ./dist/js/browser/index.min.js s3://unifygtm-public/tag/v1/script.js",
"build:browser:s3:staging": "pnpm build:browser && aws s3 cp ./dist/js/browser/index.min.js s3://unifygtm-public/tag/v1/AKUXjLHgk642jVe4ZNwfEK/script-staging.js",
"build:browser:s3:testing": "pnpm build:browser && aws s3 cp ./dist/js/browser/index.min.js s3://unifygtm-public/tag/v1/script-testing.js",
"generate": "pnpm openapi-typescript 'https://unifyintent.com/analytics/v1/openapi.json' -o './src/spec.ts'",
"test": "pnpm jest unit.test",
"serve": "http-server . -a localhost -p 3001 -o /test.html"
},
"packageManager": "pnpm@9.4.0",
"devDependencies": {
"@babel/cli": "^7.22.10",
"@babel/core": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@faker-js/faker": "^8.4.1",
"@types/jest": "^29.5.5",
"@types/node": "^18.17.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^29.7.0",
"esbuild": "^0.27.2",
"http-server": "^14.1.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-localstorage-mock": "^2.4.26",
"jest-mock": "^29.7.0",
"jest-mock-extended": "^3.0.7",
"openapi-typescript": "^6.7.6",
"prettier": "^2.8.8",
"ts-jest": "^29.1.1",
"tsx": "^4.11.0",
"typescript": "^5.4.5"
},
"dependencies": {
"@types/js-cookie": "^3.0.6",
"@types/uuid": "^9.0.8",
"js-base64": "^3.7.5",
"js-cookie": "^3.0.5",
"user-agent-data-types": "^0.4.2",
"uuid": "^9.0.0"
},
"pnpm": {
"overrides": {
"micromatch@<4.0.8": ">=4.0.8",
"cross-spawn@>=7.0.0 <7.0.5": ">=7.0.5",
"undici@>=4.5.0 <5.28.5": ">=5.28.5",
"esbuild@<=0.24.2": ">=0.25.0",
"@babel/runtime@<7.26.10": ">=7.26.10",
"@babel/helpers@<7.26.10": ">=7.26.10",
"undici@<5.29.0": ">=5.29.0",
"brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
"form-data@>=4.0.0 <4.0.4": ">=4.0.4",
"js-yaml@<4.1.1": ">=4.1.1",
"qs@<6.14.1": ">=6.14.1"
}
}
}