Skip to content

Commit 387fddf

Browse files
committed
Basic infrastructure
1 parent d554c2a commit 387fddf

29 files changed

+9061
-0
lines changed

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
indent_size = 2
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**/node_modules/**

.eslintrc

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parser": "babel-eslint",
3+
"extends": [
4+
"eslint:recommended",
5+
"airbnb",
6+
"prettier"
7+
],
8+
"globals": {
9+
"chrome": true
10+
},
11+
"env": {
12+
"browser": true,
13+
"node": true,
14+
"jest": true,
15+
},
16+
"rules": {
17+
"prettier/prettier": [
18+
"error",
19+
{
20+
trailingComma: 'es5',
21+
singleQuote: true,
22+
}
23+
],
24+
"no-param-reassign": "off",
25+
"func-names": "off"
26+
},
27+
"plugins": [
28+
"babel",
29+
"prettier"
30+
]
31+
}

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,5 @@ typings/
5757
# dotenv environment variables file
5858
.env
5959

60+
# build
61+
build

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# GitHub File Icon

package.json

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"name": "github-file-icon",
3+
"description": "A Chrome Extension which energizes GitHub file system.",
4+
"author": "xxhomey19",
5+
"license": "MIT",
6+
"homepage": "https://github.com/xxhomey19/github-file-icon#readme",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/xxhomey19/github-file-icon/tree/master"
10+
},
11+
"bugs": {
12+
"url": "https://github.com/xxhomey19/github-file-icon/issues"
13+
},
14+
"version": "0.0.1",
15+
"scripts": {
16+
"build": "node utils/build.js",
17+
"precommit": "lint-staged",
18+
"lint": "eslint src",
19+
"lint:fix": "npm run lint -- --fix",
20+
"start": "node utils/webserver.js"
21+
},
22+
"dependencies": {
23+
"file-icons-js": "^1.0.3",
24+
"webpack": "^3.10.0",
25+
"webpack-dev-server": "^2.9.7"
26+
},
27+
"devDependencies": {
28+
"babel-eslint": "^8.1.2",
29+
"clean-webpack-plugin": "^0.1.17",
30+
"copy-webpack-plugin": "^4.3.1",
31+
"css-loader": "^0.25.0",
32+
"eslint": "^4.14.0",
33+
"eslint-config-airbnb": "^16.1.0",
34+
"eslint-config-prettier": "^2.9.0",
35+
"eslint-plugin-babel": "^4.1.2",
36+
"eslint-plugin-import": "^2.8.0",
37+
"eslint-plugin-jsx-a11y": "^6.0.3",
38+
"eslint-plugin-prettier": "^2.4.0",
39+
"eslint-plugin-react": "^7.5.1",
40+
"extract-text-webpack-plugin": "^3.0.2",
41+
"file-loader": "^0.11.2",
42+
"html-loader": "^0.4.5",
43+
"html-webpack-plugin": "^2.24.1",
44+
"husky": "^0.14.3",
45+
"lint-staged": "^6.0.0",
46+
"prettier": "^1.9.2",
47+
"prettier-package-json": "^1.4.0",
48+
"style-loader": "^0.19.1",
49+
"write-file-webpack-plugin": "^3.4.2"
50+
},
51+
"keywords": [
52+
"Chrome Extension",
53+
"GitHub",
54+
"icon"
55+
],
56+
"lint-staged": {
57+
"package.json": [
58+
"prettier-package-json --write",
59+
"git add"
60+
],
61+
"*.js": [
62+
"eslint --fix",
63+
"git add"
64+
]
65+
}
66+
}

src/background.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
</head>
6+
<body>
7+
</body>
8+
</html>

0 commit comments

Comments
 (0)