This repository has been archived by the owner on Oct 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
70 lines (70 loc) · 2.15 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
{
"name": "protobuf2flowtype",
"version": "3.0.4",
"description": "Given protobuf file will generate node packages which export protobufjs builders annotated with flowtype type anotations",
"main": "runtime/index.js",
"bin": {
"protobuf2flowtype": "build/generate-cli.js"
},
"dependencies": {
"babel-generator": "^6.14.0",
"babylon": "^6.10.0",
"fs-extra": "^2.0.0",
"mustache": "^2.2.1",
"protobuf2flowtype-runtime": "3.0.4",
"yargs": "^7.0.2"
},
"devDependencies": {
"babel-eslint": "^7.0.0",
"eslint": "^3.7.1",
"eslint-plugin-flowtype": "^2.17.1",
"flow-bin": "^0.42.0",
"json": "^9.0.4",
"mock-cli": "^0.1.2",
"mock-require": "^2.0.0",
"nodeunit": "^0.11.0",
"nyc": "^10.0.0",
"protobufjs": "^5.0.1",
"rewire": "^2.5.2"
},
"scripts": {
"test": "eslint build/ && eslint tests/ && nyc nodeunit tests/**/* && flow && if ! flow check-contents examples/simple-bad.js < examples/simple-bad.js | grep 'Found 3 errors'; then echo 'Flow Checking of simple-bad should fail with 3 Errors'; exit 1; fi && if ! flow check-contents examples/complex-bad.js < examples/complex-bad.js | grep 'Found 11 errors'; then echo 'Flow Checking of complex-bad should fail with 11 Errors'; exit 1; fi",
"preversion": "git fetch origin && if [ -n \"$(git diff origin/master)\" ]; then echo 'Branch much match remote master'; exit 1; fi && npm test",
"version": "bin/version.sh",
"postversion": "git push origin master && git push origin --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/netproteus/protobuf2flowtype.git"
},
"author": "William Lewis",
"license": "MIT",
"bugs": {
"url": "https://github.com/netproteus/protobuf2flowtype/issues"
},
"homepage": "https://github.com/netproteus/protobuf2flowtype#readme",
"directories": {
"example": "examples"
},
"keywords": [
"protobuf",
"proto",
"flow",
"flowtype"
],
"nyc": {
"include": [
"build/**/*.js*"
],
"exclude": [
"tests/**"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": false,
"instrument": true,
"all": true
}
}