-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
77ad9e6
commit b6975bf
Showing
21 changed files
with
810 additions
and
599 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
"extends": "airbnb-base" | ||
}; | ||
extends: 'airbnb-base', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"editorconfig.editorconfig", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"editor.minimap.enabled": false, | ||
"editor.wordWrap": "off", | ||
// Turns on auto format on save for all files types. | ||
// This is also required to allow Prettier to auto format files on save. | ||
"editor.formatOnSave": true, | ||
// Turns it off for JavaScript since we use Prettier to auto format on save. | ||
"javascript.format.enable": false, | ||
"javascript.validate.enable": true, | ||
"json.format.enable": false, | ||
// Required to allow auto format on save with Prettier + ESLint + Vetur. | ||
"eslint.autoFixOnSave": true, | ||
"eslint.alwaysShowStatus": true, | ||
"prettier.eslintIntegration": true, | ||
"prettier.stylelintIntegration": true, | ||
"sort-imports.suppress-warnings": true, | ||
"search.exclude": { | ||
"**/node_modules*": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,69 @@ | ||
{ | ||
"name": "size-plugin-bot", | ||
"version": "1.0.0", | ||
"description": "A Github bot for size-plugin", | ||
"author": "kuldeepkeshwar <kuldeepkeshwar@gmail.com>", | ||
"license": "ISC", | ||
"repository": "https://github.com/kuldeepkeshwar/size-plugin-bot.git", | ||
"homepage": "https://github.com/kuldeepkeshwar/size-plugin-bot", | ||
"bugs": "https://github.com/kuldeepkeshwar/size-plugin-bot/issues", | ||
"keywords": [ | ||
"size-plugin", | ||
"size-plugin-bot" | ||
], | ||
"scripts": { | ||
"dev": "nodemon", | ||
"start": "probot run ./src/index.js", | ||
"lint": "standard --fix", | ||
"test": "jest && standard", | ||
"test:watch": "jest --watch --notify --notifyMode=change --coverage" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.19.0", | ||
"emojis-list": "^3.0.0", | ||
"fs-extra": "^8.0.1", | ||
"pretty-bytes": "^5.2.0", | ||
"probot": "^9.2.20", | ||
"probot-config": "^1.1.0" | ||
}, | ||
"devDependencies": { | ||
"dotenv": "^8.0.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-airbnb-base": "^13.2.0", | ||
"eslint-plugin-import": "^2.18.0", | ||
"execa": "^1.0.0", | ||
"jest": "^24.0.0", | ||
"nock": "^10.0.0", | ||
"nodemon": "^1.17.2", | ||
"smee-client": "^1.0.2", | ||
"standard": "^12.0.1" | ||
}, | ||
"engines": { | ||
"node": ">= 8.3.0" | ||
}, | ||
"standard": { | ||
"env": [ | ||
"jest" | ||
] | ||
}, | ||
"prettier": { | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"useTabs": true, | ||
"tabWidth": 2 | ||
}, | ||
"nodemonConfig": { | ||
"exec": "npm start", | ||
"watch": [ | ||
".env", | ||
"." | ||
] | ||
}, | ||
"jest": { | ||
"testEnvironment": "node" | ||
} | ||
"name": "size-plugin-bot", | ||
"version": "1.0.0", | ||
"description": "A Github bot for size-plugin", | ||
"author": "kuldeepkeshwar <kuldeepkeshwar@gmail.com>", | ||
"license": "ISC", | ||
"repository": "https://github.com/kuldeepkeshwar/size-plugin-bot.git", | ||
"homepage": "https://github.com/kuldeepkeshwar/size-plugin-bot", | ||
"bugs": "https://github.com/kuldeepkeshwar/size-plugin-bot/issues", | ||
"keywords": [ | ||
"size-plugin", | ||
"size-plugin-bot" | ||
], | ||
"scripts": { | ||
"dev": "nodemon", | ||
"start": "probot run ./src/index.js", | ||
"lint": "eslint src --fix", | ||
"format": "prettier --write '**/*.{js,scss,jsx,md}'", | ||
"test": "jest", | ||
"test:watch": "jest --watch --notify --notifyMode=change --coverage" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.19.0", | ||
"emojis-list": "^3.0.0", | ||
"fs-extra": "^8.0.1", | ||
"pretty-bytes": "^5.2.0", | ||
"probot": "^9.2.20", | ||
"probot-config": "^1.1.0" | ||
}, | ||
"devDependencies": { | ||
"dotenv": "^8.0.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-airbnb-base": "^13.2.0", | ||
"eslint-plugin-import": "^2.18.0", | ||
"execa": "^1.0.0", | ||
"jest": "^24.0.0", | ||
"lint-staged": "^9.2.4", | ||
"nock": "^10.0.0", | ||
"nodemon": "^1.17.2", | ||
"prettier": "^1.18.2", | ||
"smee-client": "^1.0.2" | ||
}, | ||
"engines": { | ||
"node": ">= 8.3.0" | ||
}, | ||
"lint-staged": { | ||
"linters": { | ||
"*.{js,jsx}": [ | ||
"eslint --fix", | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"ignore": [ | ||
"**/dist/*", | ||
"**/public/*" | ||
] | ||
}, | ||
"nodemonConfig": { | ||
"exec": "npm start", | ||
"watch": [ | ||
".env", | ||
"." | ||
] | ||
}, | ||
"jest": { | ||
"testEnvironment": "node" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
trailingComma: 'es5', | ||
tabWidth: 4, | ||
semi: false, | ||
singleQuote: true, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
const MAX_RETRY = 20; | ||
const RETRY_INTERVAL = 30 * 1000; | ||
|
||
const SIZE_STORE_ENDPOINT = process.env.SIZE_STORE_ENDPOINT || 'https://size-plugin-store.now.sh'; | ||
const SIZE_STORE_ENDPOINT = process.env.SIZE_STORE_ENDPOINT || 'https://size-plugin-store.now.sh'; | ||
|
||
module.exports = { MAX_RETRY, RETRY_INTERVAL, SIZE_STORE_ENDPOINT }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.