-
Notifications
You must be signed in to change notification settings - Fork 350
/
package.json
74 lines (74 loc) · 1.79 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
{
"author": "Ben Newman <[email protected]>",
"name": "recast",
"version": "0.23.9",
"description": "JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator",
"keywords": [
"ast",
"rewriting",
"refactoring",
"codegen",
"syntax",
"transformation",
"parsing",
"pretty-printing"
],
"homepage": "http://github.com/benjamn/recast",
"repository": {
"type": "git",
"url": "git://github.com/benjamn/recast.git"
},
"license": "MIT",
"main": "main.js",
"types": "main.d.ts",
"scripts": {
"mocha": "test/run.sh",
"debug": "test/run.sh --inspect-brk",
"test": "npm run lint && npm run build && npm run mocha",
"build": "npm run clean && tsc",
"lint": "eslint --ext .ts .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"clean": "tsc --build --clean",
"prepare": "npm run build",
"postpack": "npm run clean"
},
"lint-staged": {
"*.ts": [
"eslint",
"prettier -c"
]
},
"browser": {
"fs": false
},
"dependencies": {
"ast-types": "^0.16.1",
"esprima": "~4.0.0",
"source-map": "~0.6.1",
"tiny-invariant": "^1.3.3",
"tslib": "^2.0.1"
},
"devDependencies": {
"@babel/core": "7.20.5",
"@babel/parser": "7.20.5",
"@babel/preset-env": "7.20.2",
"@types/esprima": "4.0.3",
"@types/glob": "8.0.0",
"@types/mocha": "10.0.1",
"@types/node": "18.11.15",
"@typescript-eslint/parser": "^5.47.1",
"eslint": "^8.40.0",
"esprima-fb": "15001.1001.0-dev-harmony-fb",
"flow-parser": "0.195.0",
"glob": "8.0.3",
"lint-staged": "^13.2.2",
"mocha": "^10.2.0",
"prettier": "^2.6.2",
"reify": "0.20.12",
"typescript": "^4.9.4"
},
"engines": {
"node": ">= 4"
}
}