forked from benjamn/recast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 1.82 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
{
"author": "Ben Newman <bn@cs.stanford.edu>",
"name": "recast",
"version": "0.0.0",
"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",
"files": [
"lib/*",
"parsers/*",
"main.d.ts"
],
"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 '{lib,test}/**.ts' '*rc.js'",
"clean": "ts-emit-clean",
"prepack": "npm run build",
"postpack": "npm run clean"
},
"lint-staged": {
"*.ts": [
"eslint",
"prettier -c"
]
},
"browser": {
"fs": false
},
"dependencies": {
"ast-types": "0.15.2",
"esprima": "~4.0.0",
"source-map": "~0.6.1",
"tslib": "^2.0.1"
},
"devDependencies": {
"@babel/core": "7.14.8",
"@babel/parser": "7.14.8",
"@babel/preset-env": "7.12.13",
"@types/esprima": "4.0.2",
"@types/glob": "7.2.0",
"@types/mocha": "8.2.0",
"@types/node": "16.4.0",
"@typescript-eslint/parser": "^4.9.1",
"eslint": "^7.1.0",
"esprima-fb": "15001.1001.0-dev-harmony-fb",
"flow-parser": "0.156.0",
"glob": "7.2.0",
"lint-staged": "^10.2.6",
"mocha": "9.0.2",
"prettier": "^2.0.5",
"reify": "0.20.12",
"ts-emit-clean": "1.0.0",
"typescript": "^4.3.5"
},
"engines": {
"node": ">= 4"
}
}