forked from uber-web/thrift2flow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.48 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
{
"name": "thrift2flow",
"version": "0.6.0",
"description": "Convert Thrift definitions to Flowtype declarations",
"homepage": "https://github.com/uber-node/thrift2flow",
"bugs": {
"url": "https://github.com/uber-node/thrift2flow/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/uber-node/thrift2flow.git"
},
"keywords": [
"thrift",
"flowtype",
"type",
"javascript",
"js"
],
"author": "Keith Lea",
"license": "MIT",
"main": "lib/index.js",
"bin": {
"thrift2flow": "lib/index.js"
},
"scripts": {
"clean-test-output": "git clean -Xdf test-output/",
"build-test": "babel src -d dist-test --source-maps",
"build": "babel src/main -d lib --source-maps",
"watch": "babel src/main -d lib --source-maps --watch",
"check": "npm run prettier && npm run lint && npm run test",
"debug": "node --nolazy --inspect-brk=9229 lib/index.js",
"download-typedefs": "mkdir -p typedefs && curl -o typedefs/flowResult.js https://raw.githubusercontent.com/facebook/flow/master/tsrc/flowResult.js",
"flow": "flow check",
"lint": "eslint src",
"prepare": "npm run build",
"prettier": "prettier --single-quote --bracket-spacing false --parser flow --tab-width 2 --print-width 100 --write \"{src,test}/**/*.js\"",
"test": "npm run build-test && node dist-test/test/index.spec.js",
"test-keep-output": "npm run build-test && KEEP_TEST_OUTPUT=true node dist-test/test/index.spec.js"
},
"engines": {
"node": ">=6.10",
"npm": ">=4.0"
},
"dependencies": {
"babel-polyfill": "^6.23.0",
"common-path-prefix": "^1.0.0",
"mkdirp": "^0.5.1",
"prettier": "^1.14.2",
"source-map-support": "^0.4.15",
"thriftrw": "^3.11.0",
"uuid": "^3.3.2",
"yargs": "^8.0.1"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-eslint": "^9.0.0",
"babel-plugin-syntax-flow": "^6.18.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-env": "^1.4.0",
"babel-preset-es2017": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"eslint": "^5.6.0",
"eslint-config-fusion": "^4.0.0",
"eslint-plugin-cup": "^2.0.0",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.22.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.11.1",
"flow-bin": "^0.65.0",
"fs-extra": "^4.0.3",
"tape": "^4.6.3",
"tmp": "^0.0.33"
}
}