UNPKG

spinners-react

Version:

Lightweight SVG/CSS spinners for React

110 lines (109 loc) 3.08 kB
{ "name": "spinners-react", "version": "1.0.11", "description": "Lightweight SVG/CSS spinners for React", "sideEffects": [ "src/*.css" ], "main": "lib/umd/index.js", "module": "lib/esm/index.js", "types": "lib/esm/index.d.ts", "type": "module", "scripts": { "prepublishOnly": "npm run lint && npm run jest && npm run build", "clean": "rimraf lib/*", "prebuild": "npm run clean", "prestart": "npm run clean", "build": "node --max-old-space-size=4096 node_modules/rollup/dist/bin/rollup -c --configProd", "start": "rollup -c -w", "lint": "eslint --ext .js,.jsx,.ts,.tsx ./", "types": "tsc --noEmit", "jest": "jest --coverage", "test": "npm run jest -- --coverageReporters=text-lcov | coveralls" }, "files": [ "lib", "src" ], "directories": { "lib": "./lib", "src": "./src", "test": "./src/__tests__" }, "keywords": [ "react-spinners", "react-spinner", "spinner-react", "spinners", "spinner", "loaders", "loader", "loading", "loading spinners", "loading spinner", "progress", "react", "reactjs", "svg", "css" ], "repository": { "type": "git", "url": "https://github.com/adexin/spinners-react.git" }, "bugs": { "url": "https://github.com/adexin/spinners-react/issues", "email": "info@adexin.com" }, "author": { "name": "Adexin", "email": "info@adexin.com", "url": "https://adexin.com" }, "contributors": [], "license": "MIT", "homepage": "demo.adexin.com/spinners/", "devDependencies": { "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.0", "@testing-library/jest-dom": "^6.5.0", "@testing-library/react": "^16.0.1", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", "coveralls": "^3.1.1", "eslint": "^8.2.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-import-resolver-typescript": "^3.6.3", "eslint-plugin-import": "^2.30.0", "eslint-plugin-jsx-a11y": "^6.10.0", "eslint-plugin-react": "^7.37.1", "eslint-plugin-react-hooks": "^4.6.2", "glob": "^10.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "react": "^19.0.0", "react-dom": "^19.0.0", "rollup": "^4.23.0", "rollup-plugin-copy-glob": "^0.3.2", "rollup-plugin-delete": "^2.1.0", "rollup-plugin-postcss": "^4.0.2", "source-map-loader": "^5.0.0", "style-inject": "^0.3.0", "style-loader": "^4.0.0", "ts-jest": "^29.2.5", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "tslib": "^2.7.0", "typescript": "^5.6.2" }, "peerDependencies": { "@types/react": "^16.x || ^17.x || ^18.x || ^19.x", "@types/react-dom": "^16.x || ^17.x || ^18.x || ^19.x", "react": "^16.x || ^17.x || ^18.x || ^19.x", "react-dom": "^16.x || ^17.x || ^18.x || ^19.x" } }