{ "name": "sidecar", "version": "0.17.16", "description": "Sidecar is for easy hook/call in-process functions with TypeScript annotations.", "type": "module", "exports": { ".": { "import": "./dist/esm/src/mod.js", "require": "./dist/cjs/src/mod.js" } }, "typings": "./dist/esm/src/mod.d.ts", "engines": { "node": ">=14" }, "bin": { "sidecar-dump": "dist/esm/bin/sidecar-dump.js" }, "scripts": { "clean": "shx rm -fr dist/*", "dist": "npm-run-all clean build dist:commonjs dist:copy", "build": "tsc && tsc -p tsconfig.cjs.json", "dist:commonjs": "jq -n \"{ type: \\\"commonjs\\\" }\" > dist/cjs/package.json", "dist:copy": "npm-run-all copy:esm copy:cjs", "copy:esm": "shx cp -R commonjs/ dist/esm/ && shx cp -R src/agent/templates/{libs,*.mustache} dist/esm/src/agent/templates/", "copy:cjs": "shx cp -R commonjs/ dist/cjs/ && shx cp -R src/agent/templates/{libs,*.mustache} dist/cjs/src/agent/templates/", "lint": "npm run lint:es && npm run lint:ts", "lint:ts": "tsc --isolatedModules --noEmit", "start": "npm run example", "example": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm --experimental-vm-modules\" node examples/main.ts", "chatbox": "cd examples/chatbox && make", "postinstall": "node scripts/post-install.cjs", "test": "npm run lint && npm run test:unit", "test:unit": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm --experimental-vm-modules\" tap \"src/**/*.spec.ts\" \"tests/**/*.spec.ts\"", "test:unit:debug": "cross-env BROLOG_LEVEL=silly npm run test:unit", "test:pack": "bash -x scripts/npm-pack-testing.sh", "lint:es": "eslint --ignore-pattern fixtures/ \"src/**/*.ts\" \"tests/**/*.ts\"" }, "repository": { "type": "git", "url": "git+https://github.com/huan/sidecar.git" }, "keywords": [ "frida", "hook" ], "author": "Huan ", "license": "Apache-2.0", "bugs": { "url": "https://github.com/huan/sidecar/issues" }, "homepage": "https://github.com/huan/sidecar#readme", "devDependencies": { "@chatie/eslint-config": "^0.14.1", "@chatie/git-scripts": "^0.6.2", "@chatie/semver": "^0.4.7", "@chatie/tsconfig": "^0.20.2", "@types/mustache": "^4.1.1", "@types/node": "^16.0.0", "@types/string-similarity": "^4.0.0", "cross-env": "^7.0.3", "frida-compile": "^10.2.4", "npm-run-all": "^4.1.5", "pkg-jq": "^0.2.11", "shx": "^0.3.3", "string-similarity": "^4.0.4", "tstest": "^0.5.16", "typescript": "^4.4.2" }, "dependencies": { "@types/frida-gum": "^17.0.0", "brolog": "^1.12.4", "cmd-ts": "^0.7.0", "cross-spawn": "^7.0.3", "frida": "^15.0.12", "mustache": "^4.2.0", "pkg-dir": "^5.0.0", "reflect-metadata": "^0.1.13", "typed-emitter": "^1.3.1" }, "git": { "scripts": { "pre-push": "npx git-scripts-pre-push" } }, "publishConfig": { "tag": "next" }, "files": [ "dist/", "scripts/", "src/" ], "tap": { "check-coverage": false } }