-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.27 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 2.27 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
{
"name": "canvas-cc-starter",
"version": "0.0.0",
"private": true,
"description": "Get the latest experimental features for Drupal Canvas Code Components with this template repository for Drupal Canvas Create.",
"repository": {
"type": "git",
"url": "git+https://github.com/balintbrews/canvas-starter.git"
},
"author": "Bálint Kléri (https://balintbrews.com)",
"bugs": "https://github.com/balintbrews/canvas-starter/issues",
"homepage": "https://github.com/balintbrews/canvas-starter#readme",
"type": "module",
"engines": {
"node": ">=22.22.1"
},
"dependencies": {
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"drupal-canvas": "^0.4.3",
"drupal-jsonapi-params": "^3.0.1",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"swr": "^2.4.2",
"tailwind-merge": "^3.6.0"
},
"devDependencies": {
"@drupal-canvas/cli": "^0.21.2",
"@drupal-canvas/eslint-config": "^0.7.0",
"@drupal-canvas/workbench": "^0.9.0",
"@eslint/js": "^9.39.5",
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
"@tailwindcss/typography": "^0.5.20",
"@types/react": "^19.2.18",
"eslint": "^9.39.5",
"husky": "^9.1.7",
"lint-staged": "^17.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.9.6",
"prettier-plugin-tailwindcss": "^0.8.1",
"tailwindcss": "^4.3.3",
"tsc-files": "^1.1.4",
"typescript": "^6.0.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,html,md,mdx,yml,yaml}": "prettier --write",
"*.{js,jsx,ts,tsx}": "eslint --fix",
"*.{ts,tsx}": "npm run s:typecheck:staged --"
},
"scripts": {
"dev": "canvas-workbench",
"code:check": "run-s -c -n code:check:**",
"code:check:prettier": "npm run s:prettier -- --check",
"code:check:eslint": "npm run s:eslint",
"code:check:type": "npm run s:typecheck",
"code:fix": "run-s -c -n code:fix:**",
"code:fix:prettier": "npm run s:prettier -- --write",
"code:fix:eslint": "npm run s:eslint -- --fix",
"code:fix:type": "npm run s:typecheck",
"s:prettier": "prettier \"**/*.{js,jsx,ts,tsx,json,html,md,mdx,yml,yaml}\"",
"s:eslint": "eslint \"**/*.{js,jsx,ts,tsx,yml,yaml}\"",
"s:typecheck:staged": "tsc-files --noEmit --project tsconfig.json",
"s:typecheck": "tsc --noEmit",
"prepare": "husky"
}
}