UNPKG

@dr.pogodin/react-utils

Version:

Collection of generic ReactJS components and utils

202 lines (201 loc) 7.04 kB
{ "version": "1.43.1", "bin": { "react-utils-build": "bin/build.js", "react-utils-setup": "bin/setup.js" }, "bugs": { "url": "https://github.com/birdofpreyru/react-utils/issues" }, "dependencies": { "@babel/runtime": "^7.27.0", "@dr.pogodin/babel-plugin-react-css-modules": "^6.13.4", "@dr.pogodin/csurf": "^1.14.1", "@dr.pogodin/js-utils": "^0.0.17", "@dr.pogodin/react-global-state": "^0.18.1", "@dr.pogodin/react-helmet": "^3.0.1", "@dr.pogodin/react-themes": "^1.8.0", "@jest/environment": "^29.7.0", "axios": "^1.8.4", "commander": "^13.1.0", "compression": "^1.8.0", "config": "^3.3.12", "cookie": "^1.0.2", "cookie-parser": "^1.4.7", "cross-env": "^7.0.3", "dayjs": "^1.11.13", "express": "^5.1.0", "helmet": "^8.1.0", "http-status-codes": "^2.3.0", "joi": "^17.13.3", "lodash": "^4.17.21", "morgan": "^1.10.0", "node-forge": "^1.3.1", "qs": "^6.14.0", "raf": "^3.4.1", "react": "^19.1.0", "react-dom": "^19.1.0", "react-router": "^7.5.1", "request-ip": "^3.3.0", "rimraf": "^6.0.0", "serialize-javascript": "^6.0.2", "serve-favicon": "^2.5.0", "source-map-support": "^0.5.21", "uuid": "^11.1.0", "winston": "^3.17.0" }, "description": "Collection of generic ReactJS components and utils", "devDependencies": { "@babel/cli": "^7.27.0", "@babel/core": "^7.26.10", "@babel/node": "^7.26.0", "@babel/plugin-transform-runtime": "^7.26.10", "@babel/preset-env": "^7.26.9", "@babel/preset-react": "^7.26.3", "@babel/preset-typescript": "^7.27.0", "@babel/register": "^7.25.9", "@dr.pogodin/babel-plugin-transform-assets": "^1.2.4", "@dr.pogodin/babel-preset-svgr": "^1.9.0", "@dr.pogodin/eslint-configs": "^0.0.2", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.16", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@tsconfig/recommended": "^1.0.8", "@types/compression": "^1.7.5", "@types/config": "^3.3.5", "@types/cookie": "^0.6.0", "@types/cookie-parser": "^1.4.8", "@types/csurf": "^1.11.5", "@types/express": "^5.0.1", "@types/jest": "^29.5.14", "@types/lodash": "^4.17.16", "@types/morgan": "^1.9.9", "@types/node-forge": "^1.3.11", "@types/pretty": "^2.0.3", "@types/react": "^19.1.2", "@types/react-dom": "^19.1.2", "@types/request-ip": "^0.0.41", "@types/serialize-javascript": "^5.0.4", "@types/serve-favicon": "^2.5.7", "@types/supertest": "^6.0.3", "@types/webpack": "^5.28.5", "@types/webpack-hot-middleware": "^2.25.9", "autoprefixer": "^10.4.21", "babel-jest": "^29.7.0", "babel-loader": "^10.0.0", "babel-plugin-module-resolver": "^5.0.2", "core-js": "^3.41.0", "css-loader": "^7.1.2", "css-minimizer-webpack-plugin": "^7.0.2", "eslint": "^9.25.0", "identity-obj-proxy": "^3.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "memfs": "^4.17.0", "mini-css-extract-plugin": "^2.9.2", "mockdate": "^3.0.5", "nodelist-foreach-polyfill": "^1.2.0", "postcss": "^8.5.3", "postcss-loader": "^8.1.1", "postcss-scss": "^4.0.9", "pretty": "^2.0.0", "react-refresh": "^0.17.0", "regenerator-runtime": "^0.14.1", "resolve-url-loader": "^5.0.0", "sass": "^1.86.3", "sass-loader": "^16.0.5", "sitemap": "^8.0.0", "source-map-loader": "^5.0.0", "stylelint": "^16.18.0", "stylelint-config-standard-scss": "^14.0.0", "supertest": "^7.1.0", "tsc-alias": "^1.8.13", "tstyche": "^3.5.0", "typed-scss-modules": "^8.1.1", "typescript": "^5.8.3", "webpack": "^5.99.6", "webpack-dev-middleware": "^7.4.2", "webpack-hot-middleware": "^2.26.1", "webpack-merge": "^6.0.1", "workbox-core": "^7.3.0", "workbox-precaching": "^7.3.0", "workbox-webpack-plugin": "^7.3.0" }, "engines": { "node": ">=18", "npm": ">=9" }, "main": "./node-entry.js", "source": "./src/index.ts", "types": "./build/types-code/index.d.ts", "exports": { ".": { "browser": { "development": "./build/development/web.bundle.js", "production": "./build/production/web.bundle.js", "default": "./build/production/web.bundle.js" }, "node": { "webpack": "./build/production/web.bundle.js", "default": "./node-entry.js" }, "react-native": "./node-entry.js" }, "./config/*": "./config/*.js", "./config/eslint/*": "./config/eslint/*.mjs", "./config/*.json": "./config/*.json", "./jest": "./build/production/shared/utils/jest/index.js", "./mixins": "./src/styles/mixins.scss", "./dev-styles": { "node": "./null.js", "browser": "./build/development/style.css" }, "./dev-styles-forced": "./build/development/style.css", "./prod-styles": { "node": "./null.js", "browser": "./build/production/style.css" }, "./prod-styles-forced": "./build/production/style.css", "./build/development/client/init": "./build/development/client/init.js", "./build/production/client/init": "./build/production/client/init.js", "./jest-e2e-ssr-env": "./build/production/shared/utils/jest/E2eSsrEnv.js" }, "homepage": "https://dr.pogodin.studio/docs/react-utils/index.html", "author": "Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio)", "funding": { "type": "github", "url": "https://github.com/sponsors/birdofpreyru" }, "keywords": [ "JavaScript", "JS", "React", "ReactJS", "Starting Pack", "Tools", "TypeScript", "Utils", "Web" ], "license": "MIT", "name": "@dr.pogodin/react-utils", "repository": "github:birdofpreyru/react-utils", "scripts": { "build": "rimraf build && npm run build:configs && npm run build:types-scss && npm run build:types-code && npm run build:dev && npm run build:prod", "build:configs": "tsc --project tsconfig.configs.json", "build:dev": "node bin/build -t development --lib --webpack-config webpack.config.ts", "build:prod": "node bin/build -t production --lib --webpack-config webpack.config.ts", "build:types-code": "rimraf build/types-code && tsc --project tsconfig.types.json && tsc-alias -p tsconfig.types.json", "build:types-scss": "rimraf build/types-scss && typed-scss-modules .", "jest:1": "NODE_CONFIG_ENV=test jest --no-cache -w 1 --config config/jest/default.js --shard=1/2", "jest:2": "NODE_CONFIG_ENV=test jest --no-cache -w 1 --config config/jest/default.js --shard=2/2", "jest:types": "tstyche", "jest": "npm run jest:types && npm run jest:1 && npm run jest:2", "lint": "npm run lint:code && npm run lint:scss", "lint:code": "eslint", "lint:scss": "stylelint -- **/*.{css,scss}", "test": "npm run lint && npm run typecheck && npm run jest", "typecheck": "tsc --project __tests__/tsconfig.json" } }