Owen Leonard
b90c13912d
This patch removes the SCSS linting configuration .scss-lint.yml which was intended to be used with a now-obsolete tool, scss-lint. It is replaced with .stylelintrc.json, for use with stylelint. I've tried to keep the linting rules the same as before. To test, run 'yarn install' to install the new dependencies. You can test stylelint from the command line like so: npx stylelint koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss It should output a list of problems with the file: koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss 30:27 ✖ Expected "#e6f0f2" to be "#E6F0F2" color-hex-case 81:31 ✖ Expected single space after "(" function-parentheses-space-inside ...etc. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"name": "koha",
|
|
"description": "Koha is distributed under the GNU GPL version 3 or later.",
|
|
"main": "gulpfile.js",
|
|
"directories": {
|
|
"doc": "docs",
|
|
"test": "test"
|
|
},
|
|
"dependencies": {
|
|
"bootstrap": "^4.5.2",
|
|
"gulp": "^4.0.2",
|
|
"gulp-autoprefixer": "^4.0.0",
|
|
"gulp-concat-po": "^1.0.0",
|
|
"gulp-cssnano": "^2.1.2",
|
|
"gulp-exec": "^4.0.0",
|
|
"gulp-rename": "^2.0.0",
|
|
"gulp-rtlcss": "^1.4.1",
|
|
"gulp-sass": "^3.1.0",
|
|
"gulp-sourcemaps": "^2.6.1",
|
|
"js-yaml": "^3.13.1",
|
|
"lodash": "^4.17.12",
|
|
"merge-stream": "^2.0.0",
|
|
"minimist": "^1.2.5"
|
|
},
|
|
"scripts": {
|
|
"build": "node_modules/.bin/gulp build",
|
|
"css": "node_modules/.bin/gulp css",
|
|
"watch": "node_modules/.bin/gulp watch"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://git.koha-community.org/koha.git"
|
|
},
|
|
"resolutions": {
|
|
"minimatch": "^3.0.2",
|
|
"lodash": "^4.17.12",
|
|
"js-yaml": "^3.13.1"
|
|
},
|
|
"author": "",
|
|
"license": "GPL-3.0",
|
|
"devDependencies": {
|
|
"postcss-selector-parser": "^6.0.10",
|
|
"postcss": "^8.4.14",
|
|
"stylelint-config-standard-scss": "^5.0.0",
|
|
"stylelint-order": "^5.0.0",
|
|
"stylelint": "^14.9.1"
|
|
}
|
|
}
|