-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
34 lines (34 loc) · 992 Bytes
/
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
{
"name": "micromorph",
"version": "0.4.5",
"main": "./index.mjs",
"types": "./types.d.ts",
"exports": {
".": "./index.mjs",
"./spa": "./dist/spa.js",
"./nav": "./dist/nav.js"
},
"files": [
"index.mjs",
"index.d.ts",
"spa.d.ts",
"nav.d.ts",
"dist/"
],
"packageManager": "[email protected]",
"scripts": {
"build": "pnpm run build:index && pnpm run build:spa && pnpm run build:nav",
"build:index": "esbuild src/index.ts --bundle --format=esm --target=es2020 --outfile=dist/index.js --minify",
"build:spa": "esbuild src/spa.ts --bundle --format=esm --target=es2020 --outfile=dist/spa.js --minify",
"build:nav": "esbuild src/nav.ts --bundle --format=esm --target=es2020 --outfile=dist/nav.js --minify",
"demo": "pnpm --filter demo run build && pnpm --filter demo run preview"
},
"devDependencies": {
"@changesets/cli": "^2.22.0",
"esbuild": "^0.14.14"
},
"volta": {
"node": "18.16.0"
},
"license": "MIT"
}