From bb5c655848b384c851f2ba7ef55942854e53d2df Mon Sep 17 00:00:00 2001 From: Christian Kuhn <lolli@schwarzbu.ch> Date: Thu, 1 Jun 2017 19:06:43 +0200 Subject: [PATCH] [TASK] Require bower and have node build scripts In preperation of a scss linter and typescript linter we require bower as root dev dependency and register some happy little scripts. Change-Id: I425fd848a4012065fc7d955be0ae961f0f2ee8c4 Resolves: #81410 Releases: master, 8.7 Reviewed-on: https://review.typo3.org/53003 Reviewed-by: Markus Sommer <markussom@posteo.de> Tested-by: Markus Sommer <markussom@posteo.de> Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Benjamin Kott <benjamin.kott@outlook.com> Tested-by: Benjamin Kott <benjamin.kott@outlook.com> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- Build/package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Build/package.json b/Build/package.json index 5835aace6311..528da1370abc 100644 --- a/Build/package.json +++ b/Build/package.json @@ -15,6 +15,7 @@ "@types/nprogress": "*", "@types/requirejs": "*", "autoprefixer": "^6.3.7", + "bower": "^1.8.0", "chosen-js": "^1.7.0", "grunt": "~1.0.1", "grunt-bower-just-install": "0.0.3", @@ -49,5 +50,10 @@ "tagsort": "1.4.0", "tslint": "^3.15.1", "typescript": "^2.2.0" + }, + "scripts": { + "bower": "./node_modules/.bin/bower install", + "grunt-stylelint": "./node_modules/.bin/grunt stylelint", + "grunt-tslint": "./node_modules/.bin/grunt tslint" } } -- GitLab