@darksnow-ui/commander
Version:
Command pattern implementation with React hooks for building command palettes and keyboard-driven UIs
82 lines (81 loc) • 2.14 kB
JSON
{
"name": "@darksnow-ui/commander",
"version": "1.0.6",
"description": "Command pattern implementation with React hooks for building command palettes and keyboard-driven UIs",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest",
"test:watch": "vitest --watch",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext ts,tsx",
"lint:fix": "eslint src --ext ts,tsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
"clean": "rm -rf dist",
"prepublishOnly": "pnpm run build"
},
"keywords": [
"react",
"command",
"palette",
"commands",
"shortcuts",
"ui",
"darksnow",
"typescript"
],
"author": "Anderson Rosa",
"license": "MIT",
"files": [
"dist",
"README.md",
"docs"
],
"sideEffects": false,
"engines": {
"node": ">=16"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/node": "^18.15.0",
"@types/react": "^19.1.6",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@vitest/coverage-v8": "^0.34.0",
"@vitest/ui": "^0.34.0",
"eslint": "^8.37.0",
"jsdom": "^22.1.0",
"prettier": "^3.5.3",
"tsup": "^7.2.0",
"typescript": "^5.0.0",
"vitest": "^0.34.0"
},
"repository": {
"type": "git",
"url": "https://github.com/darksnow-ui/darksnow-ui.git",
"directory": "packages/commander"
},
"homepage": "https://github.com/darksnow-ui/darksnow-ui#readme",
"bugs": {
"url": "https://github.com/darksnow-ui/darksnow-ui/issues"
}
}