1{
2  "name": "postject",
3  "version": "1.0.0-alpha.6",
4  "description": "Easily inject arbitrary read-only resources into executable formats (Mach-O, PE, ELF) and use it at runtime.",
5  "license": "MIT",
6  "engines": {
7    "node": ">=14.0.0"
8  },
9  "repository": {
10    "type": "git",
11    "url": "git@github.com:nodejs/postject.git"
12  },
13  "homepage": "https://github.com/nodejs/postject#readme",
14  "bin": {
15    "postject": "./dist/cli.js"
16  },
17  "main": "dist/api.js",
18  "scripts": {
19    "build": "zx ./scripts/build.mjs",
20    "clean": "rimraf ./build",
21    "format": "npm run format:cpp && npm run format:js",
22    "format:cpp": "clang-format -style=chromium -i postject-api.h src/**.cpp test/**.c test/**.cpp",
23    "format:js": "prettier --write src/**.js scripts/**.mjs test/**.mjs",
24    "lint": "npm run lint:cpp && npm run lint:js",
25    "lint:cpp": "clang-format -style=chromium --dry-run --Werror postject-api.h src/**.cpp test/**.c test/**.cpp",
26    "lint:js": "prettier --check src/**.js scripts/**.mjs test/**.mjs",
27    "test": "mocha"
28  },
29  "dependencies": {
30    "commander": "^9.4.0"
31  },
32  "devDependencies": {
33    "chai": "^4.3.6",
34    "chai-as-promised": "^7.1.1",
35    "clang-format": "^1.8.0",
36    "esbuild": "^0.15.10",
37    "fs-extra": "^10.1.0",
38    "mocha": "^10.0.0",
39    "mocha-junit-reporter": "^2.0.2",
40    "prettier": "^2.7.1",
41    "rimraf": "^3.0.2",
42    "tempy": "^3.0.0",
43    "zx": "^7.1.1"
44  }
45}
46