forked from joe-bell/cva
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
58 lines (58 loc) · 1.81 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "cvax",
"version": "0.8.0",
"description": "Customized CVA. fork 'class-variance-authority'",
"repository": "https://github.com/alexvyber/cvax.git",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"main": "src/index.ts",
"module": "src/index.ts",
"types": "src/index.ts",
"files": ["dist/"],
"scripts": {
"build": "pnpm build:cjs && pnpm build:esm && pnpm build:tsc",
"build:cjs": "swc ./src/index.ts --config-file ./.config/.swcrc -o dist/index.js -C module.type=commonjs",
"build:esm": "swc ./src/index.ts --config-file ./.config/.swcrc -o dist/index.mjs -C module.type=es6 ",
"build:tsc": "tsc --project .config/tsconfig.build.json ",
"dev": "vitest",
"docs:build": "vitepress build docs",
"docs:dev": "vitepress dev docs",
"docs:preview": "vitepress preview docs",
"format": "biome format --write .",
"lint": "biome lint --write .",
"lint:unsafe": "biome lint --write --unsafe .",
"prepublishOnly": "pnpm build",
"test": "run-p test:*",
"test:vitest": "vitest ./src/index.test.ts",
"tsc": "tsc --project tsconfig.json --noEmit"
},
"dependencies": {
"@alexvyber/classic": "^0.1.3",
"@swc/cli": "0.4.0",
"@swc/core": "1.7.11",
"vitepress": "^1.3.2"
},
"devDependencies": {
"@stylexjs/stylex": "^0.7.5",
"@types/node": "^22.3.0",
"tsx": "^4.17.0",
"typescript": "5.5.4",
"vitest": "^2.0.5"
},
"packageManager": "[email protected]+sha1.8adba2d20330c02d3856e18c4eb3819d1d3ca6aa",
"publishConfig": {
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts"
}
}