-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.04 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 1.04 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
{
"name": "@deal-scale/action-bar",
"version": "0.1.0",
"description": "Global Command Palette (Action Bar) — React provider + Web Component with UMD build",
"private": false,
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./umd": {
"default": "./dist/umd/index.js"
}
},
"files": ["dist", "_docs", "README.md"],
"sideEffects": ["**/web/**"],
"scripts": {
"build": "tsup --config tsup.config.ts",
"build:lib": "tsup index.ts --format esm,cjs --dts --sourcemap --clean --skip-node-modules-bundle --tsconfig ../../tsconfig.json",
"build:umd": "tsup web/index.ts --format iife --global-name DealActionBarUMD --minify --sourcemap --out-dir dist/umd --no-splitting --platform browser --tsconfig ../../tsconfig.json"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"tsup": "^8.0.1",
"typescript": "^5.6.2"
}
}