-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathscripts.just
More file actions
38 lines (31 loc) · 871 Bytes
/
scripts.just
File metadata and controls
38 lines (31 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Run pytest with coverage
test:
pytest --cov --cov-config=./tests/.coveragerc --cov-report=term-missing -n auto --e2e tests
# Format code using ruff, and standard
reformat:
ruff check . --fix
npx standard client/ --fix
# Run linting checks
lint:
ruff check . --no-fix
npx standard client/
# Build the project
build:
npm run build
npm run buildsmall
python3 -m build
# Check npm dependencies for known vulnerabilities
audit:
npm audit --audit-level=high
# Run JavaScript security pattern checks
security-check:
bash scripts/js-security-check.sh
# Run semgrep security analysis
semgrep:
semgrep --config p/django --config p/javascript --config .semgrep.yml src/django_tomselect/
# Initialize the development environment
init:
uv sync --extra dev
npm install --include=dev
npm run build
npm run buildsmall