UNPKG

haystack-react

Version:

Project Haystack utilities for building React applications

59 lines (58 loc) 1.56 kB
{ "name": "haystack-react", "version": "4.0.3", "description": "Project Haystack utilities for building React applications", "main": "dist/index", "scripts": { "build": "tsc", "clean": "rimraf ./dist", "format": "prettier-eslint \"./**/*.ts\" --write", "lint": "eslint --ext .ts .", "prebuild": "npm run clean", "test": "npm run lint", "prepack": "npm run test && npm run build", "doc": "npx rimraf ./docs && typedoc ./src --excludePrivate", "checktypes": "tsc --noEmit" }, "keywords": [ "project haystack", "haystack", "client", "react", "typescript" ], "author": "Gareth Johnson", "license": "BSD-3-Clause", "homepage": "https://github.com/j2inn/haystack-react", "email": "support@j2inn.com", "devDependencies": { "@types/react": "^18.0.28", "@types/react-dom": "^18.0.10", "@typescript-eslint/eslint-plugin": "^5.36.0", "@typescript-eslint/parser": "^5.36.0", "eslint": "^8.23.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.1", "husky": "^8.0.1", "lint-staged": "^13.0.3", "prettier-eslint": "^15.0.1", "prettier-eslint-cli": "^7.1.0", "rimraf": "^6.0.1", "typedoc": "^0.27.6", "typescript": "^5.1.3" }, "dependencies": { "haystack-core": "^3.0.5", "haystack-nclient": "^4.0.3", "haystack-units": "^2.0.3", "react": "^18.2.0", "react-dom": "^18.2.0" }, "husky": { "hooks": { "pre-commit": "npm run lint && npm test && npm run checktypes", "pre-push": "npm run lint && npm test && npm run checktypes" } } }