-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
91 lines (91 loc) · 2.15 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
{
"name": "swc-walk",
"version": "1.0.0-rc.2",
"description": "Walk an AST from SWC and visit each node type.",
"main": "dist/esm/walk.js",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/esm/walk.d.ts",
"default": "./dist/esm/walk.js"
},
"require": {
"types": "./dist/cjs/walk.d.cts",
"default": "./dist/cjs/walk.cjs"
},
"default": "./dist/esm/walk.js"
},
"./baseVisitor": {
"import": {
"types": "./dist/esm/baseVisitor.d.ts",
"default": "./dist/esm/baseVisitor.js"
},
"require": {
"types": "./dist/cjs/baseVisistor.d.cts",
"default": "./dist/cjs/baseVisitor.cjs"
},
"default": "./dist/esm/baseVisitor.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=20.2.0"
},
"engineStrict": true,
"scripts": {
"prettier": "prettier -w .",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"build": "duel --dirs",
"test": "c8 --reporter=text --reporter=text-summary --reporter=lcov tsx --test --test-reporter=spec test/*.test.ts",
"prepack": "npm run build"
},
"files": [
"dist"
],
"keywords": [
"swc",
"ast",
"walk",
"acorn-walk",
"traverse",
"visitor",
"node",
"type"
],
"author": "Morgan Ney <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/morganney/swc-walk.git"
},
"bugs": {
"url": "https://github.com/morganney/swc-walk/issues"
},
"devDependencies": {
"@eslint/js": "^9.4.0",
"@knighted/duel": "^2.0.0-rc.1",
"@knighted/dump": "^1.0.3",
"@stylistic/eslint-plugin-js": "^2.1.0",
"@swc/core": "^1.6.1",
"@swc/types": "^0.1.8",
"@types/node": "^20.13.0",
"c8": "^10.1.2",
"eslint": "^9.4.0",
"eslint-plugin-n": "^17.8.1",
"prettier": "^3.3.0",
"tsx": "^4.12.0",
"typescript": "^5.4.5",
"typescript-eslint": "^8.0.0-alpha.30"
},
"dependencies": {
"acorn-walk": "^8.3.2"
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 119,
"semi": false,
"singleQuote": true
}
}