mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-05-11 10:26:23 +02:00
Revert dependency changes
This commit is contained in:
parent
fc48198ac4
commit
e0c11752e5
5 changed files with 5588 additions and 14 deletions
18
.editorconfig
Normal file
18
.editorconfig
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# EditorConfig is awesome: https://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Unix-style newlines with a newline ending every file
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.{js,json,ts,tsx}]
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[package.json]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
8
jest.config.js
Normal file
8
jest.config.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
module.exports = {
|
||||||
|
"roots": [
|
||||||
|
"src"
|
||||||
|
],
|
||||||
|
"transform": {
|
||||||
|
"^.+\\.ts$": "ts-jest"
|
||||||
|
},
|
||||||
|
};
|
5554
package-lock.json
generated
5554
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -17,9 +17,12 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chrome": "0.0.91",
|
"@types/chrome": "0.0.91",
|
||||||
"@types/firefox-webext-browser": "70.0.1",
|
"@types/firefox-webext-browser": "70.0.1",
|
||||||
|
"@types/jest": "^24.0.23",
|
||||||
"@types/jquery": "^3.3.31",
|
"@types/jquery": "^3.3.31",
|
||||||
"copy-webpack-plugin": "^6.0.3",
|
"copy-webpack-plugin": "^6.0.3",
|
||||||
|
"jest": "^26.4.0",
|
||||||
"rimraf": "^3.0.0",
|
"rimraf": "^3.0.0",
|
||||||
|
"ts-jest": "^26.2.0",
|
||||||
"ts-loader": "^6.2.1",
|
"ts-loader": "^6.2.1",
|
||||||
"typescript": "~3.7.3",
|
"typescript": "~3.7.3",
|
||||||
"web-ext": "^5.0.0",
|
"web-ext": "^5.0.0",
|
||||||
|
@ -44,7 +47,7 @@
|
||||||
"dev": "npm run build:dev && concurrently \"npm run web-run\" \"npm run build:watch\"",
|
"dev": "npm run build:dev && concurrently \"npm run web-run\" \"npm run build:watch\"",
|
||||||
"dev:firefox": "npm run build:dev:firefox && concurrently \"npm run web-run:firefox\" \"npm run build:watch:firefox\"",
|
"dev:firefox": "npm run build:dev:firefox && concurrently \"npm run web-run:firefox\" \"npm run build:watch:firefox\"",
|
||||||
"clean": "rimraf dist",
|
"clean": "rimraf dist",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "npx jest"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -35,18 +35,11 @@ module.exports = env => ({
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
// exclude locale files in moment
|
// exclude locale files in moment
|
||||||
new CopyPlugin({
|
new CopyPlugin([
|
||||||
patterns: [
|
{ from: '.', to: '../', ignore: ['manifest.json'] }
|
||||||
{
|
],
|
||||||
from: '.',
|
{context: 'public' }
|
||||||
to: '../',
|
),
|
||||||
globOptions: {
|
|
||||||
ignore: ['manifest.json'],
|
|
||||||
},
|
|
||||||
context: './public',
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}),
|
|
||||||
new BuildManifest({
|
new BuildManifest({
|
||||||
browser: env.browser,
|
browser: env.browser,
|
||||||
pretty: env.mode === "production",
|
pretty: env.mode === "production",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue