@dr.pogodin/react-utils
Version:
Collection of generic ReactJS components and utils
198 lines (197 loc) • 7.25 kB
JSON
{
"version": "1.47.0-alpha.3",
"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.28.4",
"@dr.pogodin/babel-plugin-react-css-modules": "^6.13.8",
"@dr.pogodin/csurf": "^1.16.6",
"@dr.pogodin/js-utils": "^0.1.4",
"@dr.pogodin/react-global-state": "^0.21.1",
"@dr.pogodin/react-helmet": "^3.0.4",
"@dr.pogodin/react-themes": "^1.9.3",
"@jest/environment": "^30.2.0",
"axios": "^1.13.1",
"commander": "^14.0.2",
"compression": "^1.8.1",
"config": "^4.1.1",
"cookie": "^1.0.2",
"cookie-parser": "^1.4.7",
"cross-env": "^10.1.0",
"dayjs": "^1.11.19",
"express": "^5.1.0",
"helmet": "^8.1.0",
"http-status-codes": "^2.3.0",
"lodash-es": "^4.17.21",
"morgan": "^1.10.1",
"node-forge": "^1.3.1",
"qs": "^6.14.0",
"raf": "^3.4.1",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-router": "^7.9.5",
"request-ip": "^3.3.0",
"rimraf": "^6.1.0",
"serialize-javascript": "^7.0.0",
"serve-favicon": "^2.5.1",
"source-map-support": "^0.5.21",
"uuid": "^13.0.0",
"winston": "^3.18.3"
},
"description": "Collection of generic ReactJS components and utils",
"devDependencies": {
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.5",
"@babel/node": "^7.28.0",
"@babel/plugin-transform-runtime": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@babel/register": "^7.28.3",
"@dr.pogodin/babel-plugin-transform-assets": "^1.2.5",
"@dr.pogodin/babel-preset-svgr": "^1.9.2",
"@dr.pogodin/eslint-configs": "^0.1.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
"@standard-schema/spec": "^1.0.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@tsconfig/recommended": "^1.0.11",
"@types/compression": "^1.8.1",
"@types/config": "^3.3.5",
"@types/cookie": "^0.6.0",
"@types/cookie-parser": "^1.4.10",
"@types/express": "^5.0.5",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.20",
"@types/lodash-es": "^4.17.12",
"@types/morgan": "^1.9.10",
"@types/node-forge": "^1.3.14",
"@types/pretty": "^2.0.3",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.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.12",
"autoprefixer": "^10.4.21",
"babel-jest": "^30.2.0",
"babel-loader": "^10.0.0",
"babel-plugin-add-import-extension": "^1.6.0",
"babel-plugin-module-resolver": "^5.0.2",
"babel-plugin-transform-import-meta": "^2.3.3",
"core-js": "^3.46.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"memfs": "^4.50.0",
"mini-css-extract-plugin": "^2.9.4",
"mockdate": "^3.0.5",
"nodelist-foreach-polyfill": "^1.2.0",
"postcss": "^8.5.6",
"postcss-loader": "^8.2.0",
"postcss-scss": "^4.0.9",
"pretty": "^2.0.0",
"react-refresh": "^0.18.0",
"regenerator-runtime": "^0.14.1",
"resolve-url-loader": "^5.0.0",
"sass": "^1.93.3",
"sass-loader": "^16.0.6",
"sitemap": "^9.0.0",
"source-map-loader": "^5.0.0",
"stylelint": "^16.25.0",
"stylelint-config-standard-scss": "^16.0.0",
"supertest": "^7.1.4",
"tsc-alias": "1.8.16",
"tstyche": "^5.0.0",
"typed-scss-modules": "^8.1.1",
"typescript": "^5.9.3",
"webpack": "^5.102.1",
"webpack-dev-middleware": "^7.4.5",
"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": ">=20",
"npm": ">=10"
},
"main": "./build/production/index.js",
"source": "./src/index.ts",
"types": "./build/types-code/index.d.ts",
"exports": {
".": {
"browser": "./build/web/index.js",
"node": {
"webpack": "./build/web/index.js",
"development": "./build/development/index.js",
"default": "./build/production/index.js"
},
"react-native": {
"default": "./build/production/index.js",
"types": "./build/types-code/index.d.ts"
}
},
"./config/*": "./config/*.js",
"./config/eslint/*": "./config/eslint/*.mjs",
"./config/*.json": "./config/*.json",
"./global-styles": "./build/web/styles/global.scss",
"./jest": "./build/production/shared/utils/jest/index.js",
"./mixins": "./build/web/styles/mixins.scss",
"./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": {
"type": "git",
"url": "git+https://github.com/birdofpreyru/react-utils.git"
},
"scripts": {
"build": "rimraf build && npm run build:configs && npm run build:types-scss && npm run build:types-code && npm run build:web && npm run build:dev && npm run build:prod",
"build:configs": "tsc --project tsconfig.configs.json",
"build:dev": "node bin/build -i build/web -t development --lib --babel-config babel.module.config.js --webpack-config webpack.config.ts --no-webpack",
"build:prod": "node bin/build -i build/web -t production --lib --babel-config babel.module.config.js --webpack-config webpack.config.ts --no-webpack",
"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 .",
"build:web": "rimraf build/web && babel ./src --config-file ./babel.libweb.config.js --out-dir build/web -x .js,.jsx,.ts,.tsx --source-maps --copy-files",
"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"
}
}