node-dump-syms
Version:
Neon wrapper for Mozilla's dump_syms
80 lines (79 loc) • 2.82 kB
JSON
{
"name": "node-dump-syms",
"version": "3.0.11",
"description": "Neon wrapper for Mozilla's dump_syms",
"main": "./dist/index.js",
"bin": {
"node-dump-syms": "./dist/bin/index.js"
},
"scripts": {
"start": "ts-node ./bin/index.ts RUST_BACKTRACE=1 ./spec/test_data/linux/my-ubuntu-crasher ./out/my-ubuntu-crasher.sym",
"prestart": "npm run build:debug && npm run pretest",
"prebuild": "npm run clean",
"build": "npm run build:tsc && npm run build:rust-release",
"build:client": "npm run build:rust-release && npm run copy:rust",
"postbuild:client": "npx rimraf target && npx rimraf native",
"build:debug": "npm run build:tsc && npm run build:rust-debug",
"build:rust": "npx cargo-cp-artifact -nc 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",
"build:tsc": "npx tsc",
"clean": "rimraf dist && rimraf native && mkdirp dist && mkdirp native",
"copy:rust": "npx copyfiles native/index.node dist",
"pretest": "rimraf out && mkdirp out",
"test": "npm run test:rust && npm run test:tsc",
"pretest:rust": "npm run build:rust-debug",
"test:rust": "cargo test",
"test:tsc": "ts-node ./node_modules/.bin/jasmine",
"install": "npx @mapbox/node-pre-gyp install --fallback-to-build=false || npm run build:client",
"preupload-binary": "rimraf build && npm run build && npm run copy:rust",
"upload-binary": "node-pre-gyp package && node-pre-gyp-github publish",
"postupload-binary": "rimraf dist/native",
"prerelease": "npm run build",
"release": "npm publish --access public"
},
"files": [
"dist",
"src",
"Cargo.toml"
],
"binary": {
"module_name": "index",
"module_path": "./dist/native",
"host": "https://github.com/BugSplat-Git/node-dump-syms/releases/download/",
"remote_path": "v{version}",
"package_name": "{node_abi}-{platform}-{arch}.tar.gz"
},
"author": "@bobbyg603",
"license": "MIT",
"devDependencies": {
"@bugsplat/node-pre-gyp-github": "^1.4.5",
"@mapbox/node-pre-gyp": "^1.0.11",
"@types/jasmine": "^5.1.4",
"@types/node": "^20.17.32",
"cargo-cp-artifact": "^0.1.9",
"copyfiles": "^2.4.1",
"jasmine": "^5.1.0",
"mkdirp": "^3.0.1",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2",
"typescript": "^5.4.2"
},
"repository": {
"type": "git",
"url": "https://github.com/BugSplat-Git/node-dump-syms.git"
},
"keywords": [
"breakpad",
"crashpad",
"sym",
"mozilla",
"minidump",
"crash",
"bugsplat"
],
"bugs": {
"url": "https://github.com/BugSplat-Git/node-dump-syms/issues"
},
"homepage": "https://github.com/BugSplat-Git/node-dump-syms#readme"
}