ybiquitous/backbone.deepmodel

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "backbone.deepmodel",
  "version": "1.2.4",
  "description": "Backbone.DeepModel plugin",
  "author": "ybiquitous <ybiquitous@gmail.com>",
  "license": "MIT",
  "repository": "ybiquitous/backbone.deepmodel",
  "homepage": "https://github.com/ybiquitous/backbone.deepmodel",
  "keywords": [
    "backbone",
    "plugin"
  ],
  "files": [
    "dist",
    "lib"
  ],
  "main": "lib/index.js",
  "engines": {
    "node": ">=6"
  },
  "scripts": {
    "test": "karma start --single-run",
    "test:watch": "karma start --auto-watch",
    "test:backbone1.2": "./scripts/test-backbone1.2",
    "lint:js": "eslint --ignore-path .gitignore --ignore-pattern docs --ext .js,.jsx,.mjs .",
    "lint:js:fix": "npm run lint:js -- --fix",
    "lint:md": "markdownlint *.md",
    "lint": "npm-run-all --print-name --print-label --parallel lint:*",
    "build": "webpack",
    "fullbuild": "npm-run-all --parallel lint test build",
    "benchmark": "node -r babel-register benchmark.js get ; echo ; node -r babel-register benchmark.js set",
    "release": "standard-version --commit-all",
    "release:dry-run": "standard-version --commit-all --dry-run",
    "postrelease": "npm run doc:publish",
    "doc": "esdoc",
    "doc:publish": "npm run doc && git add docs && git commit -m \"docs: publish\""
  },
  "peerDependencies": {
    "backbone": ">=1.2.0"
  },
  "devDependencies": {
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.2",
    "babel-plugin-add-module-exports": "^0.2.1",
    "babel-plugin-istanbul": "^4.1.5",
    "babel-plugin-transform-object-assign": "^6.22.0",
    "babel-preset-env": "^1.6.1",
    "babel-preset-power-assert": "^1.0.0",
    "babel-register": "^6.26.0",
    "backbone": "^1.3.3",
    "benchmark": "^2.1.4",
    "dotenv": "^4.0.0",
    "esdoc": "^1.0.4",
    "esdoc-standard-plugin": "^1.0.0",
    "eslint-config-ybiquitous": "^4.2.1",
    "jquery": "^3.5.0",
    "jsdom": "^11.5.1",
    "karma": "^2.0.0",
    "karma-coverage": "^1.1.1",
    "karma-jsdom-launcher": "^6.1.2",
    "karma-mocha": "^1.3.0",
    "karma-sauce-launcher": "^1.2.0",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-threshold-reporter": "^0.1.15",
    "karma-webpack": "^2.0.9",
    "markdownlint-cli": "^0.6.0",
    "mocha": "^4.1.0",
    "power-assert": "^1.4.4",
    "sinon": "^4.1.5",
    "webpack": "^3.10.0",
    "ybiq": "^1.2.0"
  },
  "lint-staged": {
    "*.{js,jsx,mjs}": [
      "eslint --fix --no-ignore",
      "git add"
    ],
    "*.md": "markdownlint"
  },
  "standard-version": {
    "message": "chore(release): new version %s",
    "scripts": {
      "postbump": "node ./scripts/update-version.js && npm run fullbuild && git add .",
      "postchangelog": "prepend CHANGELOG.md \"<!-- markdownlint-disable -->\n\"",
      "posttag": "node ./scripts/update-version.js --revert && git commit -a -m \"chore(release): revert to dummy version\""
    }
  },
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
      "pre-commit": "lint-staged"
    }
  }
}