Browse Source

upgrade npm packages

tags/v1.12.0
Simon Vieille 4 months ago
parent
commit
196da8cb45
Signed by: Simon Vieille <simon@deblan.fr> GPG Key ID: 03383D15A1D31745
3 changed files with 7 additions and 5 deletions
  1. 2
    0
      Makefile
  2. 4
    4
      package.json
  3. 1
    1
      src/Gist/Resources/views/base.html.twig

+ 2
- 0
Makefile View File

@@ -20,6 +20,7 @@ npm:
@echo

${NPM} install
${NPM} update

update:
@echo "Updating application's dependencies"
@@ -31,6 +32,7 @@ update:
${MKDIR} -p data/cache
${COMPOSER} update
${NPM} install
${NPM} update

clean-cache:
@echo "Removing cache"

+ 4
- 4
package.json View File

@@ -1,9 +1,9 @@
{
"dependencies": {
"bootstrap": "^3.3.4",
"diff": "^2.2.2",
"bootstrap": "^3.4.1",
"diff": "^2.2.3",
"flag-icon-css": "^0.8.6",
"iframe-resizer": "^2.8.6",
"jquery": "^1.9.1"
"iframe-resizer": "^2.8.10",
"jquery": ">=3.4.0"
}
}

+ 1
- 1
src/Gist/Resources/views/base.html.twig View File

@@ -117,7 +117,7 @@
return key;
}
</script>
<script src="{{ web_path }}components/jquery/jquery.min.js"></script>
<script src="{{ web_path }}components/jquery/dist/jquery.min.js"></script>
<script src="{{ web_path }}components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="{{ web_path }}app/js/cipher.js"></script>
<script src="{{ web_path }}app/js/app.js"></script>

Loading…
Cancel
Save