Skip to content

Commit

Permalink
Move configuration to subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
4yman-0 committed Dec 14, 2024
1 parent 369da9b commit 674231d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 21 deletions.
25 changes: 13 additions & 12 deletions build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ def chromium(browser):
item != '.git' and
item != '.github' and
item != 'cached' and
item != 'previews' and
item != 'py' and
item != 'wiki' and
item != 'node_modules' and
item != 'build' and
item != 'config' and
item != 'tests' and
item != 'LICENSE' and
item != 'README.md' and
item != 'SECURITY.md' and
item != 'CONTRIBUTING.md' and
item.find('.zip') == -1
):
s = os.path.join('../', item)
Expand Down Expand Up @@ -94,19 +94,20 @@ def firefox():
os.chdir(temporary_path)

for item in os.listdir('../'):

if (
item != '.git' and
item != '.github' and
item != 'cached' and
item != 'previews' and
item != 'py' and
item != 'wiki' and
item != 'node_modules' and
item != 'build' and
item != 'config' and
item != 'tests' and
item != 'LICENSE' and
item != 'README.md' and
item != 'SECURITY.md' and
item != 'CONTRIBUTING.md' and
item.find('.zip') == -1
):
s = os.path.join('../', item)
s = os.path.join('../', item)
d = os.path.join(temporary_path, item)
if os.path.isdir(s):
shutil.copytree(s, d, True, None)
Expand Down Expand Up @@ -163,4 +164,4 @@ def firefox():
elif arg == '-chromium-beta':
chromium('beta')
elif arg == '-firefox':
firefox()
firefox()
File renamed without changes.
File renamed without changes.
8 changes: 0 additions & 8 deletions jest.config.json

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"type": "module",
"scripts": {
"test": "jest tests",
"lint": "eslint --ignore-path tests/.gitignore"
"lint": "eslint src/**/*.js --no-eslintrc -c config/eslint.config.js",
"prettier": "prettier src/**/*.{js,css} --config config/prettier.config.js"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 674231d

Please sign in to comment.