-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3.11 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 3.11 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
{
"name": "hyper-light-card",
"version": "1.0.0",
"description": "A custom Lovelace card for Home Assistant to control SignalRGB",
"author": "Stefanie Jane <stef@hyperbliss.tech>",
"license": "Apache 2.0",
"keywords": [
"home-assistant",
"lovelace",
"custom-card",
"signalrgb"
],
"repository": {
"type": "git",
"url": "https://github.com/hyperb1iss/hyper-light-card.git"
},
"bugs": {
"url": "https://github.com/hyperb1iss/hyper-light-card/issues"
},
"homepage": "https://github.com/hyperb1iss/hyper-light-card#readme",
"main": "target/hyper-light-card.js",
"module": "target/hyper-light-card.js",
"type": "module",
"scripts": {
"start": "vite --host",
"build": "NODE_ENV=production vite build && npx terser target/hyper-light-card.js -o target/hyper-light-card.js --compress drop_console=false,pure_funcs=['console.debug','console.warn'] --mangle --format \"comments=false,preamble='/* Hyper Light Card v${npm_package_version} - Apache 2.0 Licensed */'\"",
"build:dev": "NODE_ENV=development vite build",
"build:hacs": "NODE_ENV=production vite build",
"dev": "npm run build:dev && npm run copy:hass",
"copy:hass": "node scripts/copy-to-hass.js",
"lint": "eslint src tests",
"lint:fix": "eslint src tests --fix",
"format": "prettier --write 'src/**/*.{ts,js,css,json}' 'tests/**/*.{ts,js}'",
"test": "vitest run --config tests/config/vitest.config.ts",
"test:watch": "vitest --config tests/config/vitest.config.ts",
"test:coverage": "vitest run --coverage --config tests/config/vitest.config.ts",
"prepare": "npm run build",
"preview": "vite preview"
},
"dependencies": {
"chroma-js": "3.1.2",
"colorthief": "2.6.0",
"custom-card-helpers": "^1.9.0",
"lit": "3.2.1"
},
"devDependencies": {
"@eslint/js": "^9.22.0",
"@testing-library/jest-dom": "^6.1.4",
"@typescript-eslint/eslint-plugin": "8.26.1",
"@typescript-eslint/parser": "8.26.1",
"@types/chroma-js": "2.4.5",
"@types/node": "22.13.10",
"@types/testing-library__jest-dom": "^5.14.9",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "10.4.21",
"cssnano": "^7.0.6",
"eslint": "9.22.0",
"eslint-config-prettier": "10.1.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-lit": "^1.15.0",
"eslint-plugin-prettier": "5.2.3",
"jsdom": "26.0.0",
"lint-staged": "15.5.0",
"prettier": "3.5.3",
"sass": "1.85.1",
"terser": "5.39.0",
"typescript": "^5.8.2",
"vite": "6.2.2",
"vitest": "3.0.8",
"@vitest/coverage-istanbul": "3.0.8",
"tslib": "^2.8.1"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{css,scss,json,md}": [
"prettier --write"
]
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:lit/recommended",
"plugin:prettier/recommended"
]
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "es5",
"printWidth": 100,
"tabWidth": 2
},
"engines": {
"node": ">=16.0.0"
}
}