aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-05-12 17:28:37 +0200
committerChocobozzz <me@florianbigard.com>2018-05-13 16:54:34 +0200
commit4de2fafcad4b56449e3817825d4b317c5ed4696c (patch)
treec8a6002b8eca016b2c5124083bde309f97c2ea2f /package.json
parent48d46d81af93d0912022e96958f131c5f8acdfc2 (diff)
downloadPeerTube-4de2fafcad4b56449e3817825d4b317c5ed4696c.tar.gz
PeerTube-4de2fafcad4b56449e3817825d4b317c5ed4696c.tar.zst
PeerTube-4de2fafcad4b56449e3817825d4b317c5ed4696c.zip
added linter and prettifier via commit hooks
Diffstat (limited to 'package.json')
-rw-r--r--package.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/package.json b/package.json
index ac0703eb9..94cda5ef8 100644
--- a/package.json
+++ b/package.json
@@ -47,11 +47,25 @@
47 "nodemon": "nodemon", 47 "nodemon": "nodemon",
48 "ts-node": "ts-node", 48 "ts-node": "ts-node",
49 "tslint": "tslint", 49 "tslint": "tslint",
50 "sasslint": "sass-lint --verbose --no-exit",
51 "sasslint:fix": "sass-lint-auto-fix -c .sass-lint.yml --verbose",
50 "mocha": "mocha", 52 "mocha": "mocha",
51 "travis": "scripty", 53 "travis": "scripty",
52 "release": "scripty", 54 "release": "scripty",
53 "client-report": "scripty" 55 "client-report": "scripty"
54 }, 56 },
57 "husky": {
58 "hooks": {
59 "pre-commit": "lint-staged"
60 }
61 },
62 "lint-staged": {
63 "*.{js,ts,css,md}": "precise-commits",
64 "*.scss": [
65 "sass-lint-auto-fix -c .sass-lint.yml --verbose",
66 "git add"
67 ]
68 },
55 "dependencies": { 69 "dependencies": {
56 "async": "^2.0.0", 70 "async": "^2.0.0",
57 "async-lru": "^1.1.1", 71 "async-lru": "^1.1.1",
@@ -134,11 +148,17 @@
134 "chai": "^4.1.1", 148 "chai": "^4.1.1",
135 "chai-json-schema": "^1.5.0", 149 "chai-json-schema": "^1.5.0",
136 "chai-xml": "^0.3.2", 150 "chai-xml": "^0.3.2",
151 "husky": "^1.0.0-rc.4",
137 "libxmljs": "^0.18.7", 152 "libxmljs": "^0.18.7",
153 "lint-staged": "^7.1.0",
138 "maildev": "^1.0.0-rc3", 154 "maildev": "^1.0.0-rc3",
139 "mocha": "^5.0.0", 155 "mocha": "^5.0.0",
140 "nodemon": "^1.11.0", 156 "nodemon": "^1.11.0",
157 "precise-commits": "^1.0.2",
158 "prettier": "1.12.1",
141 "prompt": "^1.0.0", 159 "prompt": "^1.0.0",
160 "sass-lint": "^1.12.1",
161 "sass-lint-auto-fix": "^0.9.0",
142 "source-map-support": "^0.5.0", 162 "source-map-support": "^0.5.0",
143 "spectacle-docs": "^1.0.2", 163 "spectacle-docs": "^1.0.2",
144 "supertest": "^3.0.0", 164 "supertest": "^3.0.0",