-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
89 lines (89 loc) · 2.27 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
{
"name": "battery-state-card",
"version": "3.2.1",
"description": "Battery State card for Home Assistant",
"main": "dist/battery-state-card.js",
"author": "Max Chodorowski",
"license": "MIT",
"keywords": [
"battery",
"state",
"home",
"assistant",
"lovelace"
],
"repository": {
"type": "git",
"url": "https://github.com/maxwroc/battery-state-card.git"
},
"scripts": {
"build": "rollup -c",
"release": "rollup --environment RELEASE -c",
"watch": "rollup -c --watch",
"test": "jest",
"test+integration": "jest --testPathPattern=\"test/(entity|card)\"",
"test+coverage": "jest --coverage",
"test+coverage+unit": "jest --coverage --testPathPattern=test/other",
"test+debug": "SET DEBUG_MODE=1&&jest"
},
"jest": {
"projects": [
{
"preset": "ts-jest",
"runner": "jest-electron/runner",
"testEnvironment": "jest-electron/environment",
"testMatch": [
"<rootDir>/test/card/**/*.test.ts",
"<rootDir>/test/entity/**/*.test.ts"
],
"verbose": false,
"setupFilesAfterEnv": [
"<rootDir>/dist/battery-state-card.js"
],
"globals": {
"ts-jest": {
"isolatedModules": true
}
},
"coveragePathIgnorePatterns": [
"<rootDir>/test"
]
},
{
"preset": "ts-jest",
"testMatch": [
"<rootDir>/test/other/**/*.test.ts"
],
"verbose": false,
"globals": {
"ts-jest": {
"isolatedModules": true
}
},
"coveragePathIgnorePatterns": [
"<rootDir>/test"
]
}
]
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.5",
"@types/jest": "^27.4.0",
"jest": "^24.9.0",
"jest-electron": "^0.1.12",
"rollup": "^2.79.1",
"rollup-plugin-import-css": "^3.3.5",
"rollup-plugin-minify-html-literals": "^1.2.6",
"rollup-plugin-serve": "^2.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-version-injector": "^1.3.3",
"ts-jest": "^24.3.0",
"tslib": "^2.5.3",
"typescript": "^5.2.2"
},
"dependencies": {
"custom-card-helpers": "^1.9.0",
"lit": "^2.8.0"
}
}