-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
87 lines (87 loc) · 2.02 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
{
"name": "neotraverse",
"version": "0.6.18",
"description": "traverse and transform objects by visiting every node on a recursive walk",
"main": "dist/legacy/legacy.cjs",
"type": "module",
"types": "dist/index.d.ts",
"files": [
"dist",
"legacy.*"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": {
"production": "./dist/min/index.js",
"development": "./dist/index.js",
"default": "./dist/index.js"
},
"default": "./dist/min/index.js"
},
"./modern": {
"types": "./dist/modern/modern.d.ts",
"import": {
"production": "./dist/modern/min/modern.js",
"development": "./dist/modern/modern.js",
"default": "./dist/modern/modern.js"
},
"default": "./dist/modern/modern.js"
},
"./legacy": {
"require": {
"types": "./dist/legacy/legacy.d.cts",
"default": "./dist/legacy/legacy.cjs"
},
"import": {
"types": "./dist/legacy/legacy.d.ts",
"default": "./dist/legacy/legacy.mjs"
},
"default": "./dist/legacy/legacy.cjs"
},
"./package.json": "./package.json"
},
"scripts": {
"compile": "tsup && cp dist/legacy/legacy.cjs legacy.js && cp dist/legacy/legacy.d.cts legacy.d.ts",
"test": "vitest run",
"test:cov": "vitest run --coverage",
"pub": "pnpm run compile && npm publish --access public --no-git-checks",
"changeset": "changeset",
"ci:version": "changeset version",
"ci:release": "changeset publish"
},
"repository": {
"type": "git",
"url": "https://github.com/PuruVJ/neotraverse.git"
},
"homepage": "https://github.com/PuruVJ/neotraverse",
"keywords": [
"traverse",
"walk",
"recursive",
"map",
"forEach",
"deep",
"clone"
],
"author": {
"name": "Puru Vijay, James Halliday"
},
"publishConfig": {
"provenance": true
},
"license": "MIT",
"engines": {
"node": ">= 10"
},
"devDependencies": {
"@changesets/cli": "^2.27.7",
"@swc/core": "^1.6.13",
"@types/node": "^20.14.10",
"@vitest/coverage-v8": "^2.0.5",
"terser": "^5.31.2",
"tsup": "^8.1.0",
"typescript": "^5.5.3",
"vitest": "^2.0.5"
}
}