[TASK] Add alias for grunt tasks 45/53145/4
authorMarkus Sommer <markussom@posteo.de>
Tue, 6 Jun 2017 20:34:57 +0000 (22:34 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 9 Jun 2017 14:17:50 +0000 (16:17 +0200)
After this patch you need no local grunt-cli
you can run all task with npm like `npm run build-css`

Resolves: #81491
Releases: master, 8.7
Change-Id: I112ec3f2102c23ecfa8a715933905d03ef35e55f
Reviewed-on: https://review.typo3.org/53145
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Build/package.json

index eefed48..a3166da 100644 (file)
   },
   "scripts": {
     "build-css": "./node_modules/.bin/grunt css",
+    "build-js": "./node_modules/.bin/grunt scripts",
+    "build": "./node_modules/.bin/grunt build",
+    "format": "./node_modules/.bin/grunt format",
+    "update": "./node_modules/.bin/grunt update",
     "lint": "./node_modules/.bin/grunt lint"
   }
 }