[TASK] Add alias for grunt tasks 77/53177/2
authorMarkus Sommer <markussom@posteo.de>
Tue, 6 Jun 2017 20:34:57 +0000 (22:34 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 9 Jun 2017 15:42:59 +0000 (17:42 +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/53177
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Build/package.json

index 17c9045..57a82d2 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"
   }
 }