meta: use npm to build
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
bc9a589091
commit
d24c0776fc
2 changed files with 18 additions and 3 deletions
|
@ -15,7 +15,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- npm install -g gulp
|
- npm install -g gulp
|
||||||
- npm i
|
- npm i
|
||||||
- gulp
|
- npm run build
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
|
@ -25,7 +25,7 @@ steps:
|
||||||
target: /var/www/rulebook.kobold.city
|
target: /var/www/rulebook.kobold.city
|
||||||
source: dist/*
|
source: dist/*
|
||||||
user:
|
user:
|
||||||
from_secret: deploy_user
|
from_secret: deploy_user
|
||||||
key:
|
key:
|
||||||
from_secret: deploy_key
|
from_secret: deploy_key
|
||||||
when:
|
when:
|
||||||
|
|
17
package.json
17
package.json
|
@ -1,4 +1,8 @@
|
||||||
{
|
{
|
||||||
|
"name": "rulebook",
|
||||||
|
"version": "3.0.1",
|
||||||
|
"description": "Un système de JDR basé sur le systeme D100",
|
||||||
|
"main": "gulpfile.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"docsify": "^4.12.2",
|
"docsify": "^4.12.2",
|
||||||
"gulp": "^4.0.2",
|
"gulp": "^4.0.2",
|
||||||
|
@ -6,5 +10,16 @@
|
||||||
"gulp-include": "^2.4.1",
|
"gulp-include": "^2.4.1",
|
||||||
"gulp-sass": "^5.1.0",
|
"gulp-sass": "^5.1.0",
|
||||||
"node-sass": "^7.0.1"
|
"node-sass": "^7.0.1"
|
||||||
}
|
},
|
||||||
|
"devDependencies": {},
|
||||||
|
"scripts": {
|
||||||
|
"build": "gulp",
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.kobold.cafe/jdr/univers"
|
||||||
|
},
|
||||||
|
"author": "",
|
||||||
|
"license": "CC BY-SA"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue