safe-clone-deep
Version:
Safely deep clone an object. Will not clone nested objects.
57 lines (56 loc) • 1.94 kB
JSON
{
"name": "safe-clone-deep",
"version": "1.1.5",
"description": "Safely deep clone an object. Will not clone nested objects.",
"main": "src/index.js",
"browser": "src/browser-index.js",
"scripts": {
"jshint": "npm run jshint-src && npm run jshint-test",
"jshint-src": "jshint --config .jshintrc src",
"jshint-test": "jshint --config ./test/.jshintrc test",
"mocha": "mocha -R spec --recursive ./test/",
"cover": "istanbul cover ./node_modules/mocha/bin/_mocha",
"check-cov": "istanbul check-coverage --statements 100 --functions 100 --branches 100 --lines 100",
"report": "istanbul report cobertura",
"test": "npm run jshint && npm run cover && npm run report && npm run check-cov || node scripts/tests-failed",
"build": "gulp",
"publish-major": "npm version major && npm publish && git push origin master && git push origin --tags",
"publish-minor": "npm version minor && npm publish && git push origin master && git push origin --tags",
"publish-patch": "npm version patch && npm publish && git push origin master && git push origin --tags"
},
"repository": {
"type": "git",
"url": "https://github.com/tracker1/safe-clone-deep.git"
},
"keywords": [
"javascript",
"object",
"clone",
"copy",
"deep",
"safe",
"recursive"
],
"author": "Michael J. Ryan <tracker1@gmail.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/tracker1/safe-clone-deep/issues"
},
"homepage": "https://github.com/tracker1/safe-clone-deep",
"devDependencies": {
"ansi": "^0.3.0",
"browserify": "^6.1.0",
"chai": "^1.9.1",
"gulp": "^3.8.9",
"gulp-header": "^1.2.2",
"gulp-notify": "^2.0.0",
"gulp-rename": "^1.2.0",
"gulp-uglify": "^1.0.1",
"istanbul": "^0.3.0",
"jshint": "^2.5.4",
"mocha": "^1.21.4",
"open": "0.0.5",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.0.0"
}
}