-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.1 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 2.1 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
{
"name": "surface",
"version": "1.0.0",
"description": "Storybook Drupal theme",
"author": "UCLA Health",
"license": "GPL-2.0+",
"type": "module",
"browserslist": [
"last 2 versions and not dead",
">= 1%",
">= 1% in US"
],
"scripts": {
"vite:build": "vite build",
"vite:watch": "vite build --watch",
"storybook:dev": "storybook dev -p 6006",
"storybook:build": "storybook build -o storybook",
"storybook:test": "test-storybook",
"build": "npm run lint:check && npm run format:check && npm run stylelint:check && npm run vite:build",
"watch": "npm run vite:watch & npm run storybook:dev",
"lint:check": "biome check source",
"lint:fix": "biome check --write source",
"format:check": "biome format source",
"format:write": "biome format --write source",
"stylelint:check": "stylelint './source/patterns/**/*.css'",
"stylelint:fix": "stylelint --fix './source/patterns/**/*.css'",
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "^2.0.4",
"@csstools/postcss-global-data": "^3.0.0",
"@drupal/once": "^1.0.1",
"@modyfi/vite-plugin-yaml": "^1.1.1",
"@storybook/addon-a11y": "^9.0.4",
"@storybook/addon-docs": "^9.0.4",
"@storybook/addon-links": "^9.0.4",
"@storybook/addon-themes": "^9.0.4",
"@storybook/html-vite": "^9.0.4",
"autoprefixer": "^10.4.21",
"glob": "^11.0.1",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"postcss": "^8.5.3",
"postcss-import": "^16.1.0",
"postcss-import-ext-glob": "^2.1.1",
"postcss-nested": "^7.0.2",
"postcss-preset-env": "^10.1.5",
"remark-gfm": "^4.0.1",
"storybook": "^9.0.4",
"stylelint": "^16.21.0",
"stylelint-config-standard": "^38.0.0",
"stylelint-order": "^7.0.0",
"stylelint-selector-pseudo-class-lvhfa": "^3.1.1",
"twig": "^1.17.1",
"twig-drupal-filters": "^3.2.0",
"vite": "^6.2.2",
"vite-plugin-twig-drupal": "^1.6.0"
},
"lint-staged": {
"source/**/*.{js,ts,jsx,tsx}": [
"npx biome check",
"npx biome format"
],
"source/**/*.css": [
"stylelint"
]
}
}