feat: 优化项目结构
All checks were successful
CI / 测试 (push) Successful in 20s

This commit is contained in:
ren
2025-10-21 11:59:50 +08:00
parent 4174e14517
commit c9a9632ccc
6 changed files with 19 additions and 14 deletions

View File

@@ -2,15 +2,15 @@
"name": "files-hash-action",
"version": "0.1.1",
"description": "A lightweight Gitea Action to calculate hash of multiple files",
"main": "index.js",
"main": "src/index.js",
"scripts": {
"test": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"format": "prettier --write ./src",
"format:check": "prettier --check ./src",
"check": "pnpm run lint && pnpm run format:check",
"preinstall": "npx only-allow pnpm"
},