Files
medusa-store/packages/medusa-react/package.json
Zakaria El Asri 2e384842d5 feat: medusa-react admin hooks (#978)
* add: medusa admin hooks + tests

* fix: remove unneeded props

* fix: deps

* fix: deps

* fix: deps

* fix: failing tests

* fix: failing tests

* fix: query key

* add: yarn workspaces

* fix: linting medusa-react

* fix: add prepare script

* fix: buildOptions

* fix: useAdminShippingOptions query

* fix: use qs instead for query params (#1019)

* fix: formatting

* debug: ci pipeline

* debug: log node_modules structure

* debug: use lerna bootstrap

* debug: update node version

* debug: print pkgs in workspace

* debug: print pkgs in workspace

* debug: print pkgs in workspace

* debug: print pkgs in workspace

* debug: add explicit build step

* fix: jsdoc

* debug: run build step

* debug: fix build errors

* debug: add build step to integration tests

* fix: failing test

* cleanup

Co-authored-by: Sebastian Rindom <seb@medusajs.com>
Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
2022-02-02 17:10:56 +01:00

97 lines
2.3 KiB
JSON

{
"version": "0.1.3",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"prepare": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"size": "size-limit",
"analyze": "size-limit --why",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook"
},
"peerDependencies": {
"react": ">=16",
"react-query": ">= 3.29.0"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"endOfLine": "lf",
"semi": false,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5"
},
"name": "medusa-react",
"author": "Zakaria S. El Asri",
"module": "dist/medusa-react.esm.js",
"size-limit": [
{
"path": "dist/medusa-react.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/medusa-react.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/core": "^7.16.0",
"@size-limit/preset-small-lib": "^6.0.4",
"@storybook/addon-contexts": "^5.3.21",
"@storybook/addon-essentials": "^6.3.12",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.3.12",
"@storybook/addons": "^6.3.12",
"@storybook/react": "^6.3.12",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.0.3",
"@types/lodash": "^4.14.177",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"axios": "^0.24.0",
"babel-loader": "^8.2.3",
"husky": "^7.0.4",
"msw": "^0.35.0",
"msw-storybook-addon": "^1.5.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"react-json-view": "^1.21.3",
"size-limit": "^6.0.4",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.5.2"
},
"dependencies": {
"@medusajs/medusa": "^1.1.62",
"@medusajs/medusa-js": "^1.0.10",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"react-query": "^3.31.0"
},
"resolutions": {
"**/typescript": "^4.1.3"
},
"msw": {
"workerDirectory": "public"
},
"gitHead": "3bbd1e8507e00bc471de6ae3c30207999a4a4011"
}