-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 4.45 KB
/
package.json
File metadata and controls
122 lines (122 loc) · 4.45 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
113
114
115
116
117
118
119
120
121
122
{
"name": "@constructor-io/constructorio-ui-components",
"version": "0.0.0",
"description": "Constructor UI Components library for web applications",
"author": "Constructor.io Corporation",
"license": "MIT",
"type": "module",
"homepage": "https://github.com/Constructor-io/constructorio-ui-components#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Constructor-io/constructorio-ui-components.git"
},
"bugs": {
"url": "https://github.com/Constructor-io/constructorio-ui-components/issues"
},
"main": "lib/cjs/index.js",
"module": "lib/mjs/index.js",
"types": "lib/types/index.d.ts",
"exports": {
"./styles.css": {
"import": "./lib/mjs/styles.css",
"require": "./lib/cjs/styles.css"
},
".": {
"types": "./lib/types/index.d.ts",
"import": "./lib/mjs/index.js",
"require": "./lib/cjs/index.js"
},
"./cjs": {
"types": "./lib/types/index.d.ts",
"import": "./lib/cjs/index.js",
"require": "./lib/cjs/index.js"
}
},
"files": [
"lib/**/*"
],
"scripts": {
"lint": "eslint src --ext js,ts,jsx,tsx",
"check-types": "npx tsc --noEmit",
"copy-styles": "npx @tailwindcss/cli -i src/styles.css -o lib/mjs/styles.css && npx @tailwindcss/cli -i src/styles.css -o lib/cjs/styles.css",
"copy-svgs": "npx copyfiles --flat \"src/assets/svgs/**/*.svg\" lib/mjs/assets/svgs/ && npx copyfiles --flat \"src/assets/svgs/**/*.svg\" lib/cjs/assets/svgs/",
"dev": "storybook dev -p 6006",
"test": "vitest run --config vitest.config.unit.ts",
"storybook:ci": "storybook dev --ci --quiet -p 6006",
"build-storybook": "storybook build --docs -o 'docs'",
"storybook-docs-dev": "storybook dev --docs -p 6007",
"serve-built-storybook": "npx http-server docs",
"compile": "rm -rf lib && tsc -p tsconfig-mjs.json && tsc -p tsconfig-cjs.json && npm run copy-svgs && npm run remove-aliases && npm run copy-styles",
"remove-aliases": "tsc-alias -p tsconfig-mjs.json && tsc-alias -p tsconfig-cjs.json",
"check-license": "license-checker --production --onlyAllow 'Apache-2.0;BSD-3-Clause;MIT;0BSD;BSD-2-Clause;ISC;BlueOak-1.0.0' --excludePackages 'picocolors@1.0.0;graceful-fs@4.2.11;lightningcss@1.30.1;lightningcss-darwin-arm64@1.30.1;lightningcss-linux-x64-gnu@1.30.1;lightningcss-linux-x64-musl@1.30.1'",
"storybook": "storybook dev -p 6006"
},
"peerDependencies": {
"react": ">=16.12.0",
"react-dom": ">=16.12.0",
"tslib": "^2.4.0"
},
"devDependencies": {
"@babel/core": "^7.28.3",
"@babel/preset-env": "^7.28.3",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@chromatic-com/storybook": "^4.1.1",
"@cspell/eslint-plugin": "^9.2.0",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.33.0",
"@storybook/addon-a11y": "^9.1.3",
"@storybook/addon-docs": "^9.1.3",
"@storybook/addon-vitest": "^9.1.3",
"@storybook/react-vite": "^9.1.3",
"@tailwindcss/cli": "^4.1.13",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@types/node": "^24.3.1",
"@types/react": "^19.1.11",
"@types/react-dom": "^19.1.7",
"@vitejs/plugin-react": "^5.0.0",
"@vitest/browser": "^3.2.4",
"eslint": "^9.33.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"eslint-plugin-storybook": "^9.1.3",
"globals": "^16.3.0",
"jsdom": "^27.0.0",
"license-checker": "^25.0.1",
"lint-staged": "^16.1.5",
"playwright": "^1.56.1",
"prettier": "3.6.2",
"remark-gfm": "^4.0.1",
"start-server-and-test": "^2.0.13",
"storybook": "^9.1.17",
"tsc-alias": "^1.8.16",
"tw-animate-css": "^1.3.8",
"typescript": "~5.8.3",
"typescript-eslint": "^8.39.1",
"vite": "^7.1.12",
"vitest": "^3.2.4"
},
"volta": {
"node": "22.18.0",
"npm": "11.5.2"
},
"dependencies": {
"@radix-ui/react-slot": "^1.2.3",
"@tailwindcss/vite": "^4.1.13",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"embla-carousel-autoplay": "^8.6.0",
"embla-carousel-react": "^8.6.0",
"lucide-react": "^0.543.0",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.13"
}
}