Tomas Cohen Arazi
a7e3c12e61
This patch makes the gulpfile work with gulp v4 on Node v12. To test it, make sure your dev env has Node.js v12. It also replaces the use of 'gulp-util' (deprecated) by 'minimist' as recommended on their site. On both KTD and KohaDevBox edit your sources.list so the node line points to 'node_12.x' instead of 'node_8.x'. Once that's done: 1. On your clone run: $ yarn install $ npm install -E 2. Build the CSS: $ yarn build $ yarn build --view opac => SUCCESS: Things build correctly 3. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
34 lines
793 B
JSON
34 lines
793 B
JSON
{
|
|
"name": "koha",
|
|
"description": "Koha is distributed under the GNU GPL version 3 or later.",
|
|
"main": "gulpfile.js",
|
|
"directories": {
|
|
"doc": "docs",
|
|
"test": "test"
|
|
},
|
|
"dependencies": {
|
|
"gulp": "^4.0.2",
|
|
"gulp-autoprefixer": "^4.0.0",
|
|
"gulp-cssnano": "^2.1.2",
|
|
"gulp-sass": "^3.1.0",
|
|
"gulp-sourcemaps": "^2.6.1",
|
|
"minimist": "^1.2.5"
|
|
},
|
|
"devDependencies": {},
|
|
"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"
|
|
}
|