-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 2.85 KB
/
Copy pathpackage.json
File metadata and controls
116 lines (116 loc) · 2.85 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
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
{
"name": "customerio-node",
"description": "A node client for the Customer.io event API. http://customer.io",
"version": "5.2.0",
"author": "Customer.io (https://customer.io)",
"contributors": [
"Alvin Crespo (https://github.com/alvincrespo)",
"Jeff Escalante (https://github.com/jescalan)",
"Artem Ivanov (https://github.com/ivanovart)",
"Nuno Sousa (https://github.com/nunofgs)"
],
"ava": {
"verbose": true,
"extensions": {
"ts": "commonjs"
},
"require": [
"ts-node/register"
],
"files": [
"test/**/*.ts",
"!test/fixtures/record.ts",
"!test/integration/**"
]
},
"nyc": {
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"exclude": [
"**/*.d.ts",
"coverage/",
"test/"
],
"reporter": [
"text"
],
"cache": false,
"check-coverage": true,
"branches": 100,
"lines": 100,
"functions": 100,
"statements": 100
},
"bugs": "https://github.com/customerio/customerio-node/issues",
"engines": {
"node": ">=22"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/sinon": "^21.0.1",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.60.0",
"@typescript-eslint/parser": "^8.60.0",
"ava": "^6.4.1",
"eslint": "^10.4.0",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"nock": "^14.0.15",
"nyc": "^18.0.0",
"prettier": "^3.8.3",
"sinon": "^19.0.5",
"ts-node": "^10.9.1",
"typedoc": "^0.28.0",
"typescript": "^6.0.3",
"uuid": "^11.0.0"
},
"overrides": {
"uuid": "$uuid"
},
"homepage": "https://github.com/customerio/customerio-node",
"keywords": [
"customerio",
"node"
],
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"default": "./dist/index.js"
}
},
"repository": "customerio/customerio-node",
"scripts": {
"test": "nyc ava",
"test:record": "CIO_RECORD=1 ts-node test/fixtures/record.ts",
"test:replay": "ava test/fixtures/replay.ts",
"test:live": "CIO_LIVE=1 ava test/integration/live.ts",
"test:live:v5": "CIO_LIVE=1 ava test/integration/v5-live.ts",
"test:live:all": "CIO_LIVE=1 ava test/integration/live.ts test/integration/v5-live.ts",
"prebuild": "node scripts/sync-version.js",
"build": "tsc -p tsconfig.json",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"docs": "typedoc",
"prepublishOnly": "npm run build",
"prepare": "husky",
"version": "node scripts/sync-version.js && git add lib/version.ts"
},
"lint-staged": {
"*.{js,json,md,ts,yml,yaml}": "prettier --write",
"*.ts": "eslint --fix"
}
}