-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
65 lines (65 loc) · 1.81 KB
/
package.json
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
{
"name": "apns2",
"version": "12.1.0-beta.2",
"description": "Node client for connecting to Apple's Push Notification Service using the new HTTP/2 protocol with JSON web tokens.",
"author": "Andrew Barba <[email protected]>",
"license": "MIT",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/index.d.ts"
}
},
"engines": {
"node": ">=20"
},
"repository": {
"url": "https://github.com/AndrewBarba/apns2"
},
"files": ["dist", "dist/cjs", "dist/esm"],
"keywords": [
"apn",
"apns",
"apns2",
"push",
"notification",
"http2",
"jwt",
"apple",
"ios",
"macos",
"tvos",
"watchos"
],
"dependencies": {
"fast-jwt": "^5.0.0",
"undici": "^7.0.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^22.10.0",
"chai": "^5.1.2",
"dotenv": "^16.4.5",
"typescript": "^5.7.2",
"vitest": "^2.1.6"
},
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:package-files",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:package-files": "npm run build:package-files:cjs && npm run build:package-files:esm",
"build:package-files:cjs": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"build:package-files:esm": "echo '{\"type\":\"module\"}' > dist/esm/package.json",
"lint": "biome ci src test",
"lint:format": "biome format --write src test",
"lint:check": "biome check --write --unsafe src test",
"test": "vitest --run --dir test"
}
}