-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 3.59 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 3.59 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
{
"name": "bkper",
"version": "4.12.22",
"description": "Command line client for Bkper",
"bin": {
"bkper": "./lib/cli.js"
},
"repository": "https://github.com/bkper/bkper-cli.git",
"homepage": "https://bkper.com/docs",
"author": "mael <mael@bkper.com>",
"license": "Apache-2.0",
"private": false,
"main": "./lib/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": "./lib/index.js",
"./dev": "./lib/dev/auth-middleware.js"
},
"type": "module",
"engines": {
"node": ">=18"
},
"files": [
"lib/**/*"
],
"scripts": {
"clean": "rm -rf ./lib & rm -rf ./node_modules & wait",
"sync:docs": "bun ./scripts/sync-docs.ts",
"generate:skill": "bun ./scripts/generate-skill.ts",
"prebuild": "bun install && bun sync:docs",
"build": "run-s build:clean build:compile build:copy-docs",
"build:clean": "gts clean && rimraf temp",
"build:compile": "tsc",
"build:copy-docs": "mkdir -p lib/docs && cp -f docs/*.md lib/docs/ 2>/dev/null || true && cp -f README.md lib/docs/cli-reference.md",
"api:platform": "openapi-typescript https://platform.bkper.app/openapi.json -o src/platform/types.d.ts",
"api:platform:local": "openapi-typescript http://localhost:8790/openapi.json -o src/platform/types.d.ts",
"predev": "bun run build",
"dev": "tsc -w",
"ports": "devpod ssh ../ -L 6274",
"test": "TS_NODE_PROJECT=tsconfig.test.json mocha",
"test:unit": "TS_NODE_PROJECT=tsconfig.test.json mocha --config .mocharc.json",
"test:integration": "BKPER_API_URL=${BKPER_API_URL:-http://localhost:8081/_ah/api/bkper} TS_NODE_PROJECT=tsconfig.test.json mocha --config .mocharc.integration.json",
"test:deploy": "BKPER_PLATFORM_URL=http://localhost:8790 BKPER_API_URL=https://api-dev.bkper.app TS_NODE_PROJECT=tsconfig.test.json mocha --config .mocharc.deploy.json",
"test:all": "bun run test:unit && bun run test:integration",
"release:patch": "npm version patch -m \"chore(release): v%s\"",
"release:minor": "npm version minor -m \"chore(release): v%s\"",
"release:major": "npm version major -m \"chore(release): v%s\"",
"docs:compliance": "TS_NODE_PROJECT=tsconfig.test.json node --loader ts-node/esm ./test/tools/docs-compliance/check.ts",
"docs:compliance:live": "TS_NODE_PROJECT=tsconfig.test.json node --loader ts-node/esm ./test/tools/docs-compliance/live.ts",
"upgrade:api": "bun update @bkper/bkper-api-types --latest && bun update bkper-js --latest"
},
"dependencies": {
"@mariozechner/pi-coding-agent": "0.70.0",
"bkper-js": "^2.32.2",
"commander": "^13.1.0",
"dotenv": "^8.2.0",
"esbuild": "^0.27.2",
"google-auth-library": "^10.5.0",
"open": "^10.1.0",
"openapi-fetch": "^0.15.0",
"tar": "^7.0.0",
"yaml": "^2.5.1"
},
"devDependencies": {
"@bkper/bkper-api-types": "^5.36.0",
"@types/chai": "^4.3.0",
"@types/mocha": "^10.0.0",
"@types/node": "^22.5.1",
"@types/sinon": "^21.0.0",
"chai": "^4.3.0",
"concurrently": "^8.2.2",
"get-port": "^7.1.0",
"gts": "^3.0.3",
"miniflare": "^4",
"mocha": "^10.0.0",
"nodemon": "^3.0.1",
"npm-run-all": "^4.1.5",
"openapi-typescript": "^7.10.1",
"rimraf": "^3.0.2",
"sinon": "^21.0.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.5.4"
}
}