164 lines
4.1 KiB
JSON
164 lines
4.1 KiB
JSON
{
|
|
"name": "lockfile-lint",
|
|
"version": "4.13.2",
|
|
"description": "A CLI to lint a lockfile for security policies",
|
|
"bin": {
|
|
"lockfile-lint": "./bin/lockfile-lint.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier-standard \"**/*.js\"",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"coverage:view": "open-cli coverage/lcov-report/index.html",
|
|
"commit": "git-cz",
|
|
"docs": "yarn run docs:code && yarn run docs:api",
|
|
"docs:api": "doxdox *.js --layout bootstrap --output docs/index.html",
|
|
"docs:code": "docco *.js --output docs/code"
|
|
},
|
|
"author": {
|
|
"name": "Liran Tal",
|
|
"email": "liran.tal@gmail.com",
|
|
"url": "https://github.com/lirantal"
|
|
},
|
|
"files": [
|
|
"bin/*.js",
|
|
"src/**/*.js"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"lockfile check",
|
|
"lockfile lint",
|
|
"lockfile",
|
|
"lock",
|
|
"lint",
|
|
"yarn",
|
|
"npm",
|
|
"linter",
|
|
"security",
|
|
"parse"
|
|
],
|
|
"homepage": "https://github.com/lirantal/lockfile-lint/tree/master/packages/lockfile-lint",
|
|
"bugs": {
|
|
"url": "https://github.com/lirantal/lockfile-lint/tree/master/packages/lockfile-lint/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/lirantal/lockfile-lint.git",
|
|
"directory": "packages/lockfile-lint"
|
|
},
|
|
"dependencies": {
|
|
"cosmiconfig": "^8.2.0",
|
|
"debug": "^4.3.4",
|
|
"fast-glob": "^3.3.1",
|
|
"lockfile-lint-api": "^5.9.1",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-plugin-syntax-async-functions": "^6.13.0",
|
|
"babel-plugin-transform-regenerator": "^6.26.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"docco": "^0.9.1",
|
|
"doxdox": "3.0.0",
|
|
"eslint": "^8.46.0",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-plugin-import": "^2.28.0",
|
|
"eslint-plugin-jest": "^27.2.3",
|
|
"eslint-plugin-node": "11.1.0",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"eslint-plugin-security": "^1.7.1",
|
|
"eslint-plugin-standard": "^4.1.0",
|
|
"jest": "29.6.2",
|
|
"open-cli": "^7.2.0",
|
|
"prettier-standard": "16.4.1",
|
|
"semver": "^7.5.4"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"verbose": true,
|
|
"notify": true,
|
|
"collectCoverage": true,
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 80,
|
|
"functions": 80,
|
|
"lines": 80,
|
|
"statements": 80
|
|
}
|
|
},
|
|
"testPathIgnorePatterns": [
|
|
"/__tests__/.*/__fixtures__/.*"
|
|
],
|
|
"collectCoverageFrom": [
|
|
"index.js",
|
|
"src/**/*.{js,ts}"
|
|
],
|
|
"testMatch": [
|
|
"**/*.test.js"
|
|
]
|
|
},
|
|
"standard": {
|
|
"env": [
|
|
"jest"
|
|
],
|
|
"parser": "babel-eslint",
|
|
"ignore": [
|
|
"**/out/"
|
|
]
|
|
},
|
|
"eslintIgnore": [
|
|
"coverage/**"
|
|
],
|
|
"eslintConfig": {
|
|
"env": {
|
|
"node": true,
|
|
"es6": true,
|
|
"jest": true
|
|
},
|
|
"plugins": [
|
|
"import",
|
|
"standard",
|
|
"node",
|
|
"security",
|
|
"jest"
|
|
],
|
|
"extends": [
|
|
"standard",
|
|
"plugin:node/recommended"
|
|
],
|
|
"rules": {
|
|
"no-process-exit": "warn",
|
|
"jest/no-disabled-tests": "error",
|
|
"jest/no-focused-tests": "error",
|
|
"jest/no-identical-title": "error",
|
|
"node/no-unsupported-features": "off",
|
|
"node/no-unpublished-require": "off",
|
|
"security/detect-non-literal-fs-filename": "error",
|
|
"security/detect-unsafe-regex": "error",
|
|
"security/detect-buffer-noassert": "error",
|
|
"security/detect-child-process": "error",
|
|
"security/detect-disable-mustache-escape": "error",
|
|
"security/detect-eval-with-expression": "error",
|
|
"security/detect-no-csrf-before-method-override": "error",
|
|
"security/detect-non-literal-regexp": "error",
|
|
"security/detect-object-injection": "warn",
|
|
"security/detect-possible-timing-attacks": "error",
|
|
"security/detect-pseudoRandomBytes": "error",
|
|
"space-before-function-paren": "off",
|
|
"object-curly-spacing": "off"
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 8,
|
|
"ecmaFeatures": {
|
|
"impliedStrict": true
|
|
}
|
|
}
|
|
}
|
|
}
|