1 | {
|
2 | "name": "@tanem/react-nprogress",
|
3 | "version": "5.0.51",
|
4 | "description": "A React primitive for building slim progress bars.",
|
5 | "main": "dist/index.js",
|
6 | "module": "dist/react-nprogress.esm.js",
|
7 | "jsnext:main": "dist/react-nprogress.esm.js",
|
8 | "typings": "dist/index.d.ts",
|
9 | "sideEffects": false,
|
10 | "files": [
|
11 | "dist"
|
12 | ],
|
13 | "scripts": {
|
14 | "authors": "tanem-scripts authors > AUTHORS",
|
15 | "build": "run-s clean compile bundle",
|
16 | "bundle": "rollup -c",
|
17 | "changelog": "tanem-scripts changelog -f v$npm_package_version > CHANGELOG.md",
|
18 | "check:format": "prettier --list-different \"**/*.{js,ts,tsx}\"",
|
19 | "check:types": "tsc --noEmit",
|
20 | "clean": "run-p clean:*",
|
21 | "clean:compiled": "shx rm -rf compiled",
|
22 | "clean:coverage": "shx rm -rf coverage",
|
23 | "clean:dist": "shx rm -rf dist",
|
24 | "compile": "tsc -p tsconfig.base.json",
|
25 | "format": "npm run lint -- --fix && prettier --write \"**/*.{js,ts,tsx}\"",
|
26 | "lint": "eslint --ext js,ts,tsx .",
|
27 | "postbundle": "npm run clean:compiled && shx cp ./index.js ./dist/index.js",
|
28 | "release": "tanem-scripts release",
|
29 | "test": "run-s check:* lint build test:*",
|
30 | "test:cjs": "jest --config ./scripts/jest/config.cjs.js",
|
31 | "test:cjsprod": "jest --config ./scripts/jest/config.cjsprod.js",
|
32 | "test:es": "jest --config ./scripts/jest/config.es.js",
|
33 | "test:src": "jest --config ./scripts/jest/config.src.js",
|
34 | "test:umd": "jest --config ./scripts/jest/config.umd.js",
|
35 | "test:umdprod": "jest --config ./scripts/jest/config.umdprod.js",
|
36 | "version": "run-s test changelog authors && git add ."
|
37 | },
|
38 | "repository": {
|
39 | "type": "git",
|
40 | "url": "github:tanem/react-nprogress"
|
41 | },
|
42 | "keywords": [
|
43 | "animation",
|
44 | "component",
|
45 | "higher-order-component",
|
46 | "hoc",
|
47 | "hook",
|
48 | "hooks",
|
49 | "javascript",
|
50 | "loading",
|
51 | "nprogress",
|
52 | "progress",
|
53 | "react",
|
54 | "render-props",
|
55 | "spinner",
|
56 | "typescript"
|
57 | ],
|
58 | "author": "Tane Morgan <tane.morgan@gmail.com>",
|
59 | "license": "MIT",
|
60 | "bugs": {
|
61 | "url": "github:tanem/react-nprogress/issues"
|
62 | },
|
63 | "homepage": "github:tanem/react-nprogress",
|
64 | "peerDependencies": {
|
65 | "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
66 | "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
67 | },
|
68 | "dependencies": {
|
69 | "@babel/runtime": "^7.22.15",
|
70 | "hoist-non-react-statics": "^3.3.2"
|
71 | },
|
72 | "devDependencies": {
|
73 | "@babel/core": "7.22.17",
|
74 | "@babel/plugin-transform-runtime": "7.22.15",
|
75 | "@babel/preset-env": "7.22.15",
|
76 | "@babel/preset-react": "7.22.15",
|
77 | "@babel/preset-typescript": "7.22.15",
|
78 | "@rollup/plugin-babel": "6.0.3",
|
79 | "@rollup/plugin-commonjs": "25.0.4",
|
80 | "@rollup/plugin-node-resolve": "15.2.1",
|
81 | "@rollup/plugin-replace": "5.0.2",
|
82 | "@rollup/plugin-terser": "0.4.3",
|
83 | "@testing-library/react": "14.0.0",
|
84 | "@types/hoist-non-react-statics": "3.3.1",
|
85 | "@types/jest": "29.5.4",
|
86 | "@types/mock-raf": "1.0.3",
|
87 | "@types/node": "18.17.15",
|
88 | "@types/react": "18.2.21",
|
89 | "@types/react-dom": "18.2.7",
|
90 | "@typescript-eslint/eslint-plugin": "6.7.0",
|
91 | "@typescript-eslint/parser": "6.7.0",
|
92 | "babel-core": "6.26.3",
|
93 | "eslint": "8.49.0",
|
94 | "eslint-config-prettier": "9.0.0",
|
95 | "eslint-plugin-react": "7.33.2",
|
96 | "eslint-plugin-react-hooks": "4.6.0",
|
97 | "eslint-plugin-simple-import-sort": "10.0.0",
|
98 | "jest": "29.7.0",
|
99 | "jest-environment-jsdom": "29.7.0",
|
100 | "mock-raf": "1.0.1",
|
101 | "npm-run-all": "4.1.5",
|
102 | "prettier": "3.0.3",
|
103 | "react": "18.2.0",
|
104 | "react-dom": "18.2.0",
|
105 | "react-test-renderer": "18.2.0",
|
106 | "regenerator-runtime": "0.14.0",
|
107 | "rollup": "3.29.1",
|
108 | "rollup-plugin-sourcemaps": "0.6.3",
|
109 | "shx": "0.3.4",
|
110 | "tanem-scripts": "7.0.17",
|
111 | "ts-jest": "29.1.1",
|
112 | "typescript": "5.2.2"
|
113 | }
|
114 | }
|