1 | {
|
2 | "name": "lockfile-lint",
|
3 | "version": "4.3.3",
|
4 | "description": "A CLI to lint a lockfile for security policies",
|
5 | "bin": {
|
6 | "lockfile-lint": "./bin/lockfile-lint.js"
|
7 | },
|
8 | "engines": {
|
9 | "node": ">=8.0.0"
|
10 | },
|
11 | "scripts": {
|
12 | "lint": "eslint .",
|
13 | "lint:fix": "eslint . --fix",
|
14 | "format": "prettier-standard \"**/*.js\"",
|
15 | "test": "jest",
|
16 | "test:watch": "jest --watch",
|
17 | "coverage:view": "open-cli coverage/lcov-report/index.html",
|
18 | "commit": "git-cz",
|
19 | "docs": "yarn run docs:code && yarn run docs:api",
|
20 | "docs:api": "doxdox *.js --layout bootstrap --output docs/index.html",
|
21 | "docs:code": "docco *.js --output docs/code",
|
22 | "semantic-release": "semantic-release"
|
23 | },
|
24 | "author": {
|
25 | "name": "Liran Tal",
|
26 | "email": "liran.tal@gmail.com",
|
27 | "url": "https://github.com/lirantal"
|
28 | },
|
29 | "files": [
|
30 | "bin/*.js",
|
31 | "src/**/*.js"
|
32 | ],
|
33 | "license": "Apache-2.0",
|
34 | "keywords": [
|
35 | "lockfile check",
|
36 | "lockfile lint",
|
37 | "lockfile",
|
38 | "lock",
|
39 | "lint",
|
40 | "yarn",
|
41 | "npm",
|
42 | "linter",
|
43 | "security",
|
44 | "parse"
|
45 | ],
|
46 | "homepage": "https://github.com/lirantal/lockfile-lint/tree/master/packages/lockfile-lint",
|
47 | "bugs": {
|
48 | "url": "https://github.com/lirantal/lockfile-lint/tree/master/packages/lockfile-lint/issues"
|
49 | },
|
50 | "repository": {
|
51 | "type": "git",
|
52 | "url": "https://github.com/lirantal/lockfile-lint.git"
|
53 | },
|
54 | "dependencies": {
|
55 | "cosmiconfig": "^6.0.0",
|
56 | "debug": "^4.1.1",
|
57 | "lockfile-lint-api": "^5.1.5",
|
58 | "yargs": "^15.0.2"
|
59 | },
|
60 | "devDependencies": {
|
61 | "babel-eslint": "^10.0.1",
|
62 | "babel-plugin-syntax-async-functions": "^6.13.0",
|
63 | "babel-plugin-transform-regenerator": "^6.26.0",
|
64 | "babel-preset-env": "^1.6.1",
|
65 | "babel-preset-es2015": "^6.24.1",
|
66 | "docco": "^0.8.0",
|
67 | "doxdox": "3.0.0",
|
68 | "eslint": "^5.10.0",
|
69 | "eslint-config-standard": "^12.0.0",
|
70 | "eslint-plugin-import": "^2.14.0",
|
71 | "eslint-plugin-jest": "^22.1.2",
|
72 | "eslint-plugin-node": "9.1.0",
|
73 | "eslint-plugin-promise": "^4.0.1",
|
74 | "eslint-plugin-security": "^1.4.0",
|
75 | "eslint-plugin-standard": "^4.0.0",
|
76 | "jest": "24.8.0",
|
77 | "open-cli": "^5.0.0",
|
78 | "prettier-standard": "9.1.1",
|
79 | "semantic-release": "^15.3.2"
|
80 | },
|
81 | "jest": {
|
82 | "testEnvironment": "node",
|
83 | "verbose": true,
|
84 | "notify": true,
|
85 | "collectCoverage": true,
|
86 | "coverageThreshold": {
|
87 | "global": {
|
88 | "branches": 80,
|
89 | "functions": 80,
|
90 | "lines": 80,
|
91 | "statements": 80
|
92 | }
|
93 | },
|
94 | "testPathIgnorePatterns": [
|
95 | "/__tests__/.*/__fixtures__/.*"
|
96 | ],
|
97 | "collectCoverageFrom": [
|
98 | "index.js",
|
99 | "src/**/*.{js,ts}"
|
100 | ],
|
101 | "testMatch": [
|
102 | "**/*.test.js"
|
103 | ]
|
104 | },
|
105 | "standard": {
|
106 | "env": [
|
107 | "jest"
|
108 | ],
|
109 | "parser": "babel-eslint",
|
110 | "ignore": [
|
111 | "**/out/"
|
112 | ]
|
113 | },
|
114 | "eslintIgnore": [
|
115 | "coverage/**"
|
116 | ],
|
117 | "eslintConfig": {
|
118 | "env": {
|
119 | "node": true,
|
120 | "es6": true,
|
121 | "jest": true
|
122 | },
|
123 | "plugins": [
|
124 | "import",
|
125 | "standard",
|
126 | "node",
|
127 | "security",
|
128 | "jest"
|
129 | ],
|
130 | "extends": [
|
131 | "standard",
|
132 | "plugin:node/recommended"
|
133 | ],
|
134 | "rules": {
|
135 | "no-process-exit": "warn",
|
136 | "jest/no-disabled-tests": "error",
|
137 | "jest/no-focused-tests": "error",
|
138 | "jest/no-identical-title": "error",
|
139 | "node/no-unsupported-features": "off",
|
140 | "node/no-unpublished-require": "off",
|
141 | "security/detect-non-literal-fs-filename": "error",
|
142 | "security/detect-unsafe-regex": "error",
|
143 | "security/detect-buffer-noassert": "error",
|
144 | "security/detect-child-process": "error",
|
145 | "security/detect-disable-mustache-escape": "error",
|
146 | "security/detect-eval-with-expression": "error",
|
147 | "security/detect-no-csrf-before-method-override": "error",
|
148 | "security/detect-non-literal-regexp": "error",
|
149 | "security/detect-object-injection": "warn",
|
150 | "security/detect-possible-timing-attacks": "error",
|
151 | "security/detect-pseudoRandomBytes": "error",
|
152 | "space-before-function-paren": "off",
|
153 | "object-curly-spacing": "off"
|
154 | },
|
155 | "parserOptions": {
|
156 | "ecmaVersion": 8,
|
157 | "ecmaFeatures": {
|
158 | "impliedStrict": true
|
159 | }
|
160 | }
|
161 | },
|
162 | "release": {
|
163 | "branch": "master",
|
164 | "analyzeCommits": {
|
165 | "preset": "angular",
|
166 | "releaseRules": [
|
167 | {
|
168 | "type": "docs",
|
169 | "release": "patch"
|
170 | },
|
171 | {
|
172 | "type": "refactor",
|
173 | "release": "patch"
|
174 | },
|
175 | {
|
176 | "type": "style",
|
177 | "release": "patch"
|
178 | }
|
179 | ]
|
180 | }
|
181 | },
|
182 | "gitHead": "a9bf2112535cb68c71d50b9f0c326147aa50cdda"
|
183 | }
|