/
package.json
65 lines (65 loc) · 1.8 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": "@ziadkh0/flow-comments",
"version": "0.4.7",
"description": "A simple CLI that wraps/unwraps flow type annotations in comments",
"main": "src/index.js",
"module": "src/main.js",
"bin": {
"flow-comments": "src/cli.js"
},
"repository": "zaygraveyard/flow-comments",
"scripts": {
"lint": "eslint src test",
"fmt": "eslint src test --fix",
"pretest": "npm run -s lint",
"test": "(npm run -s test:ava && npm run -s test:cli && npm run -s finallytest) || (npm run -s finallytest; false)",
"test:ava": "ava",
"test:cli": "cp test/fixtures/wrapped.js test/fixtures/temp_1.js && cp test/fixtures/wrapped.js test/fixtures/temp_2.js && src/cli.js unwrap 'test/fixtures/temp_*.js' && diff -u --color --to-file=test/fixtures/unwrapped.js test/fixtures/temp_*.js",
"finallytest": "rm -rf test/fixtures/temp_*.js",
"preversion": "npm test",
"prepublishOnly": "npm test && git push && git push --tags"
},
"files": [
"src"
],
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"ava": {
"files": [
"test/**/*",
"!test/fixtures"
],
"require": [
"esm"
]
},
"keywords": [
"flow",
"comment",
"format",
"cli"
],
"author": "Ziad EL KHOURY HANNA",
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.12.15",
"@babel/traverse": "^7.12.13",
"@babel/types": "^7.12.13",
"esm": "^3.2.25",
"fast-glob": "^3.2.5",
"fs-readdir-recursive": "^1.1.0",
"magic-string": "^0.25.7",
"minimist": "^1.2.5"
},
"devDependencies": {
"@getify/eslint-plugin-proper-arrows": "^10.0.0",
"ava": "^3.15.0",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"prettier": "^2.2.1"
}
}