65 lines
1.9 KiB
JSON
65 lines
1.9 KiB
JSON
{
|
|
"name": "@skolplattformen/api-hooks",
|
|
"description": "React hooks for accessing api with cached results",
|
|
"version": "0.0.1",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist/**/*"
|
|
],
|
|
"repository": "git@github.com:kolplattformen/api-hooks.git",
|
|
"author": "Johan Öbrink <johan.obrink@gmail.com>",
|
|
"license": "Apache-2.0",
|
|
"private": false,
|
|
"scripts": {
|
|
"lint": "eslint 'src/**/*.ts' --quiet --fix",
|
|
"test": "jest",
|
|
"build": "tsc",
|
|
"prepare": "yarn build",
|
|
"publish-package": "npm publish --access public"
|
|
},
|
|
"dependencies": {
|
|
"luxon": "^1.26.0",
|
|
"react-redux": "^7.2.3",
|
|
"redux": "^4.0.5"
|
|
},
|
|
"peerDependencies": {
|
|
"@skolplattformen/curriculum": "^1.3.0",
|
|
"@skolplattformen/embedded-api": "^5.1.0",
|
|
"react": "^16.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.13.15",
|
|
"@babel/preset-react": "^7.13.13",
|
|
"@babel/preset-typescript": "^7.13.0",
|
|
"@skolplattformen/curriculum": "^1.3.0",
|
|
"@skolplattformen/embedded-api": "^5.1.0",
|
|
"@testing-library/jest-dom": "^5.11.10",
|
|
"@testing-library/react": "^11.2.6",
|
|
"@testing-library/react-hooks": "^5.1.1",
|
|
"@types/jest": "^26.0.22",
|
|
"@types/luxon": "^1.26.4",
|
|
"@types/react": "^16.14.3",
|
|
"@types/react-redux": "^7.1.16",
|
|
"@typescript-eslint/eslint-plugin": "^4.21.0",
|
|
"babel-jest": "^26.6.3",
|
|
"eslint": "^7.23.0",
|
|
"eslint-config-airbnb-typescript": "^12.3.1",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-jest": "^24.3.4",
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
"eslint-plugin-react": "^7.23.2",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"events": "^3.3.0",
|
|
"jest": "^26.6.3",
|
|
"react": "^16.11.0",
|
|
"react-dom": "^16.11.0",
|
|
"react-test-renderer": "^16.11.0",
|
|
"regenerator-runtime": "^0.13.7",
|
|
"typescript": "^3.9.7"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|