Skip to content

Commit bebe9d7

Browse files
Merge pull request #82 from victorvrv/victor-dev
Added icons to manifest and create icons folder.
2 parents 45055f2 + 37fca6d commit bebe9d7

File tree

7 files changed

+27
-20
lines changed

7 files changed

+27
-20
lines changed

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
11
{
22
"name": "react-rewind",
33
"version": "1.0.0",
4-
"description": "\"Time Travel Debugger for React Hooks\"",
4+
"description": "Time-travel debugger for React useReducer",
55
"main": "index.js",
66
"scripts": {
77
"lint": "eslint \"*/**/*.{js,jsx}\"",
88
"test": "echo \"Error: no test specified\" && exit 1",
99
"bundle_bg": "browserify src/browser/chrome/background.js -o src/browser/chrome/devtools_bundle/bg_bundle.js",
10-
"build": "npm run bundle_bg & npm run webpack --prefix ./src/app"
10+
"build": "npm run bundle_bg & npm run webpack --prefix ./src/app",
11+
"install_dep": "npm install & npm install --prefix ./src/app"
1112
},
1213
"repository": {
1314
"type": "git",
1415
"url": "https://github.com/reactrewind"
1516
},
16-
"author": "react-rewind",
17-
"license": "ISC",
17+
"author": "React Rewind",
18+
"license": "MIT",
1819
"devDependencies": {
1920
"babel-eslint": "^10.0.1",
21+
"browserify": "^16.2.3",
2022
"eslint": "^5.14.1",
2123
"eslint-plugin-import": "^2.16.0",
22-
"eslint-plugin-react": "^7.12.4",
23-
"watchify": "^3.11.1"
24+
"eslint-plugin-react": "^7.12.4"
2425
},
2526
"dependencies": {
2627
"escodegen": "^1.11.1",
@@ -29,4 +30,4 @@
2930
"esprima": "^4.0.1",
3031
"estraverse": "^4.2.0"
3132
}
32-
}
33+
}

src/app/package.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "client",
2+
"name": "react-rewind",
33
"version": "1.0.0",
4-
"description": "",
4+
"description": "Time-travel debugger for React useReducer",
55
"main": "index.js",
66
"scripts": {
77
"start": "nodemon server/server.js",
@@ -15,27 +15,28 @@
1515
"@babel/preset-react"
1616
]
1717
},
18-
"author": "",
19-
"license": "ISC",
18+
"repository": {
19+
"type": "git",
20+
"url": "https://github.com/reactrewind"
21+
},
22+
"author": "React Rewind",
23+
"license": "MIT",
2024
"dependencies": {
2125
"@babel/core": "^7.0.0",
2226
"@babel/preset-env": "^7.0.0",
2327
"@babel/preset-react": "^7.0.0",
2428
"@babel/register": "^7.0.0",
2529
"babel-loader": "^8.0.5",
2630
"css-loader": "^2.1.0",
27-
"escodegen": "^1.11.1",
28-
"esprima": "^4.0.1",
29-
"estraverse": "^4.2.0",
30-
"html-webpack-plugin": "^3.2.0",
3131
"react": "^16.8.3",
3232
"react-dom": "^16.8.3",
3333
"react-json-view": "^1.19.1",
3434
"react-router-dom": "^4.3.1",
3535
"style-loader": "^0.23.1",
36-
"styled-components": "^4.1.3",
37-
"webpack": "^4.29.5",
38-
"webpack-cli": "^3.2.3",
39-
"webpack-dev-server": "^3.2.0"
36+
"styled-components": "^4.1.3"
37+
},
38+
"devDependencies": {
39+
"webpack": "^4.29.6",
40+
"webpack-cli": "^3.3.0"
4041
}
4142
}

src/browser/chrome/icons/icon_128.png

11.5 KB
Loading

src/browser/chrome/icons/icon_16.png

550 Bytes
Loading

src/browser/chrome/icons/icon_48.png

2.66 KB
Loading
File renamed without changes.

src/browser/chrome/manifest.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@
55
"manifest_version": 2,
66
"page_action": {
77
"default_icon": {
8-
"32": "icon.png"
8+
"32": "icons/pa_icon.png"
99
},
1010
"default_popup": "page_action.html"
1111
},
12+
"icons": {
13+
"16": "icons/icon_16.png",
14+
"48": "icons/icon_48.png",
15+
"128": "icons/icon_128.png"
16+
},
1217
"background": {
1318
"scripts": ["devtools_bundle/bg_bundle.js"]
1419
},

0 commit comments

Comments
 (0)