-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.42 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 2.42 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
{
"name": "@balena/compose-parser",
"version": "0.2.6",
"description": "Wraps compose-go to parse balena-compatible docker-compose.yml files",
"scripts": {
"clean": "rimraf dist",
"lint": "balena-lint lib/ test/ scripts/*.js && tsc --noEmit",
"lint-fix": "balena-lint --fix lib/ test/ scripts/*.js",
"build": "npm run clean && tsc --project tsconfig.release.json",
"build:go": "echo 'Building Go binary from source...' && CGO_ENABLED=0 go build -C lib -ldflags='-s -w' -o \"../bin/balena-compose-parser$(go env GOEXE)\"",
"test": "npm run lint && npm run test:unit",
"test:unit": "ts-mocha 'test/**/*unit.spec.ts'",
"test:integration": "ts-mocha 'test/**/*.spec.ts'",
"test:compose": "(docker compose -f docker-compose.test.yml run --build --rm sut || docker compose -f docker-compose.test.yml logs); npm run compose:down",
"compose:down": "docker compose -f docker-compose.test.yml down --volumes",
"prepack": "npm run build",
"postinstall": "node scripts/fetch-binary.js || npm run build:go"
},
"files": [
"dist/",
"lib/go.mod",
"lib/go.sum",
"lib/main.go",
"scripts/fetch-binary.js"
],
"repository": {
"type": "git",
"url": "git+https://github.com/balena-io-modules/balena-compose-parser.git"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/balena-io-modules/balena-compose-parser/issues"
},
"homepage": "https://github.com/balena-io-modules/balena-compose-parser#readme",
"engines": {
"node": ">= 22.14.0",
"npm": ">= 11.5.1"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"binary": {
"moduleName": "balena-compose-parser",
"modulePath": "bin/",
"packageName": "balena-compose-parser-{platform}-{arch}.tar.gz",
"remotePath": "https://github.com/balena-io-modules/balena-compose-parser/releases/download/v{version}/"
},
"devDependencies": {
"@balena/lint": "^9.3.3",
"@types/chai": "^5.2.2",
"@types/mocha": "^10.0.10",
"@types/node": "^24.3.1",
"@types/semver": "^7.7.1",
"@types/sinon": "^17.0.4",
"chai": "^6.0.1",
"mocha": "^11.7.2",
"rimraf": "^6.0.1",
"sinon": "^21.0.0",
"ts-mocha": "^11.1.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.2"
},
"dependencies": {
"semver": "^7.7.2",
"tar": "^7.5.1",
"typed-error": "^3.2.2"
},
"versionist": {
"publishedAt": "2026-05-28T19:39:15.924Z"
}
}