-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
103 lines (103 loc) · 3.41 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "fix-lockfile-integrity",
"version": "1.5.6",
"description": "Fix lockfile integrity",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"fix-lockfile": "./dist/run.js",
"fix-lockfile-integrity": "./dist/run.js"
},
"scripts": {
"prepare": "git config --get core.hookspath || husky",
"prebuild": "npm run test",
"build": "npm run build:no-test",
"build:no-test": "npm run tsc && npm run add-shebang && npm run package",
"build:no-test:ci": "npm run tsc && npm run add-shebang && del package-lock.json && npm prune --production && npm shrinkwrap && npm run package",
"test": "npm run eslint && npm run type-check && npm run jest",
"eslint": "eslint --cache --cache-location ./.eslint-cache/ --cache-strategy content src/ test/",
"eslint:fix": "npm run eslint -- --fix",
"type-check": "tsc --build tsconfig.json",
"jest": "cross-env FORCE_COLOR=0 jest",
"jest:unit": "cross-env FORCE_COLOR=0 jest ./test/",
"jest:integration": "cross-env FORCE_COLOR=0 jest ./integration_test/",
"prettier": "prettier --write *.json",
"pretsc": "rimraf dist",
"tsc": "tsc --build tsconfig.build.json",
"add-shebang": "add-shebang",
"prestart": "npm run tsc",
"start": "node ./dist/run.js",
"start:debug": "node --inspect-brk ./dist/main.js",
"start:help": "npm run start -- --help",
"package": "npm pack",
"pre-commit": "lint-staged"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yoavain/fix-lockfile-integrity.git"
},
"keywords": [
"security",
"lock",
"lockfile",
"package-lock.json",
"npm-shrinkwrap.json",
"integrity",
"sha512",
"sha1"
],
"author": "yoavain",
"license": "MIT",
"engines": {
"node": ">=14",
"npm": ">=9"
},
"files": [
"dist/**"
],
"bugs": {
"url": "https://github.com/yoavain/fix-lockfile-integrity/issues"
},
"homepage": "https://github.com/yoavain/fix-lockfile-integrity#readme",
"devDependencies": {
"@tsconfig/node20": "20.1.4",
"@types/jest": "29.5.14",
"@types/node": "22.13.5",
"@typescript-eslint/eslint-plugin": "8.25.0",
"@typescript-eslint/parser": "8.25.0",
"add-shebang": "0.1.0",
"cross-env": "7.0.3",
"del": "7.1.0",
"eslint": "8.57.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "28.11.0",
"eslint-plugin-n": "17.15.1",
"eslint-plugin-security": "1.7.1",
"global-npm": "0.5.0",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.4.3",
"rimraf": "6.0.1",
"ts-jest": "29.2.6",
"typescript": "5.7.3"
},
"dependencies": {
"chalk": "4.1.2",
"cosmiconfig": "8.3.6",
"cosmiconfig-typescript-loader": "4.4.0",
"got": "11.8.6",
"p-limit": "3.1.0",
"prettier": "2.8.8",
"traverse": "0.6.11",
"ts-node": "10.9.2",
"yargs": "17.7.2"
},
"lint-staged": {
"*.(ts|js)": [
"eslint --fix"
],
"*.json": [
"prettier --write"
]
}
}