Zelgadis87/ML.js

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@zelgadis87/ml.js",
  "version": "1.3.0",
  "description": "A module loader with dependency injection",
  "main": "src/index.js",
  "scripts": {
    "lint": "npm run lint:eslint",
    "test": "npm run lint:eslint:strict && npm run coverage",
    "versionate": "npx @zelgadis87/npm-versionator",
    "lint:fix": "npm run lint:eslint -- --fix",
    "lint:eslint": "npx eslint -c .eslintrc ./src/**/*.js ./test/**/*.spec.js",
    "lint:eslint:strict": "npm run lint:eslint -- --rule=mocha/no-exclusive-tests:error --rule=mocha/no-pending-tests:error --rule=mocha/no-skipped-tests:error",
    "test:run": "mocha ./test/**/*.spec.js",
    "test:bail": "npm run test:run -- --bail",
    "test:watch": "npm run test:run -- --watch",
    "test:watch:bail": "npm run test:run -- --watch --bail",
    "coverage": "npx nyc --all --include=*.js --include=src/**/*.js --reporter=lcov --reporter=text mocha ./test/**/*.spec.js",
    "coverage:html": "npx nyc --all --include=*.js --include=src/**/*.js --reporter=html npm run test:run && start coverage/index.html"
  },
  "author": "Zelgadis87",
  "license": "ISC",
  "keywords": [
    "module",
    "module-loader",
    "dependency-injection",
    "ioc"
  ],
  "dependencies": {
    "bluebird": "^3.7.2",
    "lodash": "^4.17.15",
    "parse-function": "^5.6.10"
  },
  "devDependencies": {
    "@zelgadis87/npm-versionator": "^1.0.5",
    "chai": "^4.2.0",
    "chai-as-promised": "^7.1.1",
    "codecov": "^3.7.0",
    "eslint": "^7.2.0",
    "eslint-plugin-mocha": "^7.0.1",
    "mocha": "^8.0.1",
    "nyc": "^15.1.0"
  },
  "nyc": {
    "exclude": [
      "**/*.spec.js",
      "test/files/**"
    ]
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Zelgadis87/ML.js.git"
  },
  "bugs": {
    "url": "https://github.com/Zelgadis87/ML.js/issues"
  },
  "homepage": "https://github.com/Zelgadis87/ML.js#readme"
}