-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from Fload2000/develop
Version 1.1.14
- Loading branch information
Showing
24 changed files
with
3,019 additions
and
1,996 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.eslintrc.js | ||
build | ||
dist | ||
node_modules | ||
karma.conf.js | ||
package.json |
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,19 @@ | ||
module.exports = { | ||
"env": { | ||
"browser": true, | ||
"es2020": true, | ||
"webextensions": true, | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"ecmaVersion": 11, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"json", | ||
"mocha", | ||
"promise" | ||
], | ||
"rules": { | ||
} | ||
}; |
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 |
---|---|---|
|
@@ -12,6 +12,8 @@ | |
/.idea | ||
/node_modules | ||
/web-ext-artifacts | ||
/lsp | ||
/build | ||
|
||
# Packages # | ||
############ | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ sudo: false | |
language: node_js | ||
|
||
node_js: | ||
- '10' | ||
- 'lts/*' | ||
|
||
cache: | ||
directories: | ||
|
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,19 +1,52 @@ | ||
const reporters = ["mocha", "coverage"]; | ||
if (process.env.COVERALLS_REPO_TOKEN) { | ||
reporters.push("coveralls"); | ||
} | ||
|
||
module.exports = function(config) { | ||
config.set({ | ||
frameworks: ['mocha', 'chai'], | ||
files: ['src/*.js', 'test/*.js'], | ||
reporters: ['progress'], | ||
port: 9876, // karma web server port | ||
colors: true, | ||
logLevel: config.LOG_INFO, | ||
autoWatch: true, | ||
browsers: ['FirefoxHeadless'], | ||
client: { | ||
mocha: { | ||
reporter: 'html', | ||
}, | ||
}, | ||
singleRun: true, | ||
concurrency: Infinity, | ||
}) | ||
config.set({ | ||
singleRun: true, | ||
concurrency: Infinity, | ||
port: 9876, // karma web server port | ||
colors: true, | ||
logLevel: config.LOG_INFO, | ||
autoWatch: true, | ||
browsers: ["Firefox"], | ||
frameworks: ["mocha", "chai"], | ||
reporters, | ||
coverageReporter: { | ||
dir: "build/coverage", | ||
reporters: [ | ||
{ | ||
type: "lcov", | ||
subdir: "lcov" | ||
}, | ||
{ | ||
type: "html", | ||
subdir(browser) { | ||
// normalization process to keep a consistent browser name | ||
// across different OS | ||
return browser.toLowerCase().split(/[ /-]/)[0]; | ||
} | ||
}, {type: "text-summary"} | ||
] | ||
}, | ||
files: [ | ||
"node_modules/sinon/pkg/sinon.js", | ||
"node_modules/sinon-chrome/bundle/sinon-chrome.min.js", | ||
"src/keywords.js", | ||
"src/*.js", | ||
"test/*.test.js" | ||
], | ||
preprocessors: {"src/*.js": ["coverage"]}, | ||
plugins: [ | ||
"karma-chai", | ||
"karma-webpack", | ||
"karma-coveralls", | ||
"karma-coverage", | ||
"karma-firefox-launcher", | ||
"karma-mocha", | ||
"karma-mocha-reporter" | ||
] | ||
}); | ||
}; |
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 |
---|---|---|
|
@@ -2,33 +2,57 @@ | |
"name": "removelinktracking", | ||
"license": "MIT", | ||
"author": "Fload [email protected]", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"fullName": "RemoveLinkTracking", | ||
"id": "07a0f703-e9bf-4b7d-a238-ba7c1c20513e", | ||
"description": "Removes tracking parameters in links.", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:Fload2000/RemoveLinkTracking.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/Fload2000/RemoveLinkTracking/issues" | ||
}, | ||
"dependencies": {}, | ||
"scripts": { | ||
"build": "web-ext build --overwrite-dest --source-dir src", | ||
"lint": "web-ext lint --source-dir src", | ||
"lint:eslint": "eslint --ext=.js,.json .", | ||
"start": "web-ext run --source-dir src --browser-console", | ||
"debug": "web-ext run --source-dir src --browser-console --verbose", | ||
"debug:chrome": "web-ext run --source-dir src --browser-console --verbose -t chromium", | ||
"debug-mobile": "web-ext run --target=firefox-android --source-dir src --browser-console --verbose", | ||
"test": "karma start --single-run --browsers FirefoxHeadless karma.conf.js", | ||
"test:watch": "karma start --no-single-run", | ||
"test:debug": "karma start --no-single-run --browsers Firefox" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.2.0", | ||
"karma": "^5.0.2", | ||
"eslint": "^7.9.0", | ||
"eslint-plugin-json": "^2.1.2", | ||
"eslint-plugin-mocha": "^8.0.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"fx-runner": "^1.0.13", | ||
"geckodriver": "^1.20.0", | ||
"karma": "^5.2.2", | ||
"karma-chai": "^0.1.0", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-coverage": "^2.0.3", | ||
"karma-coveralls": "^2.1.0", | ||
"karma-firefox-launcher": "^1.3.0", | ||
"karma-jasmine": "^3.1.1", | ||
"karma-mocha": "^2.0.0", | ||
"karma-jasmine": "^4.0.1", | ||
"karma-mocha": "^2.0.1", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"karma-webpack": "^4.0.2", | ||
"mocha": "^7.1.1", | ||
"prettier": "^2.0.4", | ||
"web-ext": "^4.1.0", | ||
"webpack": "^4.42.1" | ||
"mocha": "^8.1.3", | ||
"mz": "^2.7.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.1.2", | ||
"selenium-webdriver": "^4.0.0-alpha.7", | ||
"sinon": "^9.0.3", | ||
"sinon-chrome": "^3.0.1", | ||
"virtualenv": "^0.3.1", | ||
"web-ext": "^5.0.0", | ||
"webpack": "^4.44.2" | ||
} | ||
} |
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.