UNPKG

nth-check

Version:

Parses and compiles CSS nth-checks to highly optimized functions.

69 lines (68 loc) 1.87 kB
{ "type": "module", "name": "nth-check", "version": "3.0.1", "description": "Parses and compiles CSS nth-checks to highly optimized functions.", "author": "Felix Boehm <me@feedic.com>", "license": "BSD-2-Clause", "sideEffects": false, "funding": { "type": "github", "url": "https://github.com/fb55/nth-check?sponsor=1" }, "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "files": [ "dist", "src", "!**/*.spec.ts" ], "scripts": { "build": "tsc", "format": "npm run format:es && npm run format:biome", "format:biome": "biome check --write .", "format:es": "npm run lint:es -- --fix", "lint": "npm run lint:es && npm run lint:biome", "lint:biome": "biome check .", "lint:es": "eslint .", "prepare": "npm run build", "test": "npm run test:vi && npm run lint", "test:vi": "vitest run" }, "repository": { "type": "git", "url": "https://github.com/fb55/nth-check" }, "keywords": [ "nth-child", "nth", "css" ], "bugs": { "url": "https://github.com/fb55/nth-check/issues" }, "homepage": "https://github.com/fb55/nth-check", "engines": { "node": ">=20.19.0" }, "dependencies": { "boolbase": "^2.0.0" }, "devDependencies": { "@biomejs/biome": "^2.4.7", "@eslint/compat": "^2.0.3", "@feedic/eslint-config": "^0.3.1", "@types/node": "^25.5.0", "eslint": "^10.0.3", "eslint-config-biome": "^2.1.3", "typescript": "^5.9.3", "typescript-eslint": "^8.57.1", "vitest": "^4.0.18" } }