You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
760 B
29 lines
760 B
{
|
|
"name": "libmonoformat",
|
|
"module": "src/index.ts",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/index.cjs",
|
|
"import": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "bun run buildcjs && bun run buildmjs && bun run builddts",
|
|
"buildcjs": "bun build src/index.ts --target browser --format cjs --outfile dist/index.cjs",
|
|
"buildmjs": "bun build src/index.ts --target browser --format esm --outfile dist/index.mjs",
|
|
"builddts": "bun run build-dts.ts",
|
|
"test": "bun test"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5"
|
|
},
|
|
"dependencies": {
|
|
"@types/mithril": "^2.2.8",
|
|
"mithril": "^2.3.8"
|
|
}
|
|
} |