UNPKG

@llselect/core

Version:

Low-level select: a minimal, flexible, framework-agnostic replacement for the native HTML select element.

85 lines (84 loc) 2.56 kB
{ "name": "@llselect/core", "version": "0.0.8", "description": "Low-level select: a minimal, flexible, framework-agnostic replacement for the native HTML select element.", "type": "module", "sideEffects": [ "**/*.css" ], "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "unpkg": "./dist/index.umd.js", "jsdelivr": "./dist/index.umd.js", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./i18n": { "types": "./dist/i18n.d.ts", "import": "./dist/i18n.mjs", "require": "./dist/i18n.cjs" }, "./themes/*.css": "./dist/themes/*.css", "./package.json": "./package.json" }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "clean": "rm -rf dist .build", "build:dts": "tsc --emitDeclarationOnly", "build:js": "rollup -c", "build:themes": "mkdir -p dist/themes && cp src/themes/*.css dist/themes/", "build": "npm run clean && npm run build:dts && npm run build:js && npm run build:themes", "build:site": "typedoc && node scripts/build-site.mjs", "check": "node scripts/check.mjs", "prepublishOnly": "npm run check && npm run build && npm test", "test:compile": "rm -rf .build && tsc -p tsconfig.test.json", "test": "npm run test:compile && node --test .build/test/*.test.js", "verify": "npm run check && npm run build && npm test && (cd angularjs && npm ci && npm test) && npm run build:site", "watch": "rollup -c -w", "serve": "python3 -m http.server ${PORT:-8080}", "serve:site": "npm run build:site && python3 -m http.server -d public ${PORT:-8080}" }, "repository": { "type": "git", "url": "git+https://gitlab.com/kuanyui/llselect.git" }, "bugs": { "url": "https://gitlab.com/kuanyui/llselect/issues" }, "homepage": "https://gitlab.com/kuanyui/llselect#readme", "devDependencies": { "@rollup/plugin-terser": "^1.0.0", "@rollup/plugin-typescript": "^12.1.2", "@types/jsdom": "^21.1.7", "@types/node": "^20.17.0", "jsdom": "^25.0.0", "marked": "^18.0.7", "rollup": "^4.30.0", "tslib": "^2.8.1", "typedoc": "^0.28.20", "typedoc-plugin-markdown": "^4.12.0", "typescript": "^5.7.0" }, "keywords": [ "select", "combobox", "listbox", "dropdown", "aria", "accessibility", "typescript" ], "author": "kuanyui (ono ono)", "license": "MIT", "publishConfig": { "access": "public" } }