-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.66 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.66 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
{
"name": "@pigna/component-library",
"version": "0.1.0",
"description": "A generic, accessible React component library with dark/light theme support.",
"type": "module",
"main": "./dist/component-library.cjs",
"module": "./dist/component-library.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/component-library.js",
"require": "./dist/component-library.cjs"
},
"./styles": "./dist/styles.css"
},
"files": [
"dist"
],
"sideEffects": [
"**/*.scss",
"**/*.css"
],
"scripts": {
"dev": "storybook dev -p 6006",
"build": "tsc -b && vite build && sass src/styles/global.scss dist/styles.css --style=compressed --no-source-map",
"build:storybook": "storybook build",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"lint:styles": "stylelint \"src/**/*.scss\"",
"format": "prettier --write \"src/**/*.{ts,tsx,scss,json,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,scss,json,md}\"",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "npm run lint && npm run test && npm run build"
},
"peerDependencies": {
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@storybook/addon-a11y": "^10.3.4",
"@storybook/addon-docs": "^10.3.4",
"@storybook/react-vite": "^10.3.4",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^22.12.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"@vitest/coverage-v8": "^4.1.2",
"eslint": "^9.39.4",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-storybook": "^10.3.4",
"globals": "^17.4.0",
"jsdom": "^29.0.1",
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"sass": "^1.99.0",
"storybook": "^10.3.4",
"stylelint": "^17.6.0",
"stylelint-config-standard-scss": "^17.0.0",
"typescript": "~6.0.2",
"typescript-eslint": "^8.58.0",
"vite": "^8.0.3",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.1.2"
},
"engines": {
"node": ">=20.19.0 || >=22.12.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Pigna/Component-Library.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"license": "MIT",
"browserslist": [
"last 2 Chrome versions",
"last 2 Edge versions",
"last 2 Firefox versions",
"last 2 Safari versions"
]
}