-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.09 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 3.09 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
{
"name": "librus-sdk",
"version": "0.3.2",
"description": "TypeScript SDK and CLI for the Librus family portal flow.",
"author": "Andrey Koltsov",
"repository": {
"type": "git",
"url": "git+https://github.com/andrewkoltsov/librus-sdk.git"
},
"homepage": "https://github.com/andrewkoltsov/librus-sdk#readme",
"bugs": {
"url": "https://github.com/andrewkoltsov/librus-sdk/issues"
},
"type": "module",
"main": "dist/sdk/index.js",
"types": "dist/sdk/index.d.ts",
"bin": {
"librus": "dist/cli/main.js"
},
"exports": {
".": {
"types": "./dist/sdk/index.d.ts",
"import": "./dist/sdk/index.js"
},
"./openapi.json": "./openapi.json"
},
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"cli": "tsx src/cli/main.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"openapi:check": "tsx ./scripts/generate-openapi.ts --check",
"openapi:generate": "tsx ./scripts/generate-openapi.ts",
"format": "prettier --write .",
"format:check": "prettier --check .",
"pack:check": "node ./scripts/pack-check.mjs",
"report:integration": "npm run build && node --env-file=.env.integration.local test/integration/report-all.mjs",
"report:integration:cli": "npm run build && node --env-file=.env.integration.local test/integration/report-cli.mjs",
"report:integration:sdk": "npm run build && node --env-file=.env.integration.local test/integration/report-sdk.mjs",
"validate": "npm run lint && npm run format:check && npm run build && npm run test:coverage && npm run pack:check",
"prepublishOnly": "npm run validate",
"prepare": "husky",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:integration": "npm run build && node --env-file=.env.integration.local --test test/integration/*.integration.test.mjs",
"test:integration:cli": "npm run build && node --env-file=.env.integration.local --test test/integration/cli.integration.test.mjs",
"test:integration:sdk": "npm run build && node --env-file=.env.integration.local --test test/integration/sdk.integration.test.mjs"
},
"files": [
"dist",
"openapi.json",
"README.md",
"LICENSE"
],
"keywords": [
"librus",
"sdk",
"cli",
"typescript"
],
"license": "MIT",
"dependencies": {
"@valibot/to-json-schema": "^1.6.0",
"cliui": "^9.0.1",
"commander": "^14.0.0",
"dotenv": "^17.2.3",
"fetch-cookie": "^3.1.0",
"parse5": "^8.0.0",
"tough-cookie": "^6.0.1",
"valibot": "^1.3.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^25.5.0",
"@vitest/coverage-v8": "^4.1.2",
"eslint": "^10.1.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.4.0",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1",
"tsx": "^4.20.5",
"typescript": "^6.0.2",
"typescript-eslint": "^8.57.2",
"vitest": "^4.1.2"
},
"lint-staged": {
"*.{ts,mts,cts,js,mjs,cjs}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
}
}