UNPKG

@madooei/omni-themes

Version:

Universal theme library that works with any JavaScript framework. Provides perfect dark mode, system theme detection, and no-flash loading.

90 lines (89 loc) 2.41 kB
{ "name": "@madooei/omni-themes", "version": "0.2.0", "description": "Universal theme library that works with any JavaScript framework. Provides perfect dark mode, system theme detection, and no-flash loading.", "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { "import": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "require": "./dist/index.cjs" } }, "files": [ "dist", "README.md", "CHANGELOG.md" ], "publishConfig": { "access": "public" }, "keywords": [ "themes", "dark-mode", "light-mode", "system-theme", "universal", "framework-agnostic", "react", "vue", "svelte", "typescript" ], "author": "Ali Madooei", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/madooei/omni-themes.git" }, "homepage": "https://madooei.github.io/omni-themes/", "bugs": { "url": "https://github.com/madooei/omni-themes/issues" }, "scripts": { "start": "tsx --no-warnings ./src/index.ts", "debug": "tsx --inspect-brk ./src/index.ts", "dev": "tsx watch ./src/index.ts", "prebuild": "npm run validate", "build": "tsup", "prepublishOnly": "npm run build", "type-check": "tsc --noEmit --project tsconfig.build.json", "lint": "eslint ", "lint:fix": "eslint --fix", "format": "prettier --check .", "format:fix": "prettier --write .", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "test:ui": "vitest --ui", "validate": "npm run type-check && npm run lint:fix && npm run format:fix && npm run test", "clean": "rm -rf dist coverage", "clean:all": "rm -rf dist coverage node_modules", "release": "release-it" }, "dependencies": { "nanostores": "^0.11.3" }, "devDependencies": { "@types/node": "^22.15.3", "@vitest/coverage-v8": "^3.1.2", "@vitest/ui": "^3.1.2", "eslint": "^9.25.1", "eslint-config-prettier": "^10.1.2", "eslint-plugin-prettier": "^5.1.3", "jsdom": "^26.0.0", "prettier": "^3.2.0", "release-it": "^19.0.3", "tsup": "^8.5.0", "tsx": "^4.19.4", "typescript": "^5.0.0", "typescript-eslint": "^8.31.1", "vitest": "^3.1.2" } }