UNPKG

json-arraybuffer-reviver

Version:

Utility functions for JSON.parse and JSON.stringify to work with typed arrays and array buffers.

59 lines (58 loc) 1.69 kB
{ "name": "json-arraybuffer-reviver", "version": "2.0.0", "description": "Utility functions for JSON.parse and JSON.stringify to work with typed arrays and array buffers.", "type": "module", "main": "dist/main/", "module": "dist/module/", "typings": "dist/typings/", "exports": { "require": "./dist/main/index.js", "import": "./dist/module/index.js" }, "sideEffects": false, "scripts": { "remove-source-typing": "del dist/*.d.ts", "build": "npm run clean && npm run compile && npm run rollup && npm run remove-source-typing", "compile": "tsc", "clean": "del dist", "lint": "eslint lib/*.js tests/*.js", "rollup": "rollup -c", "test": "npm run build && c8 ava --timeout='60s' tests/*.js" }, "repository": { "type": "git", "url": "git+https://gitlab.com/monsterbitar/json-arraybuffer-reviver.git" }, "keywords": [ "json", "arraybuffer", "replacer", "reviver" ], "files": [ "dist" ], "author": "Jonathan Silverblood", "license": "MIT", "bugs": { "url": "https://gitlab.com/monsterbitar/json-arraybuffer-reviver/issues" }, "homepage": "https://gitlab.com/monsterbitar/json-arraybuffer-reviver#readme", "dependencies": { "@bitauth/libauth": "^3.0.0" }, "devDependencies": { "@generalprotocols/eslint-config": "git+https://gitlab.com/GeneralProtocols/eslint-config.git", "@typescript-eslint/eslint-plugin": "^4.11.1", "ava": "^3.14.0", "c8": "^7.4.0", "del-cli": "^3.0.1", "eslint": "^7.16.0", "eslint-plugin-import": "^2.22.1", "replace": "^1.2.0", "rollup": "^2.35.1", "rollup-plugin-dts": "^1.4.14", "typescript": "^4.1.3" } }