This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 2.11 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
{
"name": "pkgsign",
"version": "0.2.0",
"description": "A CLI tool for signing and verifying npm and yarn packages.",
"main": "index.js",
"repository": "https://github.com/RedpointGames/pkgsign",
"author": "Redpoint Games",
"license": "MIT",
"private": false,
"bin": {
"pkgsign": "dist/index.js"
},
"dependencies": {
"@dpwolfe/dos2unix": "^1.1.3",
"clime": "^0.5.10",
"eol-fix-stream": "^1.0.0",
"inquirer": "^6.5.0",
"isbinaryfile": "^4.0.2",
"node-cmd": "^3.0.0",
"node-fetch": "^2.6.0",
"node-machine-id": "^1.1.12",
"npm-packlist": "^1.4.4",
"openpgp": "^4.5.5",
"recursive-readdir": "^2.2.2",
"silent-spawn": "^0.4.0",
"strip-ansi": "^5.2.0",
"targz": "^1.0.1",
"tmp": "^0.1.0"
},
"scripts": {
"normalize": "node util/normalize.js",
"prepack": "yarn normalize",
"clean": "rimraf dist",
"build": "yarn clean && tsc && yarn normalize",
"pkgsign": "yarn build && node dist/index.js",
"sign": "yarn build && node dist/index.js sign .",
"verify": "yarn build && node dist/index.js verify . --full --allow-unsigned-packages",
"signedpack": "yarn clean && tsc && yarn pack --filename pkgsign.tgz && node dist/index.js sign pkgsign.tgz",
"release": "yarn test && node util/ensure-release.js && yarn pack --filename pkgsign.tgz && node dist/index.js sign pkgsign.tgz && yarn publish pkgsign.tgz",
"test": "ava-ts test/*.ts && yarn build && node dist/index.js sign . && node dist/index.js verify . --allow-unsigned-packages",
"selfverify": "yarn build && node dist/index.js sign . && node dist/index.js verify . --full --allow-unsigned-packages"
},
"devDependencies": {
"@types/inquirer": "^6.0.3",
"@types/node": "^12.6.8",
"@types/node-fetch": "^2.5.0",
"@types/npm-packlist": "^1.1.1",
"@types/openpgp": "^4.4.6",
"@types/recursive-readdir": "^2.2.0",
"@types/strip-ansi": "^5.2.1",
"@types/targz": "^1.0.0",
"@types/tmp": "^0.1.0",
"ava": "^2.2.0",
"ava-ts": "^0.25.2",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"ts-node": "^8.3.0",
"typescript": "^3.5.3"
}
}