Addon build working

This commit is contained in:
Darren Clarke 2023-05-10 09:34:18 +00:00
parent 6fca9c704f
commit 60e590f75c
22 changed files with 141 additions and 475 deletions

View file

@ -1,20 +0,0 @@
.PHONY: build prep clean fmt new-migration
build: prep
@./package.py
@find dist/ -iname "*szpm"
prep:
@mkdir -p dist
clean: prep
@rm -rf dist/*
fmt:
rufo --simple-exit src
new-migration:
@./new-migration.py
test:
@echo There are no tests

View file

@ -0,0 +1,15 @@
{
"name": "zammad-addon-metamigo",
"displayName": "Metamigo",
"version": "2.0.0",
"description": "An addon that adds metamigo channels to Zammad.",
"scripts": {
"build": "node ../../node_modules/zammad-addon-common/dist/build.js",
"migrate": "node ../../node_modules/zammad-addon-common/dist/migrate.js"
},
"dependencies": {
"zammad-addon-common": "*"
},
"author": "",
"license": "ISC"
}