-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
67 lines (67 loc) · 2.41 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
66
67
{
"name": "@balena/systemd",
"version": "0.5.1",
"description": "Essential systemd D-Bus bindings for Node.js",
"homepage": "https://github.com/balena-io-modules/systemd#readme",
"main": "build/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/balena-io-modules/systemd.git"
},
"bugs": {
"url": "https://github.com/balena-io-modules/systemd/issues"
},
"files": [
"build/",
"src/",
"typings/",
"Cargo.toml",
"Cargo.lock"
],
"scripts": {
"clean": "rimraf build native",
"lint": "balena-lint --typescript lib tests",
"lint-fix": "balena-lint --typescript --fix lib tests",
"build": "npm run build:rust && npm run build:node",
"build:node": "npm run clean && tsc --project tsconfig.release.json",
"build:rust": "RUSTFLAGS='-C target-feature=-crt-static' npx cargo-cp-artifact -ac balena-systemd ./native/index.node -- cargo build --message-format=json-render-diagnostics",
"build:rust:debug": "npm run build:rust --",
"build:rust:release": "npm run build:rust -- --release",
"install": "node-pre-gyp install --fallback-to-build=false || (npm run build:rust:release && cargo clean)",
"test": "echo 'No tests yet'",
"test:integration": "mocha -r ts-node/register --bail --reporter spec tests/**/*.spec.ts",
"test:compose": "docker compose -f docker-compose.test.yml up --build --remove-orphans --exit-code-from=sut ; npm run compose:down",
"compose:down": "docker compose -f docker-compose.test.yml down --volumes",
"prepack": "npm run build:node"
},
"author": "Balena Inc. <[email protected]>",
"license": "Apache-2.0",
"devDependencies": {
"@balena/lint": "^7.2.0",
"@types/chai": "^4.3.5",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"cargo-cp-artifact": "^0.1",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"mocha": "^10.2.0",
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"versionist": {
"publishedAt": "2024-11-18T20:29:25.557Z"
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.11"
},
"binary": {
"module_name": "index",
"module_path": "./native",
"host": "https://github.com/balena-io-modules/node-systemd/releases/download/",
"package_name": "balena-systemd-{node_abi}-{platform}-{arch}-{libc}.tar.gz",
"remote_path": "v{version}"
}
}