-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 1.55 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
{
"name": "mgv",
"workspaces": ["src", "test"],
"module": "src/index.ts",
"private": true,
"type": "module",
"scripts": {
"build": "bun run clean && bun run build:cjs && bun run build:esm && bun run build:types",
"build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./src/_cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./src/_cjs/package.json",
"build:esm": "tsc --project ./tsconfig.build.json --module es2015 --outDir ./src/_esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./src/_esm/package.json",
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./src/_types --emitDeclarationOnly --declaration --declarationMap",
"changeset": "changeset",
"changeset:publish": "bun run prepublishOnly && bun run build && changeset publish",
"changeset:version": "changeset version",
"clean": "rimraf src/_esm src/_cjs src/_types",
"lint": "biome check .",
"lint:fix": "biome check . --write",
"prepublishOnly": "bun scripts/prepublishOnly.ts",
"test": "vitest -c ./test/vitest.config.ts dev",
"test:ci": "CI=true vitest -c ./test/vitest.config.ts --retry=3"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/bun": "^1.1.8",
"@vitest/coverage-v8": "^2.0.5",
"globby": "^14.0.2",
"rimraf": "^6.0.1",
"viem": "^2.21.2",
"vitest": "^2.0.5",
"prool": "^0.0.16"
},
"peerDependencies": {
"typescript": "^5.5.4"
},
"dependencies": {
"@changesets/cli": "^2.27.8"
}
}