1 | {
|
2 | "name": "react-pretty-bytes",
|
3 | "version": "1.0.2",
|
4 | "description": "Convert bytes to a human readable string",
|
5 | "main": "build/index.js",
|
6 | "scripts": {
|
7 | "start": "node scripts/start.js",
|
8 | "build": "node scripts/build.js",
|
9 | "demo": "node scripts/demo.js",
|
10 | "test": "node scripts/test.js"
|
11 | },
|
12 | "repository": {
|
13 | "type": "git",
|
14 | "url": "git+https://github.com/yohix/react-pretty-bytes.git"
|
15 | },
|
16 | "author": "Yohix",
|
17 | "bugs": {
|
18 | "url": "https://github.com/yohix/react-humanize-duration/issues"
|
19 | },
|
20 | "homepage": "https://github.com/yohix/react-humanize-duration",
|
21 | "license": "MIT",
|
22 | "dependencies": {
|
23 | "pretty-bytes": "^5.3.0"
|
24 | },
|
25 | "devDependencies": {
|
26 | "@babel/core": "^7.8.4",
|
27 | "@svgr/webpack": "^5.2.0 ",
|
28 | "@typescript-eslint/eslint-plugin": "^2.20.0",
|
29 | "@typescript-eslint/parser": "^2.20.0",
|
30 | "babel-eslint": "^10.0.3",
|
31 | "babel-jest": "^25.0.0",
|
32 | "babel-loader": "8.1.0",
|
33 | "babel-plugin-named-asset-import": "^0.3.6",
|
34 | "babel-preset-react-app": "^9.1.1",
|
35 | "case-sensitive-paths-webpack-plugin": "^2.3.0",
|
36 | "css-loader": "^3.4.1",
|
37 | "dotenv": "^8.2.0",
|
38 | "dotenv-expand": "^5.1.0",
|
39 | "eslint": "^6.8.0",
|
40 | "eslint-config-react-app": "^5.2.0",
|
41 | "eslint-loader": "^3.0.3",
|
42 | "eslint-plugin-flowtype": "^4.6.0",
|
43 | "eslint-plugin-import": "^2.20.1",
|
44 | "eslint-plugin-jsx-a11y": "^6.2.3",
|
45 | "eslint-plugin-react": "^7.18.3",
|
46 | "eslint-plugin-react-hooks": "^2.4.0",
|
47 | "file-loader": "^6.0.0",
|
48 | "fs-extra": "^9.0.0",
|
49 | "html-webpack-plugin": "4.0.0-beta.14",
|
50 | "identity-obj-proxy": "3.0.0",
|
51 | "is-wsl": "^2.1.1",
|
52 | "jest": "^25.0.0",
|
53 | "jest-environment-jsdom-fourteen": "^1.0.1",
|
54 | "jest-resolve": "^25.1.0",
|
55 | "jest-watch-typeahead": "^0.4.2",
|
56 | "mini-css-extract-plugin": "^0.9.0",
|
57 | "optimize-css-assets-webpack-plugin": "^5.0.2",
|
58 | "pnp-webpack-plugin": "^1.6.4",
|
59 | "postcss-flexbugs-fixes": "^4.2.0",
|
60 | "postcss-loader": "3.0.0",
|
61 | "postcss-normalize": "8.0.1",
|
62 | "postcss-preset-env": "^6.7.0",
|
63 | "postcss-safe-parser": "^4.0.2",
|
64 | "react": "^16.12.0",
|
65 | "react-app-polyfill": "^1.0.6",
|
66 | "react-dev-utils": "^9.1.0",
|
67 | "react-dom": "^16.12.0",
|
68 | "resolve": "^1.15.1",
|
69 | "sass-loader": "^8.0.2",
|
70 | "semver": "^7.1.3",
|
71 | "style-loader": "^1.1.3",
|
72 | "terser-webpack-plugin": "^2.3.5",
|
73 | "typescript": "^3.8.2",
|
74 | "url-loader": "^4.0.0",
|
75 | "webpack": "^4.41.6",
|
76 | "webpack-dev-server": "^3.10.3",
|
77 | "webpack-manifest-plugin": "^2.2.0"
|
78 | },
|
79 | "eslintConfig": {
|
80 | "extends": "react-app"
|
81 | },
|
82 | "browserslist": {
|
83 | "production": [
|
84 | ">0.2%",
|
85 | "not dead",
|
86 | "not op_mini all"
|
87 | ],
|
88 | "development": [
|
89 | "last 1 chrome version",
|
90 | "last 1 firefox version",
|
91 | "last 1 safari version"
|
92 | ]
|
93 | },
|
94 | "jest": {
|
95 | "collectCoverageFrom": [
|
96 | "src/**/*.{js,jsx,ts,tsx}",
|
97 | "!src/**/*.d.ts"
|
98 | ],
|
99 | "setupFiles": [
|
100 | "react-app-polyfill/jsdom"
|
101 | ],
|
102 | "setupFilesAfterEnv": [],
|
103 | "testMatch": [
|
104 | "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
|
105 | "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
|
106 | ],
|
107 | "testEnvironment": "jest-environment-jsdom-fourteen",
|
108 | "transform": {
|
109 | "^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
|
110 | "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
111 | "^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
112 | },
|
113 | "transformIgnorePatterns": [
|
114 | "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
|
115 | "^.+\\.module\\.(css|sass|scss)$"
|
116 | ],
|
117 | "modulePaths": [],
|
118 | "moduleNameMapper": {
|
119 | "^react-native$": "react-native-web",
|
120 | "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
|
121 | },
|
122 | "moduleFileExtensions": [
|
123 | "web.js",
|
124 | "js",
|
125 | "web.ts",
|
126 | "ts",
|
127 | "web.tsx",
|
128 | "tsx",
|
129 | "json",
|
130 | "web.jsx",
|
131 | "jsx",
|
132 | "node"
|
133 | ],
|
134 | "watchPlugins": [
|
135 | "jest-watch-typeahead/filename",
|
136 | "jest-watch-typeahead/testname"
|
137 | ]
|
138 | },
|
139 | "babel": {
|
140 | "presets": [
|
141 | "react-app"
|
142 | ]
|
143 | },
|
144 | "keywords": [
|
145 | "yohix",
|
146 | "react",
|
147 | "react native",
|
148 | "humanizer",
|
149 | "humanize bytes",
|
150 | "pretty bytes"
|
151 | ]
|
152 | }
|