UNPKG

@tanem/react-nprogress

Version:

A React primitive for building slim progress bars.

114 lines (113 loc) 3.71 kB
{ "name": "@tanem/react-nprogress", "version": "6.0.3", "description": "A React primitive for building slim progress bars.", "main": "dist/index.js", "module": "dist/react-nprogress.esm.js", "types": "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", "clean:react": "node ./scripts/clean-react.js", "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", "prepare": "npm run build", "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:react": "node ./scripts/test-react.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.28.6", "hoist-non-react-statics": "^3.3.2" }, "devDependencies": { "@babel/core": "7.29.0", "@babel/plugin-transform-runtime": "7.29.0", "@babel/preset-env": "7.29.0", "@babel/preset-react": "7.28.5", "@babel/preset-typescript": "7.28.5", "@eslint/js": "9.39.3", "@rollup/plugin-babel": "6.1.0", "@rollup/plugin-commonjs": "29.0.0", "@rollup/plugin-node-resolve": "16.0.3", "@rollup/plugin-replace": "6.0.3", "@rollup/plugin-terser": "1.0.0", "@testing-library/react": "16.3.2", "@types/hoist-non-react-statics": "3.3.7", "@types/jest": "30.0.0", "@types/mock-raf": "1.0.6", "@types/node": "24.11.0", "@types/react": "19.2.14", "@types/react-dom": "19.2.3", "eslint": "9.39.3", "eslint-config-prettier": "10.1.8", "eslint-plugin-react": "7.37.5", "eslint-plugin-react-hooks": "7.0.1", "eslint-plugin-simple-import-sort": "12.1.1", "globals": "17.3.0", "jest": "30.2.0", "jest-environment-jsdom": "30.2.0", "mock-raf": "1.0.1", "npm-run-all2": "8.0.4", "prettier": "3.8.1", "react": "19.2.4", "react-dom": "19.2.4", "rollup": "4.59.0", "shx": "0.4.0", "tanem-scripts": "8.0.4", "ts-jest": "29.4.6", "typescript": "5.9.3", "typescript-eslint": "8.56.1" } }