UNPKG

immutability-helper

Version:

mutate a copy of data without changing the original source

63 lines (62 loc) 1.66 kB
{ "name": "immutability-helper", "version": "3.1.1", "description": "mutate a copy of data without changing the original source", "main": "index.js", "typings": "index.d.ts", "scripts": { "lint": "tslint -p tsconfig.test.json", "prebuild": "rimraf index.js *.d.ts", "build": "tsc", "pretest": "rimraf ./coverage index.js", "test": "npm run lint && npm run jest && npm run smoke-test", "jest": "jest --coverage", "prewatch": "npm run lint", "watch": "jest --watch test.ts", "presmoke-test": "npm run build && rimraf smoke-test", "smoke-test": "node smoke-test.js", "postsmoke-test": "rimraf smoke-test index.js", "prepublishOnly": "npm run build" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "verbose": true, "coverageDirectory": "coverage", "coverageReporters": [ "lcov", "text" ], "coverageThreshold": { "global": { "branches": 100, "functions": 100, "lines": 100, "statements": 100 } } }, "keywords": [ "immutability" ], "author": "Moshe Kolodny", "license": "MIT", "devDependencies": { "@types/invariant": "^2.2.29", "@types/jest": "^23.3.10", "coveralls": "^3.0.2", "jest": "^24.8.0", "rimraf": "^2.6.2", "ts-jest": "^23.10.5", "tslint": "^5.11.0", "typescript": "^3.8.3" }, "repository": { "type": "git", "url": "git+https://github.com/kolodny/immutability-helper.git" }, "bugs": { "url": "https://github.com/kolodny/immutability-helper/issues" }, "homepage": "https://github.com/kolodny/immutability-helper#readme" }