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

Commit

Permalink
Merge pull request #169 from spicyj/cr-rel
Browse files Browse the repository at this point in the history
Add files for Chrome and Firefox releases
  • Loading branch information
sophiebits committed Sep 2, 2015
2 parents 3d8545d + 04123e6 commit 0fcdeb9
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 8 deletions.
Binary file added shells/chrome/icons/icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shells/chrome/icons/icon48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions shells/chrome/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"manifest_version": 2,
"name": "New React Developer Tools",
"name": "React Developer Tools",
"description": "Adds React debugging tools to the Chrome Developer Tools.",
"version": "0.14",
"icons": {
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},

"devtools_page": "main.html",
Expand All @@ -18,8 +20,7 @@

"permissions": [
"http://*/",
"https://*/*",
"file://*"
"https://*/*"
],

"content_scripts": [
Expand Down
4 changes: 3 additions & 1 deletion shells/chrome/webpack.backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@

var webpack = require('webpack');

var __DEV__ = process.env.NODE_ENV !== 'production';

module.exports = {
devtool: 'cheap-module-eval-source-map',
devtool: __DEV__ ? 'cheap-module-eval-source-map' : false,
entry: {
backend: './src/backend.js',
},
Expand Down
4 changes: 3 additions & 1 deletion shells/chrome/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
*/
'use strict';

var __DEV__ = process.env.NODE_ENV !== 'production';

module.exports = {
devtool: 'cheap-module-eval-source-map',
devtool: __DEV__ ? 'cheap-module-eval-source-map' : false,
entry: {
main: './src/main.js',
background: './src/background.js',
Expand Down
1 change: 1 addition & 0 deletions shells/firefox/.jpmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.swo
.DS_Store
node_modules
src
Binary file removed shells/firefox/data/icon.png
Binary file not shown.
Binary file added shells/firefox/data/tool-react.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion shells/firefox/main/ReactPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const ReactPanel = Class({
extends: Panel,
label: 'React',
tooltip: 'Debug & Develop React Apps',
icon: './icon.png',
icon: './tool-react.png',
url: './panel.html',
setup(options) {
// this.debuggee = options.debuggee;
Expand Down
4 changes: 2 additions & 2 deletions shells/firefox/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"title": "React Devtools",
"name": "react-devtools",
"version": "0.0.1",
"description": "Extend the devtools to help you debug and develop react apps",
"version": "0.14.1",
"description": "Adds React debugging tools to Firefox.",
"main": "main/index.js",
"author": "Facebook",
"engines": {
Expand Down

0 comments on commit 0fcdeb9

Please sign in to comment.