mirror of
https://github.com/actions/cache.git
synced 2024-11-22 10:57:15 +08:00
f7ebb81a3f
* Consume latest toolkit and fix dangling promise bug * Pass earlyExit parameter to run method so tests don't hang * Pass earlyExit parameter to run method so tests don't hang * Refactor restore files to have better patterns for testing * style
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "cache",
|
|
"version": "3.3.1",
|
|
"private": true,
|
|
"description": "Cache dependencies and build outputs",
|
|
"main": "dist/restore/index.js",
|
|
"scripts": {
|
|
"build": "tsc && ncc build -o dist/restore src/restore.ts && ncc build -o dist/save src/save.ts && ncc build -o dist/restore-only src/restoreOnly.ts && ncc build -o dist/save-only src/saveOnly.ts",
|
|
"test": "tsc --noEmit && jest --coverage",
|
|
"lint": "eslint **/*.ts --cache",
|
|
"format": "prettier --write **/*.ts",
|
|
"format-check": "prettier --check **/*.ts"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/actions/cache.git"
|
|
},
|
|
"keywords": [
|
|
"actions",
|
|
"node",
|
|
"cache"
|
|
],
|
|
"author": "GitHub",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/cache": "^3.2.2",
|
|
"@actions/core": "^1.10.0",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/io": "^1.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^27.5.2",
|
|
"@types/nock": "^11.1.0",
|
|
"@types/node": "^16.18.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
"@typescript-eslint/parser": "^5.45.0",
|
|
"@zeit/ncc": "^0.20.5",
|
|
"eslint": "^8.28.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jest": "^26.9.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
"jest": "^28.1.3",
|
|
"jest-circus": "^27.5.1",
|
|
"nock": "^13.2.9",
|
|
"prettier": "^2.8.0",
|
|
"ts-jest": "^28.0.8",
|
|
"typescript": "^4.9.3"
|
|
}
|
|
}
|