react-hooks/package.json

78 lines
2.5 KiB
JSON

{
"name": "@flare/react-hooks",
"version": "1.1.0",
"description": "react-hooks is an npm package that brings together multiple react hooks useful both in the development of the ecosystem in my home lab and for the general public.",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"test": "jest --config jestconfig.json",
"format": "prettier --write \"{src,tests}/**/*.{js,ts,jsx,tsx}\"",
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
"prepublishOnly": "npm test && npm run lint",
"prepush": "npm run build",
"preversion": "npm run lint",
"version": "npm run format",
"push": "npm publish",
"push:major": "npm run version:major && npm run push",
"push:minor": "npm run version:minor && npm run push",
"push:patch": "npm run version:patch && npm run push",
"version:major": "npm version major --no-git-tag-version",
"version:minor": "npm version minor --no-git-tag-version",
"version:patch": "npm version patch --no-git-tag-version"
},
"repository": {
"type": "git",
"url": "https://lab.code-rove.com/gitea/bricks/react-hooks"
},
"keywords": [
"flare",
"react-hooks"
],
"author": {
"name": "Tudor Stanciu",
"email": "tudor.stanciu94@gmail.com",
"url": "https://lab.code-rove.com/tsp"
},
"license": "MIT",
"bugs": {
"url": "https://lab.code-rove.com/gitea/bricks/react-hooks/issues"
},
"homepage": "https://lab.code-rove.com/gitea/bricks/react-hooks#readme",
"files": [
"dist",
"LICENSE",
"README.md"
],
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^29.4.0",
"@types/react": "^18.0.27",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.4.2",
"jest-environment-jsdom": "^29.4.2",
"prettier": "^2.8.4",
"react": "^16.14.0",
"react-dom": "16.14.0",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},
"publishConfig": {
"registry": "https://lab.code-rove.com/public-node-registry"
}
}