mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
redux-devtools-rtk-query-monitor
This commit is contained in:
parent
f5c41b5528
commit
7690eeb13c
|
@ -18,7 +18,7 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Mihail Diordiev <zalmoxisus@gmail.com> (https://github.com/zalmoxisus)",
|
"author": "Mihail Diordiev <zalmoxisus@gmail.com> (https://github.com/zalmoxisus)",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"lib",
|
||||||
"src"
|
"src"
|
||||||
],
|
],
|
||||||
"main": "lib/cjs/index.js",
|
"main": "lib/cjs/index.js",
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
demo
|
demo
|
||||||
dist
|
lib
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"presets": [
|
||||||
|
["@babel/preset-env", { "targets": "defaults", "modules": false }],
|
||||||
|
"@babel/preset-react",
|
||||||
|
"@babel/preset-typescript"
|
||||||
|
],
|
||||||
|
"plugins": ["@babel/plugin-transform-runtime"]
|
||||||
|
}
|
|
@ -20,19 +20,23 @@
|
||||||
"url": "https://github.com/FaberVitale"
|
"url": "https://github.com/FaberVitale"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"lib",
|
||||||
"src"
|
"src"
|
||||||
],
|
],
|
||||||
"main": "dist/redux-devtools-rtk-query-monitor.cjs.js",
|
"main": "lib/cjs/index.js",
|
||||||
"module": "dist/redux-devtools-rtk-query-monitor.esm.js",
|
"module": "lib/esm/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "lib/types/index.d.ts",
|
||||||
|
"sideEffects": false,
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/reduxjs/redux-devtools.git"
|
"url": "https://github.com/reduxjs/redux-devtools.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rollup -c",
|
"build": "yarn build:cjs && yarn build:esm && yarn build:types",
|
||||||
"clean": "rimraf dist",
|
"build:cjs": "babel src --extensions \".ts,.tsx\" --out-dir lib/cjs",
|
||||||
|
"build:esm": "babel src --config-file ./babel.config.esm.json --extensions \".ts,.tsx\" --out-dir lib/esm",
|
||||||
|
"build:types": "tsc --emitDeclarationOnly",
|
||||||
|
"clean": "rimraf lib",
|
||||||
"lint": "eslint . --ext .ts,.tsx",
|
"lint": "eslint . --ext .ts,.tsx",
|
||||||
"type-check": "tsc --noEmit",
|
"type-check": "tsc --noEmit",
|
||||||
"prepack": "yarn run clean && yarn run build",
|
"prepack": "yarn run clean && yarn run build",
|
||||||
|
@ -54,6 +58,7 @@
|
||||||
"redux-devtools-themes": "^1.0.0"
|
"redux-devtools-themes": "^1.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@babel/cli": "^7.16.8",
|
||||||
"@babel/core": "^7.16.12",
|
"@babel/core": "^7.16.12",
|
||||||
"@babel/eslint-parser": "^7.16.5",
|
"@babel/eslint-parser": "^7.16.5",
|
||||||
"@babel/plugin-transform-runtime": "^7.16.10",
|
"@babel/plugin-transform-runtime": "^7.16.10",
|
||||||
|
@ -62,7 +67,6 @@
|
||||||
"@babel/preset-typescript": "^7.16.7",
|
"@babel/preset-typescript": "^7.16.7",
|
||||||
"@redux-devtools/core": "^3.10.1",
|
"@redux-devtools/core": "^3.10.1",
|
||||||
"@reduxjs/toolkit": "^1.7.1",
|
"@reduxjs/toolkit": "^1.7.1",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
|
||||||
"@types/hex-rgba": "^1.0.1",
|
"@types/hex-rgba": "^1.0.1",
|
||||||
"@types/lodash.debounce": "^4.0.6",
|
"@types/lodash.debounce": "^4.0.6",
|
||||||
"@types/react": "^17.0.38",
|
"@types/react": "^17.0.38",
|
||||||
|
@ -75,9 +79,6 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"redux": "^4.1.2",
|
"redux": "^4.1.2",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"rollup": "^2.66.0",
|
|
||||||
"rollup-plugin-typescript2": "^0.31.1",
|
|
||||||
"tslib": "^2.3.1",
|
|
||||||
"typescript": "~4.5.5"
|
"typescript": "~4.5.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
import typescript from 'rollup-plugin-typescript2';
|
|
||||||
import babel from '@rollup/plugin-babel';
|
|
||||||
|
|
||||||
const config = [
|
|
||||||
{
|
|
||||||
input: 'src/index.ts',
|
|
||||||
output: [
|
|
||||||
{
|
|
||||||
file: 'dist/redux-devtools-rtk-query-monitor.cjs.js',
|
|
||||||
format: 'cjs',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
file: 'dist/redux-devtools-rtk-query-monitor.esm.js',
|
|
||||||
format: 'esm',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
plugins: [
|
|
||||||
typescript(),
|
|
||||||
babel({
|
|
||||||
babelHelpers: 'runtime',
|
|
||||||
extensions: ['.ts', '.tsx'],
|
|
||||||
plugins: ['@babel/plugin-transform-runtime'],
|
|
||||||
}),
|
|
||||||
],
|
|
||||||
external: [
|
|
||||||
/@babel\/runtime/,
|
|
||||||
'react',
|
|
||||||
'prop-types',
|
|
||||||
/@reduxjs\/toolkit/,
|
|
||||||
'jss',
|
|
||||||
'jss-preset-default',
|
|
||||||
'react-base16-styling',
|
|
||||||
'hex-rgba',
|
|
||||||
'redux-devtools-themes',
|
|
||||||
'@redux-devtools/ui',
|
|
||||||
'lodash.debounce',
|
|
||||||
'immutable',
|
|
||||||
'react-json-tree',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
export default config;
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"extends": "../../tsconfig.react.base.json",
|
"extends": "../../tsconfig.react.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "lib",
|
"outDir": "lib/types",
|
||||||
"resolveJsonModule": true
|
"resolveJsonModule": true
|
||||||
},
|
},
|
||||||
"include": ["src"]
|
"include": ["src"]
|
||||||
|
|
|
@ -5075,6 +5075,7 @@ __metadata:
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@redux-devtools/rtk-query-monitor@workspace:packages/redux-devtools-rtk-query-monitor"
|
resolution: "@redux-devtools/rtk-query-monitor@workspace:packages/redux-devtools-rtk-query-monitor"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
"@babel/cli": ^7.16.8
|
||||||
"@babel/core": ^7.16.12
|
"@babel/core": ^7.16.12
|
||||||
"@babel/eslint-parser": ^7.16.5
|
"@babel/eslint-parser": ^7.16.5
|
||||||
"@babel/plugin-transform-runtime": ^7.16.10
|
"@babel/plugin-transform-runtime": ^7.16.10
|
||||||
|
@ -5085,7 +5086,6 @@ __metadata:
|
||||||
"@redux-devtools/core": ^3.10.1
|
"@redux-devtools/core": ^3.10.1
|
||||||
"@redux-devtools/ui": ^1.1.1
|
"@redux-devtools/ui": ^1.1.1
|
||||||
"@reduxjs/toolkit": ^1.7.1
|
"@reduxjs/toolkit": ^1.7.1
|
||||||
"@rollup/plugin-babel": ^5.3.0
|
|
||||||
"@types/hex-rgba": ^1.0.1
|
"@types/hex-rgba": ^1.0.1
|
||||||
"@types/lodash.debounce": ^4.0.6
|
"@types/lodash.debounce": ^4.0.6
|
||||||
"@types/prop-types": ^15.7.4
|
"@types/prop-types": ^15.7.4
|
||||||
|
@ -5109,9 +5109,6 @@ __metadata:
|
||||||
redux: ^4.1.2
|
redux: ^4.1.2
|
||||||
redux-devtools-themes: ^1.0.0
|
redux-devtools-themes: ^1.0.0
|
||||||
rimraf: ^3.0.2
|
rimraf: ^3.0.2
|
||||||
rollup: ^2.66.0
|
|
||||||
rollup-plugin-typescript2: ^0.31.1
|
|
||||||
tslib: ^2.3.1
|
|
||||||
typescript: ~4.5.5
|
typescript: ~4.5.5
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
"@redux-devtools/core": ^3.7.0
|
"@redux-devtools/core": ^3.7.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user