-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.77 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
{
"name": "@ziadkh0/flow-comments",
"version": "0.5.0",
"description": "A simple CLI that wraps/unwraps flow type annotations in comments",
"type": "module",
"main": "src/index.cjs",
"module": "src/main.js",
"bin": {
"flow-comments": "src/cli.js"
},
"repository": "zaygraveyard/flow-comments",
"scripts": {
"lint": "eslint",
"fmt": "eslint --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 test/fixtures/unwrapped.js test/fixtures/temp_1.js && diff -u --color test/fixtures/unwrapped.js test/fixtures/temp_2.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"
]
},
"keywords": [
"flow",
"comment",
"format",
"cli"
],
"author": "Ziad EL KHOURY HANNA",
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.25.9",
"@babel/traverse": "^7.25.9",
"@babel/types": "^7.25.9",
"esm": "^3.2.25",
"fast-glob": "^3.2.5",
"fs-readdir-recursive": "^1.1.0",
"magic-string": "^0.30.12",
"minimist": "^1.2.5"
},
"devDependencies": {
"ava": "^6.1.3",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3"
}
}