UNPKG

@mzvonar/setin

Version:

Sets value to object according to provided path and returns copy

42 lines (41 loc) 998 B
{ "name": "@mzvonar/setin", "version": "0.0.19", "description": "Sets value to object according to provided path and returns copy", "main": "dist/index.js", "scripts": { "build": "NODE_ENV=production babel index.js -d dist --ignore 'test/*' --copy-files", "prepublish": "npm run build", "test": "mocha", "cover": "nyc npm run test" }, "repository": { "type": "git", "url": "git+https://github.com/mzvonar/setIn.git" }, "files": [ "dist" ], "keywords": [ "setIn", "set", "in", "copy", "immutable" ], "author": "Martin Zvonar <riffmaker@gmail.com> (martinzvonar.sk)", "license": "MIT", "bugs": { "url": "https://github.com/mzvonar/setIn/issues" }, "homepage": "https://github.com/mzvonar/setIn#readme", "devDependencies": { "@babel/cli": "7.7.7", "@babel/core": "7.7.7", "@babel/preset-env": "7.7.7", "coveralls": "3.0.9", "expect": "1.20.2", "mocha": "^5.2.0", "nyc": "15.0.0" } }