UNPKG

json-variables

Version:

Resolves custom-marked, cross-referenced paths in parsed JSON

94 lines (93 loc) 2.56 kB
{ "name": "json-variables", "version": "12.0.23", "description": "Resolves custom-marked, cross-referenced paths in parsed JSON", "keywords": [ "comb", "files", "fill", "json", "keys", "keyset", "normalise", "normalize", "postprocessor", "preprocessor", "process", "processor", "same", "schema", "templating", "variable", "variables" ], "homepage": "https://codsen.com/os/json-variables", "repository": { "type": "git", "url": "git+https://github.com/codsen/codsen.git", "directory": "packages/json-variables" }, "license": "MIT", "author": { "name": "Roy Revelt", "email": "roy@codsen.com", "url": "https://codsen.com" }, "type": "module", "exports": { "types": "./types/index.d.ts", "script": "./dist/json-variables.umd.js", "default": "./dist/json-variables.esm.js" }, "types": "types/index.d.ts", "scripts": { "build": "node '../../ops/scripts/esbuild.js' && npm run dts", "cjs-off": "exit 0", "cjs-on": "exit 0", "dev": "DEV=true node '../../ops/scripts/esbuild.js' && npm run dts", "devtest": "c8 npm run unit && npm run examples && npm run lint", "dts": "rollup -c && npm run prettier -- 'types/index.d.ts' --write --log-level 'silent'", "examples": "node '../../ops/scripts/run-examples.js'", "lect": "node '../../ops/lect/lect.js' && npm run prettier -- 'README.md' '.all-contributorsrc' 'rollup.config.js' --write", "letspublish": "npm publish || :", "lint": "eslint . --fix", "perf": "node perf/check.js", "prep": "echo 'ready'", "prettier": "prettier", "prettier:format": "npm run prettier -- --write '**/*.{ts,tsx,md}' --no-error-on-unmatched-pattern --log-level 'silent'", "pretest": "npm run lect && npm run build", "test": "npm run devtest", "unit": "uvu test" }, "engines": { "node": ">=14.18.0" }, "c8": { "check-coverage": true, "exclude": [ "**/test/**/*.*" ], "lines": 100 }, "lect": { "licence": { "extras": [ "" ] }, "various": {} }, "dependencies": { "arrayiffy-if-string": "^5.0.10", "ast-get-values-by-key": "^5.0.22", "ast-monkey-traverse": "^4.0.20", "codsen-utils": "^1.6.8", "matcher": "^5.0.0", "object-path": "^0.11.8", "ranges-apply": "^7.0.20", "ranges-push": "^7.0.19", "string-find-heads-tails": "^6.0.23", "string-match-left-right": "^9.0.23", "string-remove-duplicate-heads-tails": "^7.0.23" } }