|
2 | 2 | "name": "@graasp/apps-query-client",
|
3 | 3 | "version": "0.4.2",
|
4 | 4 | "description": "Query client repository for Graasp apps",
|
5 |
| - "main": "dist/index.js", |
6 |
| - "module": "dist/index.modern.js", |
7 |
| - "source": "src/index.ts", |
8 |
| - "types": "dist/index.d.ts", |
| 5 | + "main": "./dist/index.cjs.js", |
| 6 | + "module": "./dist/index.es.js", |
| 7 | + "source": "./src/index.ts", |
| 8 | + "types": "./dist/index.d.ts", |
9 | 9 | "repository": "[email protected]:graasp/graasp-apps-query-client.git",
|
10 | 10 | "author": "Graasp",
|
11 | 11 | "contributors": [
|
|
16 | 16 | "example"
|
17 | 17 | ],
|
18 | 18 | "license": "AGPL3.0-only",
|
| 19 | + "scripts": { |
| 20 | + "dev": "vite", |
| 21 | + "build": "tsc && vite build", |
| 22 | + "deploy": "gh-pages -d example/build", |
| 23 | + "commit-msg": "commitlint --edit $1", |
| 24 | + "hooks:uninstall": "husky uninstall", |
| 25 | + "hooks:install": "husky install", |
| 26 | + "lint": "eslint .", |
| 27 | + "prettier:check": "prettier --check \"{src,test}/**/*.ts\"", |
| 28 | + "prettier:write": "prettier --write \"{src,test}/**/*.ts\"", |
| 29 | + "type-check": "tsc --noEmit", |
| 30 | + "check": "yarn lint && yarn prettier:check && yarn type-check", |
| 31 | + "pre-commit": "yarn prettier:check && yarn lint", |
| 32 | + "predeploy": "cd example && yarn install && yarn run build", |
| 33 | + "prepare": "yarn build", |
| 34 | + "prepack": "yarn build", |
| 35 | + "post-commit": "git status", |
| 36 | + "start:example": "yarn workspace graasp-query-client-example start", |
| 37 | + "test": "jest --forceExit --coverage --verbose --silent", |
| 38 | + "test:watch": "yarn test --watchAll", |
| 39 | + "test:ci": "yarn && cd example && yarn && cd .. && yarn test" |
| 40 | + }, |
19 | 41 | "dependencies": {
|
20 |
| - "@graasp/sdk": "github:graasp/graasp-sdk", |
| 42 | + "@graasp/sdk": "0.11.0", |
21 | 43 | "axios": "0.27.2",
|
22 | 44 | "http-status-codes": "2.2.0",
|
23 |
| - "immutable": "4.1.0", |
| 45 | + "immutable": "4.3.0", |
24 | 46 | "miragejs": "0.1.46",
|
25 | 47 | "qs": "6.11.0",
|
26 |
| - "react-query": "4.0.0-beta.23", |
27 |
| - "standard-version": "9.5.0", |
28 |
| - "tsc": "2.0.4", |
29 | 48 | "uuid": "9.0.0"
|
30 | 49 | },
|
31 | 50 | "devDependencies": {
|
32 | 51 | "@commitlint/cli": "17.3.0",
|
33 | 52 | "@commitlint/config-conventional": "17.3.0",
|
| 53 | + "@tanstack/react-query": "4.28.0", |
| 54 | + "@tanstack/react-query-devtools": "4.28.0", |
34 | 55 | "@testing-library/react-hooks": "8.0.0",
|
35 | 56 | "@types/jest": "28.1.2",
|
36 | 57 | "@types/node": "17.0.45",
|
37 | 58 | "@types/qs": "6.9.7",
|
38 |
| - "@types/react": "18.0.14", |
39 |
| - "@types/uuid": "8.3.4", |
40 |
| - "@typescript-eslint/eslint-plugin": "5.28.0", |
41 |
| - "@typescript-eslint/parser": "5.28.0", |
| 59 | + "@types/react": "18.0.28", |
| 60 | + "@types/react-dom": "18.0.11", |
| 61 | + "@types/uuid": "9.0.1", |
| 62 | + "@typescript-eslint/eslint-plugin": "5.56.0", |
| 63 | + "@typescript-eslint/parser": "5.56.0", |
| 64 | + "@vitejs/plugin-react": "3.1.0", |
42 | 65 | "eslint": "8.29.0",
|
43 | 66 | "eslint-config-prettier": "8.5.0",
|
44 | 67 | "husky": "8.0.2",
|
45 | 68 | "jest": "28.1.3",
|
46 |
| - "microbundle": "0.15.1", |
47 | 69 | "nock": "13.2.9",
|
48 | 70 | "prettier": "2.8.1",
|
| 71 | + "react": "18.2.0", |
| 72 | + "react-dom": "18.2.0", |
49 | 73 | "react-test-renderer": "18.2.0",
|
50 | 74 | "ts-jest": "28.0.5",
|
51 | 75 | "ts-node": "10.8.1",
|
52 |
| - "typescript": "4.9.4" |
53 |
| - }, |
54 |
| - "scripts": { |
55 |
| - "build": "microbundle --no-compress --format modern,cjs --jsx React.createElement", |
56 |
| - "commit-msg": "commitlint --edit $1", |
57 |
| - "deploy": "gh-pages -d example/build", |
58 |
| - "hooks:uninstall": "husky uninstall", |
59 |
| - "hooks:install": "husky install", |
60 |
| - "lint": "eslint .", |
61 |
| - "pre-commit": "yarn prettier:check && yarn lint", |
62 |
| - "predeploy": "cd example && yarn install && yarn run build", |
63 |
| - "prepare": "yarn build", |
64 |
| - "prepack": "yarn build", |
65 |
| - "prettier:check": "prettier --check \"{src,test}/**/*.ts\"", |
66 |
| - "prettier:write": "prettier --write \"{src,test}/**/*.ts\"", |
67 |
| - "post-commit": "git status", |
68 |
| - "release": "git fetch --tags && git add CHANGELOG.md && standard-version -a", |
69 |
| - "release:first": "git fetch --tags && git add CHANGELOG.md && standard-version -a --first-release", |
70 |
| - "start": "microbundle-crl watch --no-compress --format modern,cjs", |
71 |
| - "start:example": "yarn workspace graasp-query-client-example start", |
72 |
| - "test": "jest --forceExit --coverage --verbose --silent", |
73 |
| - "test:watch": "yarn test --watchAll", |
74 |
| - "test:ci": "yarn && cd example && yarn && cd .. && yarn test" |
| 76 | + "typescript": "4.9.4", |
| 77 | + "vite": "4.2.1", |
| 78 | + "vite-plugin-checker": "0.5.6", |
| 79 | + "vite-plugin-dts": "2.1.0" |
75 | 80 | },
|
76 | 81 | "peerDependencies": {
|
77 |
| - "react": "^17.0.0 || ^18.0.0" |
78 |
| - }, |
79 |
| - "localDependencies": { |
80 |
| - "react": "./example/node_modules/react", |
81 |
| - "react-dom": "./example/node_modules/react-dom" |
| 82 | + "@tanstack/react-query": "^4.28.0", |
| 83 | + "@tanstack/react-query-devtools": "^4.28.0", |
| 84 | + "react": "^18.0.0", |
| 85 | + "react-dom": "^18.0.0" |
82 | 86 | },
|
83 | 87 | "files": [
|
84 | 88 | "dist"
|
85 | 89 | ],
|
86 |
| - "packageManager": "yarn@3.3.0" |
| 90 | + "packageManager": "yarn@3.5.0" |
87 | 91 | }
|
0 commit comments