UNPKG

@tanem/react-nprogress

Version:

A React primitive for building slim progress bars.

117 lines (116 loc) 3.83 kB
{ "name": "@tanem/react-nprogress", "version": "5.0.55", "description": "A React primitive for building slim progress bars.", "main": "dist/index.js", "module": "dist/react-nprogress.esm.js", "jsnext:main": "dist/react-nprogress.esm.js", "typings": "dist/index.d.ts", "sideEffects": false, "files": [ "dist" ], "scripts": { "authors": "tanem-scripts authors > AUTHORS", "build": "run-s clean compile bundle", "bundle": "rollup -c", "changelog": "tanem-scripts changelog -f v$npm_package_version > CHANGELOG.md", "check:format": "prettier --list-different \"**/*.{js,ts,tsx}\"", "check:types": "tsc --noEmit", "clean": "run-p clean:*", "clean:compiled": "shx rm -rf compiled", "clean:coverage": "shx rm -rf coverage", "clean:dist": "shx rm -rf dist", "compile": "tsc -p tsconfig.base.json", "format": "npm run lint -- --fix && prettier --write \"**/*.{js,ts,tsx}\"", "lint": "eslint .", "postbundle": "npm run clean:compiled && shx cp ./index.js ./dist/index.js", "release": "tanem-scripts release", "test": "run-s check:* lint build test:*", "test:cjs": "jest --config ./scripts/jest/config.cjs.js", "test:cjsprod": "jest --config ./scripts/jest/config.cjsprod.js", "test:es": "jest --config ./scripts/jest/config.es.js", "test:src": "jest --config ./scripts/jest/config.src.js", "test:umd": "jest --config ./scripts/jest/config.umd.js", "test:umdprod": "jest --config ./scripts/jest/config.umdprod.js", "version": "run-s test changelog authors && git add ." }, "repository": { "type": "git", "url": "git+https://github.com/tanem/react-nprogress.git" }, "keywords": [ "animation", "component", "higher-order-component", "hoc", "hook", "hooks", "javascript", "loading", "nprogress", "progress", "react", "render-props", "spinner", "typescript" ], "author": "Tane Morgan <tane.morgan@gmail.com>", "license": "MIT", "bugs": { "url": "github:tanem/react-nprogress/issues" }, "homepage": "github:tanem/react-nprogress", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "dependencies": { "@babel/runtime": "^7.26.0", "hoist-non-react-statics": "^3.3.2" }, "devDependencies": { "@babel/core": "7.26.0", "@babel/plugin-transform-runtime": "7.25.9", "@babel/preset-env": "7.26.0", "@babel/preset-react": "7.26.3", "@babel/preset-typescript": "7.26.0", "@eslint/compat": "1.2.5", "@eslint/eslintrc": "3.2.0", "@eslint/js": "9.18.0", "@rollup/plugin-babel": "6.0.4", "@rollup/plugin-commonjs": "28.0.2", "@rollup/plugin-node-resolve": "16.0.0", "@rollup/plugin-replace": "6.0.2", "@rollup/plugin-terser": "0.4.4", "@testing-library/react": "16.2.0", "@types/hoist-non-react-statics": "3.3.6", "@types/jest": "29.5.14", "@types/mock-raf": "1.0.6", "@types/node": "22.10.10", "@types/react": "19.0.8", "@types/react-dom": "19.0.3", "@typescript-eslint/eslint-plugin": "8.21.0", "@typescript-eslint/parser": "8.21.0", "babel-core": "6.26.3", "eslint": "9.18.0", "eslint-config-prettier": "10.0.1", "eslint-plugin-react": "7.37.4", "eslint-plugin-react-hooks": "5.1.0", "eslint-plugin-simple-import-sort": "12.1.1", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", "mock-raf": "1.0.1", "npm-run-all2": "7.0.2", "prettier": "3.4.2", "react": "19.0.0", "react-dom": "19.0.0", "react-test-renderer": "19.0.0", "regenerator-runtime": "0.14.1", "rollup": "4.31.0", "shx": "0.3.4", "tanem-scripts": "7.0.27", "ts-jest": "29.2.5", "typescript": "5.7.3" } }