Remove husky
This commit is contained in:
parent
f0ad471007
commit
a3705089fa
|
@ -1,9 +1,9 @@
|
||||||
files:
|
files:
|
||||||
include: "**/*.s+(a|c)ss"
|
include:
|
||||||
ignore: [
|
- "src/app/**/*.scss"
|
||||||
"node_modules/**/*.*",
|
- "src/assets/**/*.scss"
|
||||||
"client/node_modules/**/*.*"
|
- "src/sass/**/*.scss"
|
||||||
]
|
- "src/standalone/**/*.scss"
|
||||||
syntax:
|
syntax:
|
||||||
include:
|
include:
|
||||||
- scss
|
- scss
|
||||||
|
|
|
@ -13,14 +13,17 @@
|
||||||
"url": "git+https://github.com/Chocobozzz/PeerTube.git"
|
"url": "git+https://github.com/Chocobozzz/PeerTube.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "tslint --project ./tsconfig.json -c ./tslint.json 'src/app/**/*.ts' 'src/standalone/**/*.ts'",
|
"lint": "npm run lint-ts && npm run lint-scss",
|
||||||
|
"lint-ts": "tslint --project ./tsconfig.json -c ./tslint.json 'src/app/**/*.ts' 'src/standalone/**/*.ts'",
|
||||||
|
"lint-scss": "sass-lint -c .sass-lint.yml",
|
||||||
"webpack": "webpack",
|
"webpack": "webpack",
|
||||||
"tslint": "tslint",
|
"tslint": "tslint",
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"postinstall": "npm rebuild node-sass",
|
"postinstall": "npm rebuild node-sass",
|
||||||
"webpack-bundle-analyzer": "webpack-bundle-analyzer",
|
"webpack-bundle-analyzer": "webpack-bundle-analyzer",
|
||||||
"webdriver-manager": "webdriver-manager",
|
"webdriver-manager": "webdriver-manager",
|
||||||
"ngx-extractor": "ngx-extractor"
|
"ngx-extractor": "ngx-extractor",
|
||||||
|
"sass-lint": "sass-lint"
|
||||||
},
|
},
|
||||||
"typings": "*.d.ts",
|
"typings": "*.d.ts",
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
|
@ -112,6 +115,7 @@
|
||||||
"raw-loader": "^1",
|
"raw-loader": "^1",
|
||||||
"rxjs": "^6.5.2",
|
"rxjs": "^6.5.2",
|
||||||
"sanitize-html": "^1.18.4",
|
"sanitize-html": "^1.18.4",
|
||||||
|
"sass-lint": "^1.13.1",
|
||||||
"sass-loader": "7",
|
"sass-loader": "7",
|
||||||
"sass-resources-loader": "^2.0.0",
|
"sass-resources-loader": "^2.0.0",
|
||||||
"socket.io-client": "^2.2.0",
|
"socket.io-client": "^2.2.0",
|
||||||
|
|
|
@ -10,8 +10,12 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes spin {
|
@keyframes spin {
|
||||||
from { transform: scale(1) rotate(0deg);}
|
from {
|
||||||
to { transform: scale(1) rotate(360deg);}
|
transform: scale(1) rotate(0deg);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
transform: scale(1) rotate(360deg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
|
@ -172,7 +176,7 @@ ngb-modal-backdrop {
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-outline-tertiary {
|
.btn-outline-tertiary {
|
||||||
color: var(--secondaryColor);
|
color: var(--secondaryColor);
|
||||||
border-color: var(--secondaryColor);
|
border-color: var(--secondaryColor);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
|
@ -9,23 +9,23 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.vjs-bezel {
|
.vjs-bezel {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
width: 52px;
|
width: 52px;
|
||||||
height: 52px;
|
height: 52px;
|
||||||
z-index: 19;
|
z-index: 19;
|
||||||
margin-left: -26px;
|
margin-left: -26px;
|
||||||
margin-top: -26px;
|
margin-top: -26px;
|
||||||
background: rgba(0,0,0,.5);
|
background: rgba(0, 0, 0, .5);
|
||||||
border-radius: 26px;
|
border-radius: 26px;
|
||||||
animation: bezels-fadeout .5s linear 1 normal forwards;
|
animation: bezels-fadeout .5s linear 1 normal forwards;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vjs-bezel-icon {
|
.vjs-bezel-icon {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
|
|
||||||
svg .vjs-svg-fill {
|
svg .vjs-svg-fill {
|
||||||
|
|
559
client/yarn.lock
559
client/yarn.lock
File diff suppressed because it is too large
Load Diff
25
package.json
25
package.json
|
@ -74,26 +74,9 @@
|
||||||
"release": "scripty",
|
"release": "scripty",
|
||||||
"release-embed-api": "scripty",
|
"release-embed-api": "scripty",
|
||||||
"nightly": "scripty",
|
"nightly": "scripty",
|
||||||
"client-report": "scripty"
|
"client-report": "scripty",
|
||||||
},
|
"swagger-cli": "swagger-cli",
|
||||||
"husky": {
|
"sass-lint": "sass-lint"
|
||||||
"hooks": {
|
|
||||||
"pre-commit": "lint-staged"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"lint-staged": {
|
|
||||||
"*.scss": [
|
|
||||||
"sass-lint -c client/.sass-lint.yml",
|
|
||||||
"git add"
|
|
||||||
],
|
|
||||||
"support/doc/api/*.yaml": [
|
|
||||||
"node ./node_modules/swagger-cli/bin/swagger-cli.js validate support/doc/api/openapi.yaml",
|
|
||||||
"git add"
|
|
||||||
],
|
|
||||||
"server/tools/README.md": [
|
|
||||||
"npm run generate-cli-doc",
|
|
||||||
"git add"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"@types/bluebird": "3.5.27"
|
"@types/bluebird": "3.5.27"
|
||||||
|
@ -205,7 +188,6 @@
|
||||||
"chai-json-schema": "^1.5.0",
|
"chai-json-schema": "^1.5.0",
|
||||||
"chai-xml": "^0.3.2",
|
"chai-xml": "^0.3.2",
|
||||||
"concurrently": "^5.0.0",
|
"concurrently": "^5.0.0",
|
||||||
"husky": "^4.0.0",
|
|
||||||
"libxmljs": "0.19.7",
|
"libxmljs": "0.19.7",
|
||||||
"lint-staged": "^9.2.0",
|
"lint-staged": "^9.2.0",
|
||||||
"maildev": "^1.0.0-rc3",
|
"maildev": "^1.0.0-rc3",
|
||||||
|
@ -213,7 +195,6 @@
|
||||||
"mocha": "^7.0.0",
|
"mocha": "^7.0.0",
|
||||||
"mocha-parallel-tests": "^2.2.1",
|
"mocha-parallel-tests": "^2.2.1",
|
||||||
"nodemon": "^2.0.1",
|
"nodemon": "^2.0.1",
|
||||||
"sass-lint": "^1.12.1",
|
|
||||||
"source-map-support": "^0.5.0",
|
"source-map-support": "^0.5.0",
|
||||||
"supertest": "^4.0.2",
|
"supertest": "^4.0.2",
|
||||||
"swagger-cli": "^2.2.0",
|
"swagger-cli": "^2.2.0",
|
||||||
|
|
|
@ -34,6 +34,7 @@ elif [ "$1" = "api-4" ]; then
|
||||||
sh ./server/tests/api/ci-4.sh 2
|
sh ./server/tests/api/ci-4.sh 2
|
||||||
elif [ "$1" = "lint" ]; then
|
elif [ "$1" = "lint" ]; then
|
||||||
npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts"
|
npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts"
|
||||||
|
npm run swagger-cli -- validate support/doc/api/openapi.yaml
|
||||||
|
|
||||||
( cd client
|
( cd client
|
||||||
npm run lint
|
npm run lint
|
||||||
|
|
Loading…
Reference in New Issue