Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rgehan committed Oct 12, 2023
1 parent ab23e43 commit 6bc41bd
Show file tree
Hide file tree
Showing 5 changed files with 1,473 additions and 3,025 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_modules/
yarn-error.log

.cache/
.parcel-cache/

dist/
dist.crx
Expand Down
6 changes: 6 additions & 0 deletions .parcelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "@parcel/config-default",
"transformers": {
"*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"]
}
}
18 changes: 15 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
{
"name": "github-trending-chrome-extension",
"targets": {
"app": {
"context": "browser"
},
"service_worker": {
"context": "service-worker"
}
},
"browserslist": "> 0.5%, last 2 versions, not dead",
"version": "2.1.1",
"main": "index.js",
"author": "Renan GEHAN <[email protected]>",
"license": "MIT",
"dependencies": {
Expand Down Expand Up @@ -34,6 +42,9 @@
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-proposal-decorators": "^7.6.0",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@parcel/config-default": "^2.10.0",
"@parcel/transformer-sass": "2.10.0",
"@parcel/transformer-typescript-tsc": "^2.10.0",
"@types/chrome": "^0.0.239",
"@types/classnames": "^2.2.9",
"@types/clipboard": "^2.0.1",
Expand All @@ -52,8 +63,9 @@
"eslint-plugin-react": "^7.18.3",
"jest": "^24.5.0",
"jest-localstorage-mock": "^2.4.0",
"parcel-bundler": "^1.12.3",
"parcel": "^2.0.0",
"prettier": "^1.19.1",
"process": "^0.11.10",
"puppeteer": "^2.0.0",
"rimraf": "^3.0.2",
"sass": "^1.24.2",
Expand All @@ -78,4 +90,4 @@
"e2e": "cypress open",
"lint": "eslint --ext ts,tsx src/"
}
}
}
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<body>
<div id="container"></div>
<script type="text/javascript" src="index.tsx"></script>
<script type="module" src="index.tsx"></script>
</body>

</html>
Loading

0 comments on commit 6bc41bd

Please sign in to comment.