mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-05 02:02:53 +01:00
4887979af8
* Replace typed rest client with new http-client * Send Content-Type: application/json and fix up some types * Lint * Consume @actions/http-client:1.0.5 * Consume @actions/http-client:1.0.6 * Dont send headers manually, http-client automatically will
53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"name": "cache",
|
|
"version": "1.1.0",
|
|
"private": true,
|
|
"description": "Cache dependencies and build outputs",
|
|
"main": "dist/restore/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "tsc --noEmit && jest --coverage",
|
|
"lint": "eslint **/*.ts --cache",
|
|
"format": "prettier --write **/*.ts",
|
|
"format-check": "prettier --check **/*.ts",
|
|
"release": "ncc build -o dist/restore src/restore.ts && ncc build -o dist/save src/save.ts && git add -f dist/"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/actions/cache.git"
|
|
},
|
|
"keywords": [
|
|
"actions",
|
|
"node",
|
|
"cache"
|
|
],
|
|
"author": "GitHub",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.2.0",
|
|
"@actions/exec": "^1.0.1",
|
|
"@actions/http-client": "^1.0.6",
|
|
"@actions/io": "^1.0.1",
|
|
"uuid": "^3.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^24.0.13",
|
|
"@types/nock": "^11.1.0",
|
|
"@types/node": "^12.0.4",
|
|
"@types/uuid": "^3.4.5",
|
|
"@typescript-eslint/eslint-plugin": "^2.7.0",
|
|
"@typescript-eslint/parser": "^2.7.0",
|
|
"@zeit/ncc": "^0.20.5",
|
|
"eslint": "^6.6.0",
|
|
"eslint-config-prettier": "^6.5.0",
|
|
"eslint-plugin-import": "^2.18.2",
|
|
"eslint-plugin-jest": "^23.0.3",
|
|
"eslint-plugin-prettier": "^3.1.1",
|
|
"jest": "^24.8.0",
|
|
"jest-circus": "^24.7.1",
|
|
"nock": "^11.7.0",
|
|
"prettier": "^1.19.1",
|
|
"ts-jest": "^24.0.2",
|
|
"typescript": "^3.7.3"
|
|
}
|
|
}
|