UNPKG

3.94 kBJSONView Raw
1{
2 "name": "@tanem/react-nprogress",
3 "version": "3.0.44",
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": "del compiled",
22 "clean:coverage": "del coverage",
23 "clean:dist": "del dist",
24 "compile": "tsc -p tsconfig.base.json",
25 "format": "prettier --write \"**/*.{js,ts,tsx}\"",
26 "lint": "eslint --ext js,ts,tsx .",
27 "postbundle": "del compiled && cp-cli ./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": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.cjs.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",
66 "react-dom": "^16.8.0"
67 },
68 "dependencies": {
69 "@babel/runtime": "^7.11.2",
70 "hoist-non-react-statics": "^3.3.2",
71 "prop-types": "^15.7.2",
72 "react-use": "^15.3.4"
73 },
74 "devDependencies": {
75 "@babel/core": "7.11.6",
76 "@babel/plugin-proposal-class-properties": "7.10.4",
77 "@babel/plugin-transform-runtime": "7.11.5",
78 "@babel/preset-env": "7.11.5",
79 "@babel/preset-react": "7.10.4",
80 "@babel/preset-typescript": "7.10.4",
81 "@testing-library/react": "11.0.4",
82 "@testing-library/react-hooks": "3.4.1",
83 "@types/hoist-non-react-statics": "3.3.1",
84 "@types/jest": "26.0.13",
85 "@types/mock-raf": "1.0.2",
86 "@types/prop-types": "15.7.3",
87 "@types/react": "16.9.49",
88 "@types/react-dom": "16.9.8",
89 "@typescript-eslint/eslint-plugin": "4.1.1",
90 "@typescript-eslint/parser": "4.1.1",
91 "babel-core": "6.26.3",
92 "babel-plugin-transform-react-remove-prop-types": "0.4.24",
93 "cp-cli": "2.0.0",
94 "cross-env": "7.0.2",
95 "del-cli": "3.0.1",
96 "eslint": "7.9.0",
97 "eslint-config-prettier": "6.11.0",
98 "eslint-plugin-react": "7.20.6",
99 "eslint-plugin-react-hooks": "4.1.2",
100 "jest": "26.4.2",
101 "mock-raf": "1.0.1",
102 "npm-run-all": "4.1.5",
103 "prettier": "2.1.1",
104 "react": "16.13.1",
105 "react-dom": "16.13.1",
106 "react-test-renderer": "16.13.1",
107 "regenerator-runtime": "0.13.7",
108 "rollup": "2.26.11",
109 "rollup-plugin-babel": "4.4.0",
110 "rollup-plugin-commonjs": "10.1.0",
111 "rollup-plugin-filesize": "9.0.2",
112 "rollup-plugin-node-resolve": "5.2.0",
113 "rollup-plugin-replace": "2.2.0",
114 "rollup-plugin-size-snapshot": "0.12.0",
115 "rollup-plugin-sourcemaps": "0.6.2",
116 "rollup-plugin-terser": "7.0.2",
117 "tanem-scripts": "5.0.40",
118 "ts-jest": "26.3.0",
119 "typescript": "4.0.2"
120 }
121}