Commit 4bc34486 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Mise à jour des dépendances.

parent 8d446bbb
No related merge requests found
Showing with 706 additions and 25 deletions
+706 -25
This diff is collapsed.
...@@ -4,8 +4,10 @@ ...@@ -4,8 +4,10 @@
"description": "Présentations de Guillaume Perréal", "description": "Présentations de Guillaume Perréal",
"main": "dist/index.html", "main": "dist/index.html",
"scripts": { "scripts": {
"start": "npx http-server dist -a 127.0.0.1 -d -o", "start": "grunt serve",
"build": "make" "build": "grunt build",
"lint": "prettier --check *.{js,yml,json}",
"lint:fix": "prettier --write *.{js,yml,json}"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
...@@ -27,25 +29,19 @@ ...@@ -27,25 +29,19 @@
"reveal.js": "git+https://gitlab.irstea.fr/guillaume.perreal/reveal.js.git#irstea" "reveal.js": "git+https://gitlab.irstea.fr/guillaume.perreal/reveal.js.git#irstea"
}, },
"devDependencies": { "devDependencies": {
"prettier": "^6.5.1",
"husky": "^1.3.1", "husky": "^1.3.1",
"jshint": "^2.10.2", "lint-staged": "^8.2.1"
"lint-staged": "^8.2.1",
"prettier": "^1.18.2"
}, },
"husky": { "husky": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
}, },
"lint-staged": { "lint-staged": {
"linters": { "linters": {
"*.{md,yml,js,json}": [ "*.{yml,js,json}": [
"prettier --write", "prettier --write"
"git add"
] ]
}, }
"ignore": [
"dist/**",
"node_modules/**"
]
}, },
"prettier": { "prettier": {
"tabWidth": 2, "tabWidth": 2,
...@@ -59,8 +55,5 @@ ...@@ -59,8 +55,5 @@
} }
} }
] ]
},
"jshintConfig": {
"esversion": 6
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment