UNPKG

ink-tab

Version:
88 lines (87 loc) 2.54 kB
{ "name": "ink-tab", "type": "module", "version": "5.2.0", "description": "Tab component for Ink", "main": "lib/index.js", "exports": "./lib/index.js", "typings": "lib/index.d.ts", "engines": { "node": ">=14.16" }, "scripts": { "check-types": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", "build": "yarn rimraf lib && yarn build:types && yarn build:js", "build:types": "tsc --emitDeclarationOnly", "build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline", "lint": "eslint src/ --ext .js,.jsx,.ts,.tsx", "test": "echo \"Error: no test specified\" && exit 1", "demo": "yarn build && node demo/clear-screen.js && babel demo/index.jsx > demo/index.compiled.js && node demo/index.compiled.js", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/jdeniau/ink-tab.git" }, "keywords": [ "Ink", "tab" ], "author": "Julien Deniau", "license": "MIT", "bugs": { "url": "https://github.com/jdeniau/ink-tab/issues" }, "homepage": "https://github.com/jdeniau/ink-tab#readme", "peerDependencies": { "@types/react": "^18.0.0 || ^19.0.0", "ink": "^4.0.0 || ^5.0.0 || ^6.0.0", "react": "^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true } }, "devDependencies": { "@babel/cli": "^7.21.0", "@babel/core": "^7.21.4", "@babel/node": "^7.20.7", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/preset-env": "^7.21.4", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.4", "@types/react": "^19.1.0", "@typescript-eslint/eslint-plugin": "^5.43.0", "eslint": "^8.0.1", "eslint-config-prettier": "^8.8.0", "eslint-config-standard-with-typescript": "^34.0.1", "eslint-plugin-import": "^2.25.2", "eslint-plugin-n": "^15.0.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-react": "^7.32.2", "husky": "^3.1.0", "ink": "^6.0.0", "lint-staged": "^9.5.0", "prettier": "^2.8.8", "prop-types": "^15.7.2", "react": "^19.1.0", "rimraf": "^3.0.0", "svg-term-cli": "^2.1.1", "typescript": "*" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.(js|jsx|ts|tsx|json|md)": [ "prettier --write", "git add" ] }, "packageManager": "yarn@4.9.2" }