-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 3.12 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 3.12 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "@moisa/react-compound",
"version": "1.1.0",
"description": "Modern, installable React compound-components library with TypeScript and Tailwind v4. Ships ESM, CJS, and types.",
"license": "MIT",
"type": "module",
"author": {
"name": "Tedy Gabriel Moisa",
"email": "moisatedy@gmail.com",
"url": "https://npm.moisa.work"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tedymoisa/react-compound.git"
},
"bugs": {
"url": "https://github.com/tedymoisa/react-compound/issues"
},
"homepage": "https://github.com/tedymoisa/react-compound#readme",
"private": false,
"publishConfig": {
"access": "restricted",
"registry": "https://npm.moisa.work/"
},
"keywords": [
"react",
"components",
"compound-components",
"typescript",
"tailwind",
"ui-library",
"esm",
"cjs"
],
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./styles": {
"default": "./dist/styles/index.css"
}
},
"sideEffects": [
"./dist/styles/index.css"
],
"files": [
"dist"
],
"scripts": {
"build": "pnpm -s build:ts && pnpm -s build:css",
"build:ts": "pnpm -s typecheck && tsup",
"build:css": "pnpm tailwindcss -i ./src/styles/tailwind.css -o ./dist/styles/index.css -m",
"dev": "pnpm -s build:css && tsup --watch",
"test": "vitest",
"test:watch": "vitest --watch",
"typecheck": "tsc --noEmit",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"format": "prettier -w .",
"clean": "rimraf dist || rm -rf dist",
"prepublishOnly": "pnpm -s build",
"release:local": "semantic-release --no-ci --dry-run"
},
"engines": {
"node": ">=18.17",
"pnpm": ">=8"
},
"peerDependencies": {
"react": ">=18.2.0 <20",
"react-dom": ">=18.2.0 <20"
},
"dependencies": {
"clsx": "^2.1.1",
"tailwind-merge": "^3.3.1"
},
"devDependencies": {
"@eslint/js": "^9.36.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^12.0.2",
"@semantic-release/release-notes-generator": "^14.1.0",
"@tailwindcss/cli": "^4.1.13",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.1.14",
"@types/react-dom": "^19.1.9",
"conventional-changelog-conventionalcommits": "^9.1.0",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-vitest": "^0.5.4",
"globals": "^16.4.0",
"jsdom": "^27.0.0",
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.6.14",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.9",
"tailwindcss": "^4.1.13",
"tsup": "^8.5.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.44.1",
"vitest": "^3.2.4"
}
}