UNPKG

react-promise-tracker

Version:

Simple React Promise tracker Hook/HOC helper to add loading spinner indicators

85 lines (84 loc) 2.97 kB
{ "name": "react-promise-tracker", "version": "2.1.1", "description": "Simple React Promise tracker Hook/HOC helper to add loading spinner indicators", "keywords": [ "react", "promise", "tracker", "track", "hook", "hoc", "higher order component", "spinner", "component" ], "homepage": "https://github.com/Lemoncode/react-promise-tracker#readme", "bugs": { "url": "https://github.com/Lemoncode/react-promise-tracker/issues" }, "license": "MIT", "author": "Lemoncode", "contributors": [ "Braulio Diez <braulio.diez@lemoncode.net> (https://github.com/brauliodiez)", "Javier Calzado <javi.calzado@lemoncode.net > (https://github.com/fjcalzado)", "Daniel Sanchez <daniel.sanchez@lemoncode.net> (https://github.com/nasdan)", "Alejandro Rosa <> (https://github.com/arp82)" ], "files": [ "dist", "es", "lib", "index.d.ts", "LICENSE.txt", "package.json", "readme.md" ], "browser": "lib/index.js", "main": "lib/index.js", "types": "index.d.ts", "module": "es/index.js", "jsnext:main": "es/index.js", "repository": { "type": "git", "url": "git+https://github.com/Lemoncode/react-promise-tracker.git" }, "scripts": { "clean": "rimraf build/*", "build": "npm run clean && npm run build:lib && npm run build:es && npm run build:dist:prod && npm run build:copy", "build:lib": "cross-env BABEL_ENV=es5_cjs babel src --out-dir build/lib --ignore 'src/**/*.spec.js,src/**/*.test.js'", "build:es": "cross-env BABEL_ENV=es babel src --out-dir build/es --ignore 'src/**/*.spec.js,src/**/*.test.js'", "build:dist:prod": "cross-env BABEL_ENV=umd webpack --config ./config/webpack/webpack.prod.js", "build:dist:dev": "cross-env BABEL_ENV=umd webpack --config ./config/webpack/webpack.dev.js", "build:copy": "copyfiles package.json readme.md LICENSE.txt build && copyfiles \"./src/**/*.d.ts\" -u 1 build", "test": "cross-env NODE_ENV=test jest -c ./config/test/jest.js", "test:watch": "npm run test -- --watchAll -i" }, "peerDependencies": { "react": ">=16.8.0" }, "devDependencies": { "@babel/cli": "^7.19.3", "@babel/core": "^7.19.6", "@babel/preset-env": "^7.19.4", "@babel/preset-react": "^7.18.6", "@babel/register": "^7.18.9", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "babel-loader": "^9.0.1", "compression-webpack-plugin": "^10.0.0", "copyfiles": "^2.4.1", "cross-env": "^7.0.3", "jest": "^29.2.2", "jest-environment-jsdom": "^29.2.2", "react": "^18.2.0", "react-dom": "^18.2.0", "regenerator-runtime": "^0.13.10", "rimraf": "^3.0.2", "webpack": "^5.74.0", "webpack-bundle-analyzer": "^4.7.0", "webpack-cli": "^4.10.0", "webpack-merge": "^5.8.0" } }