Skip to content

Commit 674231d

Browse files
committed
Move configuration to subfolder
1 parent 369da9b commit 674231d

File tree

5 files changed

+15
-21
lines changed

5 files changed

+15
-21
lines changed

build/build.py

+13-12
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ def chromium(browser):
4141
item != '.git' and
4242
item != '.github' and
4343
item != 'cached' and
44-
item != 'previews' and
45-
item != 'py' and
46-
item != 'wiki' and
44+
item != 'node_modules' and
45+
item != 'build' and
46+
item != 'config' and
47+
item != 'tests' and
4748
item != 'LICENSE' and
48-
item != 'README.md' and
49-
item != 'SECURITY.md' and
49+
item != 'CONTRIBUTING.md' and
5050
item.find('.zip') == -1
5151
):
5252
s = os.path.join('../', item)
@@ -94,19 +94,20 @@ def firefox():
9494
os.chdir(temporary_path)
9595

9696
for item in os.listdir('../'):
97+
9798
if (
9899
item != '.git' and
99100
item != '.github' and
100101
item != 'cached' and
101-
item != 'previews' and
102-
item != 'py' and
103-
item != 'wiki' and
102+
item != 'node_modules' and
103+
item != 'build' and
104+
item != 'config' and
105+
item != 'tests' and
104106
item != 'LICENSE' and
105-
item != 'README.md' and
106-
item != 'SECURITY.md' and
107+
item != 'CONTRIBUTING.md' and
107108
item.find('.zip') == -1
108109
):
109-
s = os.path.join('../', item)
110+
s = os.path.join('../', item)
110111
d = os.path.join(temporary_path, item)
111112
if os.path.isdir(s):
112113
shutil.copytree(s, d, True, None)
@@ -163,4 +164,4 @@ def firefox():
163164
elif arg == '-chromium-beta':
164165
chromium('beta')
165166
elif arg == '-firefox':
166-
firefox()
167+
firefox()
File renamed without changes.
File renamed without changes.

jest.config.json

-8
This file was deleted.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"type": "module",
77
"scripts": {
88
"test": "jest tests",
9-
"lint": "eslint --ignore-path tests/.gitignore"
9+
"lint": "eslint src/**/*.js --no-eslintrc -c config/eslint.config.js",
10+
"prettier": "prettier src/**/*.{js,css} --config config/prettier.config.js"
1011
},
1112
"keywords": [],
1213
"author": "",

0 commit comments

Comments
 (0)