This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 2.58 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
101
102
103
{
"author": {
"name": "Oscar Palmér",
"url": "https://oscarpalmer.se"
},
"dependencies": {
"@oscarpalmer/timer": "^0.17"
},
"description": "A collection of web components.",
"devDependencies": {
"esbuild": "^0.19",
"prettier": "^3.0.0",
"xo": "^0.56"
},
"exports": {
".": {
"types": "./src/index.d.ts",
"import": "./dist/esm/index.js",
"default": "./dist/iife/index.js"
},
"./accordion": {
"types": "./src/accordion.d.ts",
"import": "./dist/esm/accordion.js",
"default": "./dist/iife/accordion.js"
},
"./colour-picker": {
"types": "./src/colour-picker.d.ts",
"import": "./dist/esm/colour-picker.js",
"default": "./dist/iife/colour-picker.js"
},
"./dialog": {
"types": "./src/dialog.d.ts",
"import": "./dist/esm/dialog.js",
"default": "./dist/iife/dialog.js"
},
"./disclosure": {
"types": "./src/disclosure.d.ts",
"import": "./dist/esm/disclosure.js",
"default": "./dist/iife/disclosure.js"
},
"./focus-trap": {
"types": "./src/focus-trap.d.ts",
"import": "./dist/esm/focus-trap.js",
"default": "./dist/iife/focus-trap.js"
},
"./popover": {
"types": "./src/popover.d.ts",
"import": "./dist/esm/popover.js",
"default": "./dist/iife/popover.js"
},
"./splitter": {
"types": "./src/splitter.d.ts",
"import": "./dist/esm/splitter.js",
"default": "./dist/iife/splitter.js"
},
"./tooltip": {
"types": "./src/tooltip.d.ts",
"import": "./dist/esm/tooltip.js",
"default": "./dist/iife/tooltip.js"
}
},
"files": [
"dist",
"types"
],
"jsdelivr": "dist/iife/index.js",
"keywords": [
"component",
"components",
"frontend",
"progressive enhancement",
"web component",
"web components"
],
"license": "MIT",
"main": "dist/iife/index.js",
"module": "dist/esm/index.js",
"name": "@oscarpalmer/components",
"repository": {
"type": "git",
"url": "git+https://github.com/oscarpalmer/components.git"
},
"scripts": {
"build": "node .esbuild.js",
"types": "./node_modules/.bin/tsc ./src/*.js --allowJs --declaration --declarationDir ./types --emitDeclarationOnly --removeComments",
"watch": "esbuild ./src/index.js --bundle --watch --format=esm --main-fields=module,main --outfile=dist/esm/index.js --platform=neutral --target=esnext",
"xo": "./node_modules/.bin/xo ./src/*.js ./src/helpers/*.js --env browser"
},
"type": "module",
"types": "src/index.d.ts",
"unpkg": "dist/iife/index.js",
"version": "0.34.1",
"xo": {
"envs": [
"browser"
],
"prettier": true,
"rules": {
"import/no-unassigned-import": "off",
"no-use-extend-native/no-use-extend-native": "off"
}
}
}