UNPKG

react-loader-spinner

Version:

react-spinner-loader provides simple React.js spinner component which can be implemented for async wait operation before data load to the view.

120 lines (119 loc) 3.66 kB
{ "name": "react-loader-spinner", "version": "8.0.2", "description": "react-spinner-loader provides simple React.js spinner component which can be implemented for async wait operation before data load to the view.", "unpkg": "dist/main.js", "jsdelivr": "dist/main.js", "main": "dist/main.js", "source": "src/index.ts", "module": "dist/module.js", "types": "dist/index.d.ts", "author": { "name": "Mohan Upadhyay", "url": "https://mohanpd.com.np" }, "license": "MIT", "bugs": { "url": "https://github.com/mhnpd/react-loader-spinner" }, "homepage": "https://mhnpd.github.io/react-loader-spinner/", "keywords": [ "react-component", "loader", "spinner", "react" ], "repository": { "type": "git", "url": "https://github.com/mhnpd/react-loader-spinner" }, "scripts": { "build": "rimraf dist && tsup && node scripts/postbuild.cjs", "watch": "tsup --watch", "typecheck": "tsc --noEmit --skipLibCheck", "lint": "eslint ./src", "prettier": "prettier --write .", "clean": "rimraf dist/", "test": "jest --no-cache", "prepublishOnly": "npm run lint && npm run typecheck && npm run test && npm run build", "start": "npm run docs:start", "docs:gen-props": "node scripts/generate-props-docs.cjs", "docs:start": "npm run docs:gen-props && docusaurus start docs", "docs:build": "npm run docs:gen-props && docusaurus build docs", "docs:serve": "docusaurus serve docs", "docs:deploy": "USE_SSH=true docusaurus deploy docs", "docs:clear": "docusaurus clear docs", "docs:swizzle": "docusaurus swizzle", "docs:write-translations": "docusaurus write-translations", "docs:write-heading-ids": "docusaurus write-heading-ids" }, "devDependencies": { "@docusaurus/core": "3.9.2", "@docusaurus/plugin-content-docs": "^3.9.2", "@docusaurus/preset-classic": "3.9.2", "@docusaurus/theme-live-codeblock": "^3.9.2", "@docusaurus/tsconfig": "3.9.2", "@docusaurus/types": "3.9.2", "@eslint/js": "^9.39.2", "@mdx-js/react": "^3.1.1", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.1", "@types/jest": "^30.0.0", "@types/lodash": "^4.17.23", "@types/node": "^24.10.8", "@types/styled-components": "^5.1.36", "@types/tinycolor2": "^1.4.6", "@typescript-eslint/eslint-plugin": "^8.53.0", "@typescript-eslint/parser": "^8.53.0", "clsx": "^2.1.1", "eslint": "^9.39.2", "eslint-plugin-n": "^17.23.2", "eslint-plugin-promise": "^7.2.1", "eslint-plugin-react": "^7.37.5", "eslint-plugin-tree-shaking": "^1.12.2", "jest": "^30.2.0", "jest-environment-jsdom": "^30.2.0", "lodash": "^4.17.21", "prettier": "3.7.4", "prism-react-renderer": "^2.4.1", "rc-table": "^7.55.1", "react": "19.2.3", "react-docgen-typescript": "^2.4.0", "react-dom": "19.2.3", "react-live": "^4.1.8", "rimraf": "^6.1.2", "ts-jest": "^29.4.6", "tsup": "^8.5.1", "typescript": "^5.9.3" }, "peerDependencies": { "react": ">=17.0.0 <20.0.0", "react-dom": ">=17.0.0 <20.0.0" }, "dependencies": { "styled-components": "^6.3.6", "tinycolor2": "^1.6.0" }, "engines": { "node": ">= 12" }, "files": [ "dist", "LICENSE", "README.md" ], "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./beta": { "types": "./dist/beta.d.ts", "import": "./dist/beta.mjs", "require": "./dist/beta.cjs" }, "./package.json": "./package.json" } }