@rocketmakers/api-swr
Version:
Rocketmakers front-end library for parsing a generated Typescript API client into a set of configurable React hooks for fetching and mutating data.
105 lines (104 loc) • 3.22 kB
JSON
{
"name": "@rocketmakers/api-swr",
"version": "2.2.1",
"description": "Rocketmakers front-end library for parsing a generated Typescript API client into a set of configurable React hooks for fetching and mutating data.",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
"typings": "./dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"start": "start-storybook -p 3000 -c _test/storybook",
"build-cjs": "tsc --pretty --extendedDiagnostics -p tsconfig-cjs.json -d",
"build-esm": "tsc --pretty --extendedDiagnostics -p tsconfig-esm.json -d",
"build": "npm run build-cjs && npm run build-esm",
"lint": "eslint --max-warnings=0 \"**/*.ts{,?}\" --cache --ignore-path .eslintignore --ext ts --ext tsx",
"lint-fix": "npm run lint -- --fix",
"lint-staged-husky": "lint-staged",
"test": "jest --verbose",
"prepare": "husky install && npm run lint && npm run build"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/Rocketmakers/api-swr.git"
},
"author": "developers@rocketmakers.com",
"keywords": [
"API",
"Hooks",
"Rocketmakers",
"React",
"Typescript",
"Query",
"Mutation"
],
"license": "MIT",
"peerDependencies": {
"react": "17.x || 18.x"
},
"devDependencies": {
"@rocketmakers/armstrong": "3.2.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@storybook/addon-a11y": "^6.5.12",
"@storybook/addon-actions": "^6.5.12",
"@storybook/addon-essentials": "^6.5.12",
"@storybook/addon-interactions": "^6.5.12",
"@storybook/addon-links": "^6.5.12",
"@storybook/builder-vite": "^0.2.2",
"@storybook/react": "^6.5.12",
"@testing-library/jest-dom": "6.2.0",
"@testing-library/react": "14.1.2",
"@types/jest": "^29.5.11",
"@types/react": "18.2.48",
"@types/react-dom": "18.2.18",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@vitejs/plugin-react": "^4.3.4",
"commitizen": "^4.3.0",
"cz-customizable": "^7.0.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "8.0.3",
"jest": "^29.7.0",
"jest-config": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.70.0",
"semantic-release": "^23.0.0",
"shx": "^0.3.4",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^5.4.15",
"zod": "^3.24.2"
},
"config": {
"cz-customizable": {
"config": "./commitizen.config.js"
},
"commitizen": {
"path": "./node_modules/cz-customizable"
}
},
"dependencies": {
"axios": "^1.6.5",
"swr": "^2.3.3"
}
}