@tanem/react-nprogress
Version:
A React primitive for building slim progress bars.
115 lines (114 loc) • 3.75 kB
JSON
{
"name": "@tanem/react-nprogress",
"version": "5.0.36",
"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 --ext js,ts,tsx .",
"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": "github:tanem/react-nprogress"
},
"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",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"hoist-non-react-statics": "^3.3.2"
},
"devDependencies": {
"@babel/core": "7.21.4",
"@babel/plugin-transform-runtime": "7.21.4",
"@babel/preset-env": "7.21.4",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.21.4",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-commonjs": "24.1.0",
"@rollup/plugin-node-resolve": "15.0.2",
"@rollup/plugin-replace": "5.0.2",
"@rollup/plugin-terser": "0.4.1",
"@testing-library/react": "14.0.0",
"@types/hoist-non-react-statics": "3.3.1",
"@types/jest": "29.5.1",
"@types/mock-raf": "1.0.3",
"@types/node": "18.16.1",
"@types/react": "18.2.0",
"@types/react-dom": "18.2.1",
"@typescript-eslint/eslint-plugin": "5.59.1",
"@typescript-eslint/parser": "5.59.1",
"babel-core": "6.26.3",
"eslint": "8.39.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-simple-import-sort": "10.0.0",
"jest": "29.5.0",
"jest-environment-jsdom": "29.5.0",
"mock-raf": "1.0.1",
"npm-run-all": "4.1.5",
"prettier": "2.8.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0",
"regenerator-runtime": "0.13.11",
"rollup": "3.21.0",
"rollup-plugin-sourcemaps": "0.6.3",
"shx": "0.3.4",
"tanem-scripts": "7.0.2",
"ts-jest": "29.1.0",
"typescript": "5.0.4"
}
}