Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 04123e6

Browse files
committed
Add files for Chrome and Firefox releases
1 parent e535414 commit 04123e6

File tree

10 files changed

+14
-8
lines changed

10 files changed

+14
-8
lines changed

shells/chrome/icons/icon128.png

892 Bytes
Loading

shells/chrome/icons/icon48.png

935 Bytes
Loading

shells/chrome/manifest.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"manifest_version": 2,
3-
"name": "New React Developer Tools",
3+
"name": "React Developer Tools",
44
"description": "Adds React debugging tools to the Chrome Developer Tools.",
55
"version": "0.14",
66
"icons": {
7+
"48": "icons/icon48.png",
8+
"128": "icons/icon128.png"
79
},
810

911
"devtools_page": "main.html",
@@ -18,8 +20,7 @@
1820

1921
"permissions": [
2022
"http://*/",
21-
"https://*/*",
22-
"file://*"
23+
"https://*/*"
2324
],
2425

2526
"content_scripts": [

shells/chrome/webpack.backend.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111

1212
var webpack = require('webpack');
1313

14+
var __DEV__ = process.env.NODE_ENV !== 'production';
15+
1416
module.exports = {
15-
devtool: 'cheap-module-eval-source-map',
17+
devtool: __DEV__ ? 'cheap-module-eval-source-map' : false,
1618
entry: {
1719
backend: './src/backend.js',
1820
},

shells/chrome/webpack.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
*/
1010
'use strict';
1111

12+
var __DEV__ = process.env.NODE_ENV !== 'production';
13+
1214
module.exports = {
13-
devtool: 'cheap-module-eval-source-map',
15+
devtool: __DEV__ ? 'cheap-module-eval-source-map' : false,
1416
entry: {
1517
main: './src/main.js',
1618
background: './src/background.js',

shells/firefox/.jpmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.swo
33
.DS_Store
44
node_modules
5+
src

shells/firefox/data/icon.png

-4.66 KB
Binary file not shown.

shells/firefox/data/tool-react.png

821 Bytes
Loading

shells/firefox/main/ReactPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const ReactPanel = Class({
1919
extends: Panel,
2020
label: 'React',
2121
tooltip: 'Debug & Develop React Apps',
22-
icon: './icon.png',
22+
icon: './tool-react.png',
2323
url: './panel.html',
2424
setup(options) {
2525
// this.debuggee = options.debuggee;

shells/firefox/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"title": "React Devtools",
33
"name": "react-devtools",
4-
"version": "0.0.1",
5-
"description": "Extend the devtools to help you debug and develop react apps",
4+
"version": "0.14.1",
5+
"description": "Adds React debugging tools to Firefox.",
66
"main": "main/index.js",
77
"author": "Facebook",
88
"engines": {

0 commit comments

Comments
 (0)