Don't call grunt directly, thus decoupling it from the build process.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4f82a9175f
commit
b6a368040c
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue