forked from ryan953/flow-annotation-check
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 2.37 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
{
"name": "@cumulusds/flow-annotation-check",
"version": "1.11.5",
"description": "Check your files for the presence of the `@flow` and `@flow weak` annotations",
"author": {
"name": "Ryan Albrecht",
"email": "[email protected]",
"url": "ryanalbrecht.ca"
},
"license": "MIT",
"keywords": [
"flow",
"flowtype",
"annotations",
"typed"
],
"repository": {
"type": "git",
"url": "https://github.com/ryan953/flow-annotation-check.git"
},
"bugs": "https://github.com/ryan953/flow-annotation-check/issues",
"main": "./lib/flow-annotation-check.js",
"engines": {
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
},
"bin": {
"flow-annotation-check": "./bin/flow-annotation-check.js"
},
"files": [
"bin",
"lib"
],
"dependencies": {
"argparse": "^2.0.1",
"babel-eslint": "^10.0.1",
"eslint": "^7.32.0",
"glob": "7.2.0",
"load-pkg": "^4.0.0"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-flow": "^7.0.0",
"codecov": "^3.0.0",
"flow-bin": "^0.106.3",
"jest": "^27.2.4"
},
"scripts": {
"preversion": "npm run clean && npm run test && npm run transpile",
"postversion": "git push && git push --tags && npm publish",
"test": "flow check && jest",
"prebuild": "npm run clean && npm run test",
"build": "npm run transpile",
"clean": "rm -Rf npm-debug.log lib coverage flow-coverage",
"flow:check": "flow check && flow check ./src/__tests__/fixtures",
"flow:annotations": "npm run transpile && bin/flow-annotation-check.js",
"flow:coverage": "npx flow-coverage-report",
"transpile": "rm -Rf lib/* && babel src --out-dir lib --ignore \"**/__tests__\""
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": 8
}
}
],
"@babel/preset-flow"
]
},
"flow-annotation-check": {
"include": [
"src/**/*.js"
],
"exclude": [
"src/__tests__/fixtures/!(*.flow.js)"
]
},
"flow-coverage-report": {
"globIncludePatterns": [
"src/**/*.js"
],
"reportTypes": [
"text",
"html"
]
},
"jest": {
"testEnvironment": "node",
"roots": [
"src"
],
"testPathIgnorePatterns": [
"__tests__/fixtures"
]
}
}