-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 1.77 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
{
"name": "home-assistant-styles-manager",
"version": "3.1.0",
"description": "Manage Home Assistant styles per DOM elements",
"keywords": [
"css",
"styles",
"home-assistant",
"shadow-dom",
"shadow-root",
"javascript-library",
"library"
],
"main": "dist/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
}
}
},
"files": [
"dist/**/*"
],
"author": "ElChiniNet",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/elchininet/home-assistant-styles-manager"
},
"scripts": {
"build": "pnpm clean && rollup --config rollup.config.js --bundleConfigAsCjs",
"clean": "rm -rf dist",
"test:ts": "tsc --noEmit",
"test:lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\"",
"test:unit": "jest --clearCache && jest --verbose --coverage",
"test:all": "pnpm test:ts && pnpm test:lint && pnpm test:unit",
"prepare": "pnpm build",
"prepublishOnly": "pnpm test:all",
"version": "git add .",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@types/eslint": "^9.6.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.5",
"eslint": "^9.18.0",
"eslint-plugin-jest": "^28.10.0",
"globals": "^15.14.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"rollup": "4.30.1",
"rollup-plugin-ts": "^3.4.5",
"ts-jest": "^29.2.5",
"tslib": "^2.8.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.19.1"
}
}