Compare commits

...

3 commits

Author SHA1 Message Date
4d07cfac76 Add CI settings
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-04 21:51:34 +01:00
cb9de981bb Add scripts for cleaning and rebuilding files 2022-12-04 21:50:50 +01:00
cb8cd5c550 Allow passing arguments to gulp 2022-12-04 21:34:19 +01:00
3 changed files with 22 additions and 2 deletions

13
.woodpecker.yml Normal file
View file

@ -0,0 +1,13 @@
pipeline:
install:
image: node
commands:
- npm install
build:
image: node
commands:
- npm run build
lint:
image: node
commands:
- npm run lint

1
package-lock.json generated
View file

@ -17,6 +17,7 @@
"cross-env": "^7.0.3",
"eslint": "^8.23.1",
"gulp": "^4.0.2",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"upath": "^2.0.1"
}

View file

@ -5,9 +5,14 @@
"description": "A selfmade Connect Four game.",
"author": "Manuel Thalmann <m@nuth.ch>",
"scripts": {
"gulp": "cross-env NODE_OPTIONS=\"--loader ts-node/esm\" gulp",
"gulp": "cross-env NODE_OPTIONS=\"--loader ts-node/esm\" gulp --",
"build": "npm run gulp Build",
"rebuild": "npm run clean && npm run build",
"watch": "npm run gulp Watch",
"clean": "rimraf ./lib",
"lint": "eslint --max-warnings 0 ./src .eslintrc.cjs",
"lint-ide": "npm run lint || exit 0"
"lint-ide": "npm run lint || exit 0",
"prepare": "npm run rebuild"
},
"devDependencies": {
"@manuth/eslint-plugin-typescript": "^4.0.0",
@ -19,6 +24,7 @@
"cross-env": "^7.0.3",
"eslint": "^8.23.1",
"gulp": "^4.0.2",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"upath": "^2.0.1"
}