[TASK] Require bower and have node build scripts 03/53003/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 1 Jun 2017 17:06:43 +0000 (19:06 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 1 Jun 2017 17:27:35 +0000 (19:27 +0200)
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

index 5835aac..528da13 100644 (file)
@@ -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",
     "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"
   }
 }