Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 2.92 KB
/
Copy pathpackage.json
File metadata and controls
105 lines (105 loc) · 2.92 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "use-macro",
"version": "2.0.0",
"description": "Compile-time JavaScript and TypeScript macros with build-tool integrations.",
"license": "MIT",
"author": "Twilight <hello@twlite.dev>",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./esbuild": {
"types": "./dist/esbuild.d.ts",
"import": "./dist/esbuild.js",
"default": "./dist/esbuild.js"
},
"./babel": {
"types": "./dist/babel.d.ts",
"import": "./dist/babel.js",
"default": "./dist/babel.js"
},
"./rollup": {
"types": "./dist/rollup.d.ts",
"import": "./dist/rollup.js",
"default": "./dist/rollup.js"
},
"./next": {
"types": "./dist/next.d.ts",
"import": "./dist/next.js",
"default": "./dist/next.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"engines": {
"node": ">=22"
},
"packageManager": "bun@1.4.3",
"repository": {
"type": "git",
"url": "https://github.com/neplextech/use-macro.git"
},
"bugs": {
"url": "https://github.com/neplextech/use-macro/issues"
},
"homepage": "https://github.com/neplextech/use-macro#readme",
"keywords": [
"compile-time",
"macro",
"babel",
"esbuild",
"rollup",
"nextjs",
"vite",
"typescript"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc -p tsconfig.build.json && node scripts/copy-next-loader.mjs",
"typecheck": "tsc --noEmit",
"test": "bun test",
"test:coverage": "bun test --coverage",
"format:check": "biome format src test scripts benchmarks examples/src examples/build.mjs examples/package.json package.json tsconfig.json tsconfig.build.json biome.json --no-errors-on-unmatched",
"format:write": "biome format --write src test scripts benchmarks examples/src examples/build.mjs examples/package.json package.json tsconfig.json tsconfig.build.json biome.json --no-errors-on-unmatched",
"lint": "biome lint src test scripts benchmarks examples/src examples/build.mjs",
"check:package": "bun scripts/check-package.ts",
"bench": "bun benchmarks/run.ts"
},
"dependencies": {
"@babel/generator": "^7.29.8",
"@babel/parser": "^7.29.7",
"@babel/traverse": "^7.29.10",
"@babel/types": "^7.29.8",
"devalue": "^6.0.2"
},
"peerDependencies": {
"esbuild": ">=0.24.0"
},
"peerDependenciesMeta": {
"esbuild": {
"optional": true
}
},
"devDependencies": {
"@biomejs/biome": "^2.5.15",
"@jridgewell/trace-mapping": "^0.3.31",
"@types/babel__generator": "^7.27.0",
"@types/babel__traverse": "^7.28.0",
"@types/bun": "^1.4.2",
"@types/node": "^26.6.5",
"esbuild": "^0.28.2",
"typescript": "^7.0.2"
}
}