UNPKG

json-helpers

Version:

JSON stringify/parser managing 'undefined, Date and Buffer.

72 lines (71 loc) 2.46 kB
{ "name": "json-helpers", "version": "5.2.1", "description": "JSON stringify/parser managing 'undefined, Date and Buffer.", "repository": { "type": "git", "url": "git+https://github.com/emmkimme/json-helpers.git" }, "keywords": [ "json", "serialize", "serializer", "deserialize", "deserializer", "reviver", "replacer", "parse", "parser", "node", "stringify", "Buffer", "Date", "undefined", "Uint8Array" ], "author": "Emmanuel Kimmerlin", "license": "MIT", "bugs": { "url": "https://github.com/emmkimme/json-helpers/issues" }, "homepage": "https://github.com/emmkimme/json-helpers#readme", "maintainers": [ { "name": "Emmanuel Kimmerlin", "email": "emmanuel.kimmerlin@refinitiv.com" } ], "main": "./lib/json-helpers.js", "browser": "./lib/json-helpers-browser.js", "types": "./lib/json-helpers.d.ts", "devDependencies": { "@types/node": "14.14.37", "browserify": "^17.0.0", "chai": "^4.3.4", "del": "^6.0.0", "del-cli": "^3.0.1", "dts-bundle": "^0.7.3", "mocha": "^8.3.2", "npm-run-all": "^4.1.5", "sinon": "^10.0.0", "tslint": "^6.1.0", "tslint-microsoft-contrib": "^6.2.0", "typescript": "^4.5.4" }, "scripts": { "clean": "del-cli ./lib ./build ./dist", "build": "npm run build-js && npm run build-declaration && npm run browserify-test", "build-js": "tsc -p ./tsconfig/tsconfig-js.json", "build-declaration": "npm run build-declaration-ts && npm run build-declaration-dts-bundle && npm run build-declaration-dts-bundle-browser && npm run clean-declaration-dts", "build-declaration-ts": "tsc -p ./tsconfig/tsconfig-declaration.json", "build-declaration-dts-bundle": "dts-bundle --outputAsModuleFolder --name json-helpers --main ./lib/json-helpers.d.ts", "build-declaration-dts-bundle-browser": "dts-bundle --outputAsModuleFolder --name json-helpers-browser --main ./lib/json-helpers-browser.d.ts", "clean-declaration-dts": "del-cli ./lib/code/*.d.ts", "browserify-test": "npm run browserify-browser-test-js", "browserify-browser-test-js": "browserify -o ./test/browser-tests/browser-test.bundle.js -x electron ./test/browser-tests/browser-test.js", "test": "mocha test/*.test.js --slow 0 --recursive --no-timeouts", "tsc": "tsc", "tslint": "tslint", "deploy": "npm publish ./ --registry https://registry.npmjs.org/" } }