-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.36 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
90
91
92
93
94
95
96
97
98
99
100
{
"name": "svg-to-inline",
"version": "0.0.0-development",
"description": "Web Component to fetch an external SVG file and use it inline.",
"homepage": "https://tiagoporto.github.io/svg-to-inline",
"keywords": [
"svg",
"inline",
"fetch",
"include",
"inject",
"web component",
"component"
],
"author": {
"name": "Tiago Porto",
"url": "http://tiagoporto.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tiagoporto/svg-to-inline.git"
},
"license": "MIT",
"engines": {
"node": ">= 20",
"npm": ">= 10"
},
"type": "module",
"customElements": "custom-elements.json",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"module": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./svg-to-inline.js": "./dist/svg-to-inline.js",
"./customElements": "./custom-elements.json"
},
"files": [
"dist",
"custom-elements.json"
],
"scripts": {
"prepack": "npm run build",
"prepare": "husky",
"analyze": "custom-elements-manifest analyze --litelement --exclude demo dist storybook-static \"**/*.(story|stories).*\"",
"compile": "tsc --project tsconfig.compile.json",
"start": "npm run compile && concurrently -k -r \"npm run compile -- --watch --preserveWatchOutput\" \"web-dev-server\"",
"prebuild": "rm -rf dist",
"build": "tsc --project tsconfig.build.json && npm run analyze",
"docs": "npm run analyze && storybook dev -p 6006",
"docs:build": "npm run analyze && storybook build",
"checks": "npm run check-docs && npm run check-formatting && npm run typecheck && npm run lint",
"check-docs": "remark --frail .",
"check-formatting": "prettier --check --ignore-unknown \"**/*\"",
"formatting:fix": "npm run check-formatting -- --write",
"typecheck": "tsc",
"lint": "eslint . --ext js,mjs,ts,html --ignore-path .gitignore --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
"test": "npm run compile && wtr",
"test:coverage": "npm run compile && wtr --coverage",
"test:watch": "npm run compile && concurrently -k -r \"npm run compile -- --watch --preserveWatchOutput\" \"wtr --watch\""
},
"dependencies": {
"lit": "^3.2.1",
"throttle-debounce": "^5.0.2",
"tslib": "^2.8.1"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@custom-elements-manifest/analyzer": "^0.10.3",
"@open-wc/eslint-config": "^12.0.3",
"@open-wc/testing": "^4.0.0",
"@storybook/addon-controls": "^8.4.2",
"@storybook/addon-docs": "^8.4.2",
"@storybook/blocks": "^8.4.2",
"@storybook/test": "^8.4.2",
"@storybook/web-components": "^8.4.2",
"@storybook/web-components-vite": "^8.4.2",
"@tiagoporto/prettier-config": "^1.0.0-alpha.2",
"@tiagoporto/remark-config": "^1.0.0-alpha.1",
"@types/mocha": "^10.0.9",
"@types/throttle-debounce": "^5.0.2",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"@web/dev-server": "^0.4.6",
"@web/test-runner": "^0.19.0",
"concurrently": "^9.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.1.6",
"prettier": "^3.3.3",
"semantic-release": "^24.2.0",
"storybook": "^8.4.2",
"typescript": "^5.6.3"
},
"overrides": {
"conventional-changelog-conventionalcommits": ">=8.0.0"
}
}