-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.18 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
{
"name": "structure-bytes",
"version": "17.2.0",
"description": "A library for more efficient data transfers by separating the structure from the values and storing each as binary data",
"main": "dist/index.js",
"typings": "dist/index",
"dependencies": {
"accepts": "^1.3.7",
"base64-js": "^1.5.1"
},
"devDependencies": {
"@types/accepts": "^1.3.5",
"@types/node": "^14.14.41",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"coveralls": "^3.1.0",
"eslint": "^7.24.0",
"nyc": "^15.1.0",
"ts-loader": "^8.1.0",
"typedoc": "^0.20.35",
"typescript": "^4.2.4",
"webpack": "^5.33.2",
"webpack-cli": "^4.6.0"
},
"directories": {
"test": "test"
},
"scripts": {
"wabt": "bash -c '[[ -d wabt ]]' || (git clone --depth 1 https://github.com/WebAssembly/wabt && cd wabt && git submodule update --init && make clang-release-no-tests)",
"wat2wasm": "npm run wabt && wabt/bin/wat2wasm lib/sha256.wast -o lib/sha256.wasm && ./wasm2ts.js lib/sha256",
"build": "npm run wat2wasm && rm -rf dist && tsc",
"build-client": "rm -rf compiled && webpack",
"clientside": "(cat client-side/upload.ts | grep -v window; cat client-side/download.ts | grep -v \"from './common'\") > client-side/upload-download.ts && npm run build-client",
"docs": "rm -rf docs && typedoc --out docs --name structure-bytes --readme README.md --listInvalidSymbolLinks index.ts io.ts lib/appendable.ts lib/appendable-stream.ts lib/growable-buffer.ts read.ts types/index.ts && touch docs/.nojekyll",
"test": "npm run build && tsc -p test/tsconfig.json && node test/main && npm run lint",
"test-travis": "nyc --reporter=lcov node test/main && coveralls < coverage/lcov.info",
"lint": "eslint --ext .ts ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/calebsander/structure-bytes.git"
},
"keywords": [
"data",
"structure",
"bytes",
"file",
"transfer",
"type",
"value"
],
"author": "Caleb Sander",
"license": "MIT",
"engines": {
"node": ">=10.0.0"
},
"bugs": {
"url": "https://github.com/calebsander/structure-bytes/issues"
},
"homepage": "https://github.com/calebsander/structure-bytes",
"files": [
"compiled",
"dist"
]
}