-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathpackage.json
More file actions
180 lines (180 loc) · 7.73 KB
/
package.json
File metadata and controls
180 lines (180 loc) · 7.73 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "fundamental-styles",
"description": "Fundamental Library Styles is a Design System and HTML/CSS Component Library used to build modern Product User Experiences with SAP look and feel with any web technology. Learn more about this project at - http://sap.github.io/fundamental-styles/",
"type": "module",
"keywords": [
"sap",
"fiori",
"fundamental-styles",
"design-system",
"component-library",
"css-framework",
"html-css-components",
"ui-library",
"fiori-design",
"sap-design",
"accessible",
"wcag",
"theming",
"responsive",
"ai-friendly",
"bem",
"framework-agnostic"
],
"engines": {
"yarn": ">= 4.12.0",
"node": ">= 22"
},
"packageManager": "yarn@4.13.0",
"scripts": {
"transform-stories": "ts-node stories-transformer.ts",
"build": "npx nx build workspace-plugins && npx nx run-many --target=build --all",
"build:prod": "npx nx build workspace-plugins --skip-nx-cache && npx nx run common-css:build --configuration=production --skip-nx-cache && npx nx run styles:build --configuration=production --skip-nx-cache && npx nx run cx:build --configuration=production --skip-nx-cache && npx nx run theming-preview:build --configuration=production --skip-nx-cache && npx nx run mcp:build --skip-nx-cache",
"build:theming-preview": "npx nx run theming-preview:build",
"build:visual-stories": "nx run-many --target=build-visual --all",
"lint:style": "stylelint \"packages/*/src/**/*.(sa|sc|c)ss\"",
"lint:js": "eslint . --ext .js",
"lint": "yarn run sync-entries && yarn run lint:style && yarn run lint:js",
"lint:fix": "yarn run sync-entries fix && yarn run lint:style --fix && yarn run lint:js --fix",
"lint:pre-commit": "echo running pre-commit lint... && yarn run lint && echo done!\n",
"hotfix-release": "node scripts/release-hotfix.mjs",
"size": "bundlesize --config config/bundlesize.json",
"start": "npx nx build workspace-plugins && yarn run build:visual-stories && yarn run storybook:serve",
"start:prod": "yarn run storybook:serve:prod",
"test": "npx vitest --run",
"test:accessibility": "vitest accessibility --run",
"test:update": "npx nx run-many --target=update-storyshots --all",
"storybook": "yarn run storybook:serve",
"storybook:serve": "storybook dev -p 6006",
"storybook:serve:prod": "cross-env NODE_ENV=production yarn run storybook:prep && cross-env NODE_ENV=production yarn run start",
"storybook:ci": "yarn run storybook --ci --quiet",
"storybook:prep": "npx nx build workspace-plugins && yarn run build:visual-stories",
"storybook:static": "yarn run storybook:prep && cross-env STORYBOOK_ENV=docs storybook build -c .storybook -o storybook-static --docs",
"storybook:chromatic": "yarn run storybook:prep && cross-env STORYBOOK_ENV=chromatic storybook build -c .storybook -o storybook-chromatic",
"prepare": "husky install",
"sync-fiori-components": "npx nx build workspace-plugins && npx nx run styles:sync-entry",
"sync-entries": "npx nx build workspace-plugins && npx nx run-many --target sync-entry --all",
"pre-commit": "lint-staged && yarn run lint:pre-commit",
"generate:ai-docs": "yarn generate:ai-metadata && yarn generate:relationships && yarn generate:utility-classes && yarn generate:accessibility && yarn generate:design-tokens",
"generate:ai-metadata": "node scripts/generate-ai-metadata.js",
"generate:relationships": "node scripts/generate-relationship-graph.js",
"generate:utility-classes": "node scripts/generate-utility-classes.js",
"generate:accessibility": "node scripts/generate-accessibility.js && node scripts/merge-accessibility.js",
"generate:design-tokens": "node scripts/generate-design-tokens.js",
"test:ai-docs": "node scripts/test-ai-documentation.js"
},
"repository": {
"type": "git",
"url": "https://github.com/SAP/fundamental-styles.git"
},
"author": "",
"license": "Apache-2.0",
"homepage": "https://sap.github.io/fundamental-styles/",
"devDependencies": {
"@actions/core": "1.11.1",
"@babel/core": "7.23.9",
"@chromatic-com/storybook": "^5.1.1",
"@commitlint/cli": "20.0.0",
"@commitlint/config-conventional": "20.0.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@nx/devkit": "22.6.4",
"@nx/eslint": "22.6.4",
"@nx/eslint-plugin": "22.6.4",
"@nx/js": "22.6.4",
"@nx/plugin": "22.6.4",
"@nx/react": "22.6.4",
"@nx/web": "22.6.4",
"@sap-theming/theming-base-content": "11.35.0",
"@storybook/addon-a11y": "^10.3.5",
"@storybook/addon-docs": "^10.3.5",
"@storybook/addon-links": "^10.3.5",
"@storybook/html-vite": "^10.3.5",
"@storybook/icons": "^2.0.1",
"@swc/core": "1.15.8",
"@testing-library/react": "15.0.6",
"@types/fs-extra": "11.0.4",
"@types/node": "22.12.0",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"autoprefixer": "10.4.21",
"bundlesize": "0.18.2",
"chromatic": "^15.3.0",
"clean-css": "5.3.3",
"clean-css-cli": "5.4.1",
"colors": "1.4.0",
"conventional-changelog": "7.1.1",
"conventional-changelog-angular": "8.1.0",
"conventional-changelog-cli": "5.0.0",
"conventional-recommended-bump": "11.2.0",
"core-js": "3.35.1",
"cross-env": "7.0.3",
"cssnano": "7.0.5",
"eslint": "8.57.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.1",
"eslint-plugin-react": "7.31.11",
"eslint-plugin-react-hooks": "5.0.0",
"eslint-plugin-storybook": "^10.3.5",
"fast-glob": "3.3.2",
"fs-extra": "11.2.0",
"git-semver-tags": "4.1.1",
"glob": "8.0.3",
"husky": "7.0.4",
"jsonc-eslint-parser": "2.1.0",
"lerna": "8.2.1",
"lint-staged": "12.4.2",
"lodash": "4.18.1",
"markdown-to-jsx": "7.1.2",
"normalize.css": "8.0.1",
"npm-run-all": "4.1.5",
"nx": "22.6.4",
"nx-stylelint": "17.1.4",
"postcss": "8.4.38",
"postcss-banner": "4.0.1",
"postcss-cli": "9.1.0",
"postcss-import": "14.1.0",
"postcss-normalize-charset": "4.0.1",
"postcss-scss": "4.0.9",
"prettier": "^3.2.5",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-is": "18.3.1",
"remark-gfm": "4.0.1",
"sass": "1.70.0",
"semver": "7.5.4",
"standard-version": "9.3.2",
"start-server-and-test": "1.14.0",
"storybook": "^10.3.5",
"stylelint": "16.8.2",
"stylelint-config-standard": "36.0.1",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-scss": "6.1.0",
"through2": "4.0.2",
"tocbot": "4.12.3",
"ts-node": "10.9.2",
"tslib": "2.3.0",
"typescript": "5.9.3",
"vite": "7.3.2",
"vite-tsconfig-paths": "6.1.1",
"vitest": "0.30.1",
"vitest-axe": "0.1.0",
"zod": "^4.3.6"
},
"resolutions": {
"nx": "22.6.4"
},
"browserslist": [
"last 2 versions"
],
"lint-staged": {
"{packages,stories,.storybook}/**/*.(sa|sc|c)ss": "stylelint --fix",
"*.js": "eslint --fix"
},
"dependencies": {
"@vitejs/plugin-react": "5.1.4",
"fast-deep-equal": "3.1.3",
"jsdom": "20.0.1"
}
}