deep-for-each
Version:
Recursively iterates over arrays and objects
77 lines (76 loc) • 1.82 kB
JSON
{
"name": "deep-for-each",
"version": "3.0.0",
"description": "Recursively iterates over arrays and objects",
"keywords": [
"foreach",
"for-each",
"deep",
"array",
"object",
"iterate",
"iterator",
"collection"
],
"author": "André Cruz <andre@moxy.studio>",
"homepage": "https://github.com/moxystudio/js-deep-for-each",
"repository": {
"type": "git",
"url": "git@github.com:moxystudio/js-deep-for-each.git"
},
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"files": [
"lib",
"es"
],
"scripts": {
"build:commonjs": "BABEL_ENV=commonjs babel src -d lib",
"build:es": "BABEL_ENV=es babel src -d es",
"build": "npm run build:commonjs && npm run build:es",
"lint": "eslint --ignore-path .gitignore .",
"test": "jest --env node --coverage",
"prerelease": "npm t && npm run lint && npm run build",
"release": "standard-version"
},
"standard-version": {
"scripts": {
"posttag": "git push --follow-tags origin master"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"babel-jest": "^24.5.0",
"babel-preset-moxy": "^3.0.4",
"eslint": "^5.15.1",
"eslint-config-moxy": "^7.0.1",
"husky": "^1.3.1",
"jest": "^24.5.0",
"lint-staged": "^8.1.5",
"standard-version": "^5.0.1"
},
"dependencies": {
"lodash.isplainobject": "^4.0.6"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
}
}