Skip to content

Commit

Permalink
static: add package.json with frontend dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimschmidt557 committed Jun 13, 2024
1 parent 18dd875 commit 01834d4
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ static/*
venv/
.vscode/*
.python-version

node_modules/
65 changes: 65 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "d120-pyfeedback",
"repository": {
"type": "git",
"url": "https://github.com/d120/pyfeedback"
},
"license": "AGPL-3.0-only",
"private": true,
"dependencies": {
"@fontsource/libre-franklin": "^5.0.5",
"bootstrap": "^4.5.3",
"font-awesome": "^4.7.0",
"jquery": "^3.6.1"
}
}
1 change: 1 addition & 0 deletions src/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
BASE_PATH + 'media/',
BASE_PATH + 'node_modules/',
)

# List of finder classes that know how to find static files in
Expand Down

0 comments on commit 01834d4

Please sign in to comment.