-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.35 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
{
"name": "@andreasphil/command-bar",
"version": "0.5.0",
"description": "⌘K command bar web component",
"author": "Andreas Philippi",
"license": "MIT",
"type": "module",
"repository": "https://github.com/andreasphil/command-bar",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/commandBar.js",
"types": "./dist/commandBar.d.ts"
},
"./style.css": {
"import": "./dist/commandBar.css"
}
},
"scripts": {
"dev": "node --run build:bundle -- --watch --servedir=.",
"test": "node --test --experimental-strip-types",
"test:build": "esbuild src/commandBar.js --bundle --target=es2023 --format=esm --outdir=dist --sourcemap",
"test:watch": "node --test --experimental-strip-types --watch",
"build": "node --run build:types && node --run build:bundle",
"build:types": "tsc",
"build:bundle": "esbuild src/commandBar.js src/commandBar.css --bundle --minify --target=es2023 --format=esm --outdir=dist --sourcemap",
"preversion": "node --run test && node --run build; git add dist/"
},
"dependencies": {
"@andreasphil/c8": "github:andreasphil/c8#v0.5.0",
"@andreasphil/design-system": "github:andreasphil/design-system#v0.40.0"
},
"devDependencies": {
"esbuild": "^0.24.0",
"jsdom": "^25.0.1",
"typescript": "^5.6.3"
},
"packageManager": "pnpm@9.14.2"
}