This repository has been archived by the owner on Jun 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
93 lines (93 loc) · 2.71 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
{
"name": "thriftrw",
"version": "3.12.0",
"description": "thrift encoding/decoding using bufrw",
"keywords": [],
"author": "Lei Zhao <[email protected]>",
"repository": "git://github.com/thriftrw/thriftrw-node.git",
"main": "index.js",
"homepage": "https://github.com/thriftrw/thriftrw-node",
"bugs": {
"url": "https://github.com/thriftrw/thriftrw-node/issues",
"email": "[email protected]"
},
"contributors": [
{
"name": "Lei Zhao"
}
],
"dependencies": {
"bufrw": "^1.3.0",
"error": "7.0.2",
"long": "^2.4.0"
},
"devDependencies": {
"aliasify": "^2.1.0",
"brfs": "^2.0.2",
"browserify": "^16.5.0",
"coveralls": "^2.10.0",
"debug": "^2.1.2",
"derequire": "^2.0.6",
"eslint": "^2.13.1",
"fast-stats": "0.0.3",
"faucet": "0.0.1",
"istanbul": "^0.3.5",
"itape": "^1.5.0",
"jsen": "^0.6.0",
"karma": "^4.2.0",
"karma-chrome-launcher": "^3.1.0",
"opn": "^1.0.1",
"pegjs": "^0.8.0",
"pre-commit": "0.0.9",
"tape": "^2.0.0",
"through2": "^3.0.1",
"uber-licence": "^2.0.0"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/thriftrw/thriftrw-node/raw/master/LICENSE"
}
],
"bin": {
"thrift2json": "./thrift2json.js"
},
"scripts": {
"add-licence": "uber-licence --file '!(*bundle).js' --file '!(*test-bundle).js'",
"build-browser": "cd browser && node browserify.js | derequire > dist/bundle.js",
"build-parser": "pegjs --allowed-start-rules Program thrift-idl.pegjs && uber-licence --file thrift-idl.js > /dev/null",
"check-cover": "istanbul check-coverage",
"check-licence": "uber-licence --dry --file '!(*bundle).js' --file '!(*test-bundle).js'",
"check-ls": "npm ls 1>/dev/null",
"cover": "istanbul cover --report html --print none -- test/index.js | faucet && istanbul report text && npm run check-cover -s",
"lint": "eslint .",
"prepublish": "npm run build-browser",
"test": "npm run check-ls -s && npm run build-parser -s && npm run lint -s && npm run cover -s",
"test-browser": "npm run build-browser && cd browser && karma start",
"trace": "itape test/index.js --trace",
"travis": "eslint . && npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)",
"view-cover": "opn ./coverage/index.html"
},
"browser": "./browser/dist/bundle.js",
"engines": {
"node": ">= 0.10.x"
},
"pre-commit": [
"check-licence",
"test"
],
"pre-commit.silent": true,
"itape": {
"trace": {
"debuglog": [
"thriftrw"
],
"leakedHandles": {
"timeout": 5001,
"debugSockets": true
},
"formatStack": true
}
},
"uber-ngen-version": "5.2.0"
}