-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
56 lines (56 loc) · 1.45 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
{
"name": "esbuild-plugin-preserve-directives",
"version": "0.0.11",
"description": "An esbuild plugin to preserve important directives like 'use client' at the top of output files.",
"author": "seojunhwan <[email protected]>",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": {
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"import": {
"default": "./dist/index.mjs",
"types": "./dist/index.d.mts"
}
}
},
"files": [
"dist"
],
"scripts": {
"clean": "rm -rf dist",
"build": "pnpm run clean && node scripts/build.cjs && pnpm run build:types",
"build:types": "tsc --project tsconfig.json --outDir dist --declaration --emitDeclarationOnly && cp dist/index.d.ts dist/index.d.mts",
"prepublishOnly": "pnpm run build",
"release": "npx changeset publish",
"version": "npx changeset version"
},
"keywords": [
"esbuild",
"plugin",
"preserve",
"directives"
],
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/seojunhwan/esbuild-plugin-preserve-directives.git"
},
"devDependencies": {
"@changesets/cli": "^2.27.7",
"@types/node": "^20.14.10",
"esbuild": "^0.23.0",
"prettier": "^3.3.3",
"typescript": "^5.5.3"
},
"peerDependencies": {
"esbuild": "^0.21.0"
}
}