-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
97 lines (97 loc) · 3.3 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
{
"name": "smarthr-design-system",
"description": "Documentation page for SmartHR's design system",
"author": "SmartHR Design System Team",
"license": "MIT",
"type": "module",
"lint-staged": {
"*.{astro,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"src/content/**/*.md{,x}": [
"textlint",
"tsx scripts/content-checker/linkChecker.ts --fix"
]
},
"scripts": {
"dev": "pnpm update:ui-data && astro dev",
"start": "pnpm dev",
"build": "pnpm update:ui-data && astro build",
"build:prod": "pnpm build && pnpm tsx ./scripts/update-algoliasearch.ts",
"preview": "astro preview",
"astro": "astro",
"lint:ts": "eslint 'src/**/*.{astro,ts,tsx}'",
"lint:text": "textlint 'src/content/**/*.md{,x}'",
"lint": "run-p lint:*",
"format:eslint": "eslint --fix 'src/**/*.{astro,ts,tsx}'",
"format:prettier": "prettier --write .",
"format:text": "textlint --fix 'src/content/**/*.md{,x}'",
"format": "run-s format:*",
"export:zip-images": "tsx ./scripts/zipImages.ts",
"update:ui-data": "tsx ./scripts/fetch-ui-data.ts",
"update:smarthr-ui.css": "tsx scripts/update-smarthr-ui-css.ts",
"generate:thumbnails": "tsx ./scripts/component-thumbnails/componentThumbnails.ts",
"postinstall": "cp node_modules/smarthr-ui/smarthr-ui.css public/",
"prepare": "husky"
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^3.1.9",
"@astrojs/partytown": "^2.1.2",
"@astrojs/react": "^3.6.2",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"algoliasearch": "^5.13.0",
"astro": "^4.16.10",
"clsx": "^2.1.1",
"marked": "^14.1.4",
"prism-react-renderer": "^2.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-frame-component": "^5.2.7",
"react-instantsearch": "^7.13.7",
"react-instantsearch-core": "^7.13.7",
"react-live": "^4.1.7",
"smarthr-normalize-css": "^1.1.0",
"smarthr-ui": "^60.1.1",
"styled-components": "^6.1.13",
"typescript": "^5.6.3"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@storybook/types": "^8.4.2",
"@types/adm-zip": "^0.5.6",
"@types/mdast": "^4.0.4",
"@types/unist": "^3.0.3",
"@typescript-eslint/parser": "^8.13.0",
"adm-zip": "^0.5.16",
"eslint": "^9.14.0",
"eslint-config-smarthr": "^7.2.0",
"eslint-plugin-astro": "^1.3.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-mdx": "^3.1.5",
"gray-matter": "^4.0.3",
"hast-util-select": "^6.0.3",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"node-html-parser": "^6.1.13",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"prettier-config-smarthr": "^1.0.0",
"prettier-plugin-astro": "^0.14.1",
"remark": "^15.0.1",
"remark-emoji": "^5.0.1",
"sass-embedded": "^1.80.6",
"sharp": "^0.33.5",
"textlint": "^14.3.0",
"textlint-filter-rule-allowlist": "^4.0.0",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-plugin-mdx": "^1.0.1",
"textlint-rule-preset-smarthr": "^1.32.0",
"textlint-rule-prh": "^6.0.0",
"tsx": "^4.19.2",
"unist-util-visit": "^5.0.0"
},
"packageManager": "[email protected]+sha512.88c9c3864450350e65a33587ab801acf946d7c814ed1134da4a924f6df5a2120fd36b46aab68f7cd1d413149112d53c7db3a4136624cfd00ff1846a0c6cef48a"
}