Skip to content

set up boilerplate #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": ["airbnb", "plugin:jest/recommended"],
"root": true,
"plugins": ["jest"],
"env": {
"jest/globals": true,
"browser": true,
"webextensions": true,
},
"globals": {
"fetch": false,
}
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
.DS_Store
dist/
extension/bundle.js
11 changes: 11 additions & 0 deletions extension/devtools.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">

<head>
</head>

<body>
<script src="bundle.js"></script>
</body>

</html>
1 change: 1 addition & 0 deletions extension/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chrome.devtools.panels.create('React Time-Travel', null, null, (panel) => { });
7 changes: 7 additions & 0 deletions extension/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "React Time-Travel",
"version": "1.0",
"devtools_page": "devtools.html",
"description": "A Chrome extension that helps debug React by memorizing the state of components with every render.",
"manifest_version": 2
}
Loading