-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.84 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 1.84 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
{
"name": "pxcontrol-sdk",
"version": "0.1.3",
"description": "PXControl SDK — remote application lifecycle control middleware for Node.js (Express, Fastify, NestJS).",
"license": "MIT",
"author": "PXControl",
"homepage": "https://github.com/Codefied-CodePix/px-sdk-node#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Codefied-CodePix/px-sdk-node.git"
},
"bugs": {
"url": "https://github.com/Codefied-CodePix/px-sdk-node/issues"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --minify --clean",
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
"test": "vitest run",
"lint": "tsc --noEmit",
"verify:version": "node -e \"const p=require('./package.json'),f=require('fs').readFileSync('src/version.ts','utf8');const m=f.match(/SDK_VERSION = '([^']+)'/);if(!m||m[1]!==p.version){console.error('version.ts ('+m?.[1]+') does not match package.json ('+p.version+')');process.exit(1);}\"",
"prepublishOnly": "npm run verify:version && npm run lint && npm run build"
},
"keywords": [
"pxcontrol",
"middleware",
"health",
"monitoring",
"kill-switch",
"lifecycle",
"feature-flag",
"circuit-breaker",
"express",
"fastify",
"nestjs",
"websocket",
"remote-control"
],
"engines": {
"node": ">=18"
},
"dependencies": {
"ws": "^8.17.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/ws": "^8.5.10",
"tsup": "^8.0.0",
"typescript": "^5.4.0",
"vitest": "^2.0.0"
}
}