forked from lix-project/lix-website
157 lines
3.9 KiB
JSON
157 lines
3.9 KiB
JSON
{
|
|
"name": "lockfile-lint-api",
|
|
"version": "5.9.1",
|
|
"description": "Lint an npm or yarn lockfile to analyze and detect issues",
|
|
"main": "index.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": [
|
|
"index.js",
|
|
"src/**/*.js"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"lockfile",
|
|
"lock",
|
|
"file",
|
|
"lint",
|
|
"linter",
|
|
"parse",
|
|
"npm",
|
|
"yarn"
|
|
],
|
|
"homepage": "https://github.com/lirantal/lockfile-lint",
|
|
"bugs": {
|
|
"url": "https://github.com/lirantal/lockfile-lint/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/lirantal/lockfile-lint.git",
|
|
"directory": "packages/lockfile-lint-api"
|
|
},
|
|
"dependencies": {
|
|
"@yarnpkg/parsers": "^3.0.0-rc.48.1",
|
|
"debug": "^4.3.4",
|
|
"object-hash": "^3.0.0"
|
|
},
|
|
"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"
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
}
|