-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 5.07 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "@sounisi5011/encrypted-archive",
"version": "0.1.0",
"description": "Convert data into a single encrypted archive data that contains all metadata needed for decryption",
"keywords": [
"AES",
"AES-256",
"AES-256-GCM",
"AES-GCM",
"AES256GCM",
"AESGCM",
"Argon2",
"Argon2d",
"Argon2id",
"ChaCha20",
"ChaCha20-Poly1305",
"GCM",
"NodeJS",
"Poly1305",
"binary",
"buffer",
"cipheriv",
"crypto",
"data",
"decrypt",
"decryption",
"decryptor",
"encrypt",
"encryption",
"encryptor",
"password",
"protect",
"secure",
"security",
"stream",
"transform",
"util",
"utility"
],
"homepage": "https://github.com/sounisi5011/npm-packages/tree/main/packages/encrypted-archive#readme",
"bugs": {
"url": "https://github.com/sounisi5011/npm-packages/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sounisi5011/npm-packages.git",
"directory": "packages/encrypted-archive"
},
"license": "MIT",
"author": "sounisi5011",
"type": "commonjs",
"exports": {
".": {
"types": "./dist/index.node.d.ts",
"default": "./dist/index.node.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.node.js",
"types": "./dist/index.node.d.ts",
"directories": {
"lib": "./src/",
"example": "./examples/",
"test": "./tests/"
},
"files": [
"dist/",
"/CHANGELOG.md",
"runkit-example.js",
"!**/*.tsbuildinfo"
],
"scripts": {
"build": "concurrently 'pnpm:build:*'",
"build-protobuf": "protoc --version && concurrently 'pnpm:build-protobuf:*'",
"build-protobuf:src": "protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./src/protocol-buffers/ --ts_out=./src/protocol-buffers/ --proto_path ./src/protocol-buffers/ ./src/protocol-buffers/header.proto",
"build-protobuf:test": "protoc --version && concurrently 'pnpm:build-protobuf~test:*'",
"build-protobuf~test:header": " glob-exec --foreach 'tests/unit/fixtures/header-message.*.textproto' -- 'protoc --encode=Header --proto_path ./src/protocol-buffers/ ./src/protocol-buffers/header.proto < {{file}} > {{file.path.replace(/\\.textproto$/, `.bin`)}}'",
"build-protobuf~test:simple-header": "glob-exec --foreach 'tests/unit/fixtures/simple-header-message.*.textproto' -- 'protoc --encode=SimpleHeader --proto_path ./src/protocol-buffers/ ./src/protocol-buffers/header.proto < {{file}} > {{file.path.replace(/\\.textproto$/, `.bin`)}}'",
"build-with-cache": "../../scripts/fixed-turbo-run.sh build",
"build:copy-js-and-dts": "cpy '**/*.{js,d.ts}' ../dist/ --cwd=./src/ --parents",
"build:docs": "concurrently 'pnpm:build~docs:*'",
"build:tsc": "tsc -p ./src/",
"build~docs:bytefield": "glob-exec --foreach 'docs/**/*.bytefield-svg.edn' -- 'bytefield-svg --source {{file}} --output {{file.path.replace(/\\.\\w+$/, `.svg`)}}'",
"lint:tsc": "pnpm run lint:tsc:src && pnpm run lint:tsc:test && pnpm run lint:tsc:test-d",
"lint:tsc:src": "tsc -p ./src/ --noEmit",
"lint:tsc:test": "tsc -p ./tests/ --noEmit",
"lint:tsc:test-d": "pnpm run build-with-cache && tsc -p ./test-d/ --noEmit",
"test": "run-if-supported --verbose concurrently --max-processes 1 'pnpm:test:*'",
"test:examples": "pnpm build-with-cache && concurrently 'pnpm:test~examples:*'",
"test:jest": "jest",
"test:tsd": "pnpm run build-with-cache && tsd",
"test~examples:run": "glob-exec --foreach 'examples/node/*.js' -- 'echo \"$\" node {{file}}; node {{file}}; echo'"
},
"config": {
"protocVersion": "3.20.1"
},
"dependencies": {
"@sounisi5011/stream-transform-from": "workspace:^1.0.0",
"@sounisi5011/ts-utils-is-property-accessible": "workspace:^1.0.0",
"argon2-browser": "^1.15.4",
"capitalize": "^2.0.3",
"google-protobuf": "^3.15.8",
"varint": "^6.0.0"
},
"devDependencies": {
"@protobuf-ts/protoc": "2.8.2",
"@sounisi5011/jest-binary-data-matchers": "workspace:^0.0.0 || ^1.0.0",
"@sounisi5011/run-if-supported": "1.1.1",
"@sounisi5011/ts-type-util-has-own-property": "workspace:^1.0.0",
"@swc/core": "1.3.25",
"@swc/jest": "0.2.24",
"@types/argon2-browser": "1.18.1",
"@types/capitalize": "2.0.0",
"@types/google-protobuf": "3.15.6",
"@types/jest": "28.1.8",
"@types/node": "12.20.55",
"@types/semver": "7.3.13",
"@types/varint": "6.0.1",
"bytefield-svg": "1.7.0",
"combinate": "1.1.11",
"concurrently": "7.6.0",
"cpy-cli": "3.1.1",
"escape-string-regexp": "4.0.0",
"execa": "5.1.1",
"glob-exec": "0.1.1",
"grpc_tools_node_protoc_ts": "5.3.2",
"import-from": "4.0.0",
"jest": "28.1.3",
"jest-extended": "3.0.2",
"multicodec": "3.2.1",
"semver": "7.3.8",
"tsd": "0.25.0",
"turbo": "1.8.2",
"typescript": "4.9.4",
"word-join": "0.0.1"
},
"optionalDependencies": {
"argon2": "0.27.2"
},
"engines": {
"node": "^12.17.x || 14.x || 15.x || 16.x || 17.x || >=18.x"
},
"runkitExampleFilename": "./runkit-example.js"
}