-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
140 lines (140 loc) · 5.5 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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "@zextras/carbonio-design-system",
"version": "0.0.0-semantically-released",
"description": "An awesome UI for Zextras Projects.",
"main": "./dist/zapp-ui.bundle.cjs",
"module": "./dist/zapp-ui.bundle.mjs",
"types": "./dist/zapp-ui.bundle.d.ts",
"type": "commonjs",
"files": [
"dist",
"package.json",
"README.md",
"COPYING",
"CHANGELOG.md"
],
"scripts": {
"start": "npm run storybook",
"lint": "eslint --ext .js,.jsx,.ts,.tsx --resolve-plugins-relative-to node_modules/@zextras/carbonio-ui-configs src docs .storybook scripts",
"lint:icons": "eslint --ext .ts,.tsx --resolve-plugins-relative-to node_modules/@zextras/carbonio-ui-configs src/icons --fix",
"test": "(is-ci && jest --runInBand) || jest --maxWorkers=50%",
"test-storybook": "npx playwright install && npm run build:docs -- --test && npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npx http-server ./storybook-static --port 6006 --silent\" \"npx wait-on tcp:127.0.0.1:6006 && test-storybook --maxWorkers=2 --index-json\"",
"test-storybook:update-images": "npx playwright install && npm run build:docs -- --test && npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npx http-server ./storybook-static --port 6006 --silent\" \"npx wait-on tcp:127.0.0.1:6006 && test-storybook --maxWorkers=2 --index-json -u\"",
"icons:build": "tsc ./src/icons/tsTemplate.ts && npx @svgr/cli svg && npm run lint:icons",
"prebuild": "npm run clean",
"build": "npm run build:cjs && npm run build:types",
"build:cjs": "npx rollup -c rollup.config.mjs",
"build:types": "tsc -p tsconfig.types.json && npx @microsoft/api-extractor run --verbose --local && npx tsx scripts/inject-augmentations.ts",
"build:docs": "storybook build",
"clean": "rm -rf dist/* types/*",
"prepack": "npm run build",
"packTo": "npm pack --pack-destination $PKG_PATH && cd $PKG_PATH && npm i zextras-carbonio-design-system-$npm_package_version.tgz",
"deploy": "npm pack && rm -rf $PKG_PATH/node_modules/@zextras/carbonio-design-system/* && tar -xf zextras-carbonio-design-system-$npm_package_version.tgz -C $PKG_PATH/node_modules/@zextras/carbonio-design-system/ --strip-components 1",
"prepare": "is-ci || husky",
"type-check": "tsc --noEmit --noUncheckedSideEffectImports",
"storybook": "storybook dev -p 6006",
"docgen": "npx @react-docgen/cli -o .storybook/docgen-output.json 'src/components/**/*.tsx' -i '**/*.(test|stories|stories.*).tsx' --pretty --resolver find-all-exported-components && npx tsx scripts/order-docgen.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zextras/carbonio-design-system.git"
},
"keywords": [
"Zextras",
"Carbonio",
"ui",
"DesignSystem"
],
"author": "Zextras Frontend Tribe <https://www.zextras.com/carbonio/>",
"license": "AGPL-3.0-only",
"homepage": "https://github.com/Zextras/carbonio-design-system",
"sideEffects": false,
"devDependencies": {
"@babel/core": "^7.26.7",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.7",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@faker-js/faker": "^9.0.1",
"@microsoft/api-extractor": "^7.47.9",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-typescript": "^12.1.2",
"@rollup/plugin-url": "^8.0.2",
"@storybook/addon-actions": "8.5.2",
"@storybook/addon-designs": "8.1.0",
"@storybook/addon-essentials": "8.5.2",
"@storybook/addon-interactions": "8.5.2",
"@storybook/addon-webpack5-compiler-babel": "3.0.5",
"@storybook/blocks": "8.5.2",
"@storybook/components": "8.5.2",
"@storybook/icons": "1.3.2",
"@storybook/react": "8.5.2",
"@storybook/react-webpack5": "8.5.2",
"@storybook/test": "8.5.2",
"@storybook/test-runner": "^0.21.0",
"@svgr/cli": "^8.1.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^29.5.13",
"@types/jest-image-snapshot": "^6.4.0",
"@types/lodash": "^4.17.7",
"@types/react": "^18.3.7",
"@types/react-dom": "^18.3.0",
"@zextras/carbonio-ui-configs": "^1.0.4",
"babel-jest": "^29.7.0",
"babel-loader": "^9.2.1",
"babel-plugin-styled-components": "^2.1.4",
"conventional-changelog-conventionalcommits": "^8.0.0",
"create-index": "2.6.0",
"del": "^7.1.0",
"eslint-plugin-notice": "^1.0.0",
"eslint-plugin-storybook": "^0.11.1",
"husky": "^9.1.6",
"identity-obj-proxy": "^3.0.0",
"is-ci": "^3.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fail-on-console": "^3.3.0",
"jest-image-snapshot": "^6.4.0",
"jest-junit": "^16.0.0",
"jest-styled-components": "^7.2.0",
"jsdom": "^25.0.0",
"lodash": "^4.17.21",
"process": "0.11.10",
"react-docgen": "^7.1.0",
"react-docgen-typescript": "^2.2.2",
"rollup": "^4.30.1",
"rollup-plugin-postcss": "^4.0.2",
"semantic-release": "^24.1.2",
"storybook": "8.5.2",
"storybook-addon-playground": "^1.9.2",
"ts-node": "^10 >=10.9.2",
"typescript": "~5.7.2"
},
"browserslist": [
">1%",
"last 3 version",
"Firefox ESR",
"not dead"
],
"peerDependencies": {
"date-fns": "^4.1.0",
"lodash": "^4.17.21",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"styled-components": "^6.1.13"
},
"dependencies": {
"@floating-ui/dom": "^1.6.11",
"core-js": "^3.38.1",
"darkreader": "^4.9.92",
"polished": "^4.3.1",
"react-datepicker": "^7.5.0"
}
}