UNPKG

@sagold/json-pointer

Version:

json pointer - failsafe data retrieval from js and json objects

54 lines (53 loc) 1.54 kB
{ "name": "@sagold/json-pointer", "version": "7.2.1", "description": "json pointer - failsafe data retrieval from js and json objects", "main": "./dist/index.cjs", "types": "./dist/index.d.cts", "type": "module", "module": "./dist/index.mjs", "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.mjs" }, "./package.json": "./package.json" }, "repository": { "type": "git", "url": "git+https://github.com/sagold/json-pointer.git" }, "pre-push": [ "test" ], "scripts": { "dist": "rm -rf dist; tsdown -f esm -f cjs -f iife --minify; mv dist/index.iife.js dist/jsonPointer.js", "test": "TS_NODE_PROJECT=./test/tsconfig.json mocha 'test/**/*.test.ts'", "test:ci": "TS_NODE_PROJECT=./test/tsconfig.json DISABLE_LOG=true mocha -R json 'test/**/*.test.ts' > test-result-unit.json; exit 0", "prepublishOnly": "yarn test && yarn dist", "lint": "eslint lib && tsc", "coverage": "nyc yarn test" }, "keywords": [ "json-pointer", "json path", "data retrieval", "typescript", "RFC 6901", "make my day" ], "author": "Sascha Goldhofer <github@saschagoldhofer.de> (https://github.com/sagold/)", "license": "MIT", "devDependencies": { "@eslint/js": "^9.39.2", "@types/mocha": "^10.0.10", "@types/node": "^25.0.3", "eslint": "^9.39.2", "mocha": "^11.7.5", "nyc": "^17.1.0", "tsdown": "^0.18.1", "tsx": "^4.21.0", "typescript": "^5.9.3", "typescript-eslint": "^8.5.0" } }