Don't call grunt directly, thus decoupling it from the build process.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Manuel Friedli 2021-02-24 10:25:08 +01:00
parent 4f82a9175f
commit b6a368040c
2 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,5 @@ steps:
- npm install - npm install
- name: build - name: build
image: node:12 image: node:12
environment:
NPMPATH: "node_modules/.bin"
commands: commands:
- $NPMPATH/grunt - npm run build

View file

@ -6,6 +6,9 @@
"jquery-plugin", "jquery-plugin",
"qlocktwo" "qlocktwo"
], ],
"scripts": {
"build": "grunt"
},
"homepage": "http://bärneruhr.ch/", "homepage": "http://bärneruhr.ch/",
"author": { "author": {
"name": "Manuel Friedli", "name": "Manuel Friedli",