-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.45 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.45 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
{
"name": "pure-custom-select",
"version": "1.1.5",
"description": "A lightweight, high-performance custom select web component with native mobile fallback, keyboard support, and built-in filtering.",
"type": "module",
"main": "index.js",
"module": "index.js",
"browser": "index.js",
"types": "./types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./index.js",
"default": "./index.js"
},
"./custom-select.js": {
"types": "./types/custom-select.d.ts",
"import": "./custom-select.js",
"default": "./custom-select.js"
},
"./dist/custom-select.min.js": "./dist/custom-select.min.js",
"./dist/custom-select.min.css": "./dist/custom-select.min.css",
"./dist/*": "./dist/*",
"./styles/*.css": "./styles/*.css"
},
"engines": {
"node": ">=18"
},
"files": [
"index.js",
"custom-select.js",
"core/",
"ui/",
"utils/",
"keyboard/",
"filter/",
"styles/",
"dist/*.min.js",
"dist/*.min.css",
"LICENSE",
"README.md",
"types/"
],
"devDependencies": {
"@happy-dom/global-registrator": "20.9.0",
"typescript": "^5.7.0"
},
"sideEffects": [
"**/*.css"
],
"scripts": {
"minify": "rm -rf dist && mkdir -p dist && bun build custom-select.js --minify --splitting --outdir=dist --entry-naming=custom-select.min.js --chunk-naming='[name].[hash].min.js' && cat styles/base.css styles/mobile.css styles/themes.css > dist/custom-select.bundle.css && bun build dist/custom-select.bundle.css --minify --outfile=dist/custom-select.min.css && rm -f dist/custom-select.bundle.css",
"gzip": "cd dist && gzip -f -k *.min.js *.min.css",
"brotli": "cd dist && brotli -f -q 11 *.min.js *.min.css",
"compress": "npm run gzip && npm run brotli",
"build": "npm run minify",
"prepublishOnly": "npm run build",
"types:check": "tsc -p tsconfig.declarations.json --noEmit",
"types:emit-from-js": "tsc -p tsconfig.types.json",
"test": "bun test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/alexstep/custom-select.git"
},
"keywords": [
"web-component",
"select",
"dropdown",
"form",
"mobile-first",
"accessible",
"searchable",
"typeahead",
"a11y"
],
"author": "alexstep",
"license": "MIT",
"bugs": {
"url": "https://github.com/alexstep/custom-select/issues"
},
"homepage": "https://github.com/alexstep/custom-select#readme"
}