mirror of
https://github.com/Swatinem/rust-cache.git
synced 2024-11-26 17:56:08 +08:00
68aeeba167
Use linefix so that when developing changes the results of npm run prepare always have unix line endings so git diff commands don't show line ending changes for the ncc generated files.
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"private": true,
|
|
"name": "rust-cache",
|
|
"version": "2.2.1",
|
|
"description": "A GitHub Action that implements smart caching for rust/cargo projects with sensible defaults.",
|
|
"keywords": [
|
|
"actions",
|
|
"rust",
|
|
"cache"
|
|
],
|
|
"author": "Arpad Borsos <arpad.borsos@googlemail.com>",
|
|
"license": "LGPL-3.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Swatinem/rust-cache.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Swatinem/rust-cache/issues"
|
|
},
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/Swatinem"
|
|
},
|
|
"homepage": "https://github.com/Swatinem/rust-cache#readme",
|
|
"dependencies": {
|
|
"@actions/cache": "^3.2.1",
|
|
"@actions/core": "^1.10.0",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/glob": "^0.4.0",
|
|
"@actions/io": "^1.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@vercel/ncc": "^0.36.1",
|
|
"linefix": "^0.1.1",
|
|
"typescript": "5.0.4"
|
|
},
|
|
"scripts": {
|
|
"prepare": "ncc build --target es2020 -o dist/restore src/restore.ts && ncc build --target es2020 -o dist/save src/save.ts && linefix dist"
|
|
}
|
|
}
|