Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.63 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.63 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
{
"name": "pbcomponents-monorepo",
"version": "0.0.0",
"description": "UI component library for React with Typescript and Tailwind",
"main": "index.js",
"private": true,
"workspaces": [
"./workspaces/*"
],
"engines": {
"node": ">=22.x"
},
"scripts": {
"dev:components": "npm run --workspace=@prosazhin/pbcomponents dev",
"dev:storybook": "npm run --workspace=pbcomponents-storybook dev",
"dev": "npm-run-all -p dev:*",
"build:components": "npm run --workspace=@prosazhin/pbcomponents build",
"build": "npm run build:components",
"lint": "npm run lint --workspaces --if-present",
"test": "npm run --workspace=@prosazhin/pbcomponents test",
"format": "prettier --write \"**/*.{css,js,jsx,ts,tsx,md,mdx,json}\"",
"install-force": "npm install --force",
"clean": "npm run clean:build --workspaces --if-present && npm run clean:modules --workspaces --if-present && rm package-lock.json && rimraf ./node_modules",
"prepare": "npx simple-git-hooks"
},
"author": "Evgenii Sazhin <prosazhin@gmail.com> (https://prosazhin.dev)",
"license": "MIT",
"simple-git-hooks": {
"pre-commit": "npx --no-install lint-staged --concurrent false",
"pre-push": "npm run format",
"commit-msg": "npx --no-install commitlint --edit ${1}"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"prettier": {
"bracketSpacing": true,
"semi": true,
"useTabs": false,
"trailingComma": "all",
"printWidth": 140,
"tabWidth": 2,
"jsxSingleQuote": true,
"singleQuote": true,
"quoteProps": "as-needed",
"arrowParens": "always",
"endOfLine": "lf",
"organizeImportsSkipDestructiveCodeActions": true,
"plugins": [
"prettier-plugin-organize-imports",
"prettier-plugin-tailwindcss"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"dependencies": {
"@prosazhin/pbcomponents": "*"
},
"overrides": {
"postcss": "^8.5.18",
"fast-uri": "^3.1.6",
"@microsoft/api-extractor": {
".": "^7.58.2",
"lodash": "^4.18.1",
"minimatch": "10.2.3"
},
"flatted": "^3.4.2",
"vite": "^7.3.5",
"yaml": "^2.8.3",
"shell-quote": "^1.8.4",
"esbuild": "^0.28.1",
"@babel/core": "^7.29.6",
"js-yaml": "^4.3.2"
},
"devDependencies": {
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"lint-staged": "^16.4.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.8.1",
"prettier-plugin-organize-imports": "^4.3.0",
"prettier-plugin-tailwindcss": "^0.7.2",
"rimraf": "^6.1.3",
"simple-git-hooks": "^2.13.1"
}
}