Skip to content

Commit 3c8a76c

Browse files
committed
Add faker
1 parent ea67565 commit 3c8a76c

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"dependencies": {
3535
"@babel/polyfill": "^7.10.4",
3636
"axios": "^0.21.1",
37+
"faker": "^5.5.3",
3738
"gh-pages": "^3.1.0",
3839
"github-fork-ribbon-css": "^0.2.3",
3940
"lodash": "^4.17.19",

src/components/About/util.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@ export default [
2727
url: 'https://moment.github.io/luxon/docs',
2828
use: 'luxon',
2929
},
30+
{
31+
name: 'faker.js',
32+
url: 'https://github.com/marak/Faker.js/',
33+
use: 'faker',
34+
},
3035
];

src/helpers/global.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ import { createStore, combineReducers } from 'redux';
33
import axios from 'axios';
44
import moment from 'moment-timezone';
55
import * as luxon from 'luxon';
6+
import faker from 'faker';
67

7-
_.extend(window, { _, axios, moment, luxon, Redux: { createStore, combineReducers } });
8+
_.extend(window, { _, axios, moment, luxon, faker, Redux: { createStore, combineReducers } });

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2769,6 +2769,11 @@ extglob@^2.0.4:
27692769
snapdragon "^0.8.1"
27702770
to-regex "^3.0.1"
27712771

2772+
faker@^5.5.3:
2773+
version "5.5.3"
2774+
resolved "https://registry.yarnpkg.com/faker/-/faker-5.5.3.tgz#c57974ee484431b25205c2c8dc09fda861e51e0e"
2775+
integrity sha512-wLTv2a28wjUyWkbnX7u/ABZBkUkIF2fCd73V6P2oFqEGEktDfzWx4UxrSqtPRw0xPRAcjeAOIiJWqZm3pP4u3g==
2776+
27722777
fast-deep-equal@^3.1.1:
27732778
version "3.1.3"
27742779
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"

0 commit comments

Comments
 (0)