Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
painty committed Jun 10, 2019
2 parents 084c814 + be03978 commit ffdc35b
Show file tree
Hide file tree
Showing 11 changed files with 5,159 additions and 2,674 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ Temporary Items
node_modules

# built
dest/asset/js/content.js
dest/asset/js/content.js
test/index.build.js
test/index.build.js.map
.cache
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ You can click "Preview" to see the selected part with clean style rules.

## Changelog

Go to [releases](https://github.com/painty/CSS-Used-ChromeExt/releases)

For older version infomation:
Go to the [Changelog page](CHANGELOG.md)

## Dev

1. `npm install` to install all the dependencies
2. `npm run dev` watch & gernerate an unminified version of `content.js` for debug
3. `npm run build` gernerate a minified version of `content.js`
3. `npm run test` will start a local http://127.0.0.1:8080 server. Visiting the test page and check the console
2. `npm run build` gernerate `/dest/asset/js/content.js`. Drag the `dest` folder to `chrome://extensions/`, remember to turn on the dev mode on the top right of the page.
3. `npm test` will start a local `http://localhost:1234` server. Visiting the test page and check the console.
2 changes: 1 addition & 1 deletion dest/asset/css/pannel.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ form button{/* margin:0; */}
.theme-dark ::-webkit-scrollbar-track{background:#242424;border-left:1px solid #2b2b2b;}
.theme-dark button{border-color:rgba(230,230,230,0.2);color:#cccccc;background-color:rgb(36,36,36);}
#copy{background-color:#1a73e8;border:none;color:#fff;}
#copy:hover{background-color:#3b86e8;}
#copy:hover{background-color:#3b86e8;}
2 changes: 1 addition & 1 deletion dest/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CSS Used",
"version": "2.3.3",
"version": "2.4.0",
"permissions": ["<all_urls>","tabs"],
"author": "Bob",
"icons": {
Expand Down
Loading

0 comments on commit ffdc35b

Please sign in to comment.