Attempt at first version

This commit is contained in:
Dave Olsthoorn
2020-07-25 18:07:39 +02:00
parent 1b0d4d0266
commit 64495f005b
11 changed files with 663 additions and 5174 deletions

View File

@@ -5,13 +5,12 @@
"description": "setup android action",
"main": "lib/main.js",
"scripts": {
"build": "tsc",
"build": "ncc build src/main.ts --out dist/main --minify && ncc build src/post.ts --out dist/post --minify",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"pack": "ncc build",
"test": "jest",
"all": "npm run build && npm run format && npm run lint && npm run pack && npm test"
"all": "npm run format && npm run lint && npm run build && npm test"
},
"repository": {
"type": "git",
@@ -26,8 +25,11 @@
"author": "daveol",
"license": "ISC",
"dependencies": {
"@actions/cache": "^1.0.1",
"@actions/core": "^1.2.0",
"@actions/tool-cache": "^1.5.5"
"@actions/tool-cache": "^1.5.5",
"axios": "^0.19.2",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@types/jest": "^24.0.23",