X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=package.json;h=8c4409011325e440fa7501402517bb1449627a2d;hb=4935a6a1fd38a31c42d1ae8b1e03aa40c475a89c;hp=3b399f3a8da7ea604192ba66b07df52e1529c054;hpb=066fc8ba71fa3573d1b1fb4c692b8f51c17111fc;p=github%2FChocobozzz%2FPeerTube.git diff --git a/package.json b/package.json index 3b399f3a8..8c4409011 100644 --- a/package.json +++ b/package.json @@ -47,15 +47,29 @@ "nodemon": "nodemon", "ts-node": "ts-node", "tslint": "tslint", + "sasslint": "sass-lint --verbose --no-exit", + "sasslint:fix": "sass-lint-auto-fix -c .sass-lint.yml --verbose", "mocha": "mocha", "travis": "scripty", "release": "scripty", "client-report": "scripty" }, + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, + "lint-staged": { + "*.{css,md}": "precise-commits", + "*.scss": [ + "sass-lint-auto-fix -c .sass-lint.yml --verbose", + "git add" + ] + }, "dependencies": { "async": "^2.0.0", "async-lru": "^1.1.1", - "bcrypt": "^1.0.2", + "bcrypt": "^2.0.1", "bittorrent-tracker": "^9.0.0", "bluebird": "^3.5.0", "body-parser": "^1.12.4", @@ -80,7 +94,7 @@ "morgan": "^1.5.3", "multer": "^1.1.0", "nodemailer": "^4.4.2", - "parse-torrent": "^5.8.0", + "parse-torrent": "^6.0.0", "password-generator": "^2.0.2", "pem": "^1.12.3", "pfeed": "^1.1.5", @@ -92,18 +106,18 @@ "rimraf": "^2.5.4", "safe-buffer": "^5.0.1", "scripty": "^1.5.0", - "sequelize": "4.37.6", - "sequelize-typescript": "0.6.4-beta.0", + "sequelize": "4.37.7", + "sequelize-typescript": "0.6.4", "sharp": "^0.20.0", "uuid": "^3.1.0", - "validator": "^9.0.0", + "validator": "^10.2.0", "webfinger.js": "^2.6.6", "winston": "3.0.0-rc1", "ws": "^5.0.0" }, "devDependencies": { "@types/async": "^2.0.40", - "@types/bcrypt": "^1.0.0", + "@types/bcrypt": "^2.0.0", "@types/body-parser": "^1.16.3", "@types/chai": "^4.0.4", "@types/chai-json-schema": "^1.4.3", @@ -120,7 +134,7 @@ "@types/mocha": "^5.0.0", "@types/morgan": "^1.7.32", "@types/multer": "^1.3.3", - "@types/node": "^9.3.0", + "@types/node": "^10.0.8", "@types/nodemailer": "^4.3.1", "@types/pem": "^1.9.3", "@types/redis": "^2.8.5", @@ -130,23 +144,29 @@ "@types/supertest": "^2.0.3", "@types/validator": "^9.4.0", "@types/webtorrent": "^0.98.4", - "@types/ws": "^4.0.0", + "@types/ws": "^5.1.1", "chai": "^4.1.1", "chai-json-schema": "^1.5.0", "chai-xml": "^0.3.2", + "husky": "^1.0.0-rc.4", "libxmljs": "^0.18.7", + "lint-staged": "^7.1.0", "maildev": "^1.0.0-rc3", "mocha": "^5.0.0", "nodemon": "^1.11.0", + "precise-commits": "^1.0.2", + "prettier": "1.12.1", "prompt": "^1.0.0", + "sass-lint": "^1.12.1", + "sass-lint-auto-fix": "^0.9.0", "source-map-support": "^0.5.0", "spectacle-docs": "^1.0.2", "supertest": "^3.0.0", - "ts-node": "5.0.1", + "ts-node": "6.0.3", "tslint": "^5.7.0", "tslint-config-standard": "^7.0.0", "typescript": "^2.5.2", - "webtorrent": "^0.98.0", + "webtorrent": "^0.99.4", "youtube-dl": "^1.12.2" }, "scripty": {