mirror of
				https://kkgithub.com/actions/setup-python.git
				synced 2025-11-04 04:31:51 +08:00 
			
		
		
		
	* initial changes * updated version * format check * refactored code * updated test cases * Update src/utils.ts Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com> * Update utils.ts * Update utils.test.ts * review comments * dist update * Review comment * update version * updated version Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
		
			
				
	
	
		
			53 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "name": "setup-python",
 | 
						|
  "version": "3.1.0",
 | 
						|
  "private": true,
 | 
						|
  "description": "Setup python action",
 | 
						|
  "main": "dist/index.js",
 | 
						|
  "scripts": {
 | 
						|
    "build": "ncc build -o dist/setup src/setup-python.ts && ncc build -o dist/cache-save src/cache-save.ts",
 | 
						|
    "format": "prettier --write \"{,!(node_modules)/**/}*.ts\"",
 | 
						|
    "format-check": "prettier --check \"{,!(node_modules)/**/}*.ts\"",
 | 
						|
    "release": "ncc build -o dist/setup src/setup-python.ts && ncc build -o dist/cache-save src/cache-save.ts && git add -f dist/",
 | 
						|
    "test": "jest"
 | 
						|
  },
 | 
						|
  "repository": {
 | 
						|
    "type": "git",
 | 
						|
    "url": "git+https://github.com/actions/setup-python.git"
 | 
						|
  },
 | 
						|
  "keywords": [
 | 
						|
    "actions",
 | 
						|
    "node",
 | 
						|
    "setup"
 | 
						|
  ],
 | 
						|
  "author": "GitHub",
 | 
						|
  "license": "MIT",
 | 
						|
  "dependencies": {
 | 
						|
    "@actions/cache": "^2.0.0",
 | 
						|
    "@actions/core": "^1.2.3",
 | 
						|
    "@actions/exec": "^1.1.0",
 | 
						|
    "@actions/glob": "^0.2.0",
 | 
						|
    "@actions/io": "^1.0.2",
 | 
						|
    "@actions/tool-cache": "^1.5.5",
 | 
						|
    "semver": "^7.1.3"
 | 
						|
  },
 | 
						|
  "devDependencies": {
 | 
						|
    "@types/jest": "^27.0.2",
 | 
						|
    "@types/node": "^16.11.25",
 | 
						|
    "@types/semver": "^7.1.0",
 | 
						|
    "@zeit/ncc": "^0.22.0",
 | 
						|
    "husky": "^7.0.2",
 | 
						|
    "jest": "^27.2.5",
 | 
						|
    "jest-circus": "^27.2.5",
 | 
						|
    "prettier": "^2.0.2",
 | 
						|
    "ts-jest": "^27.0.5",
 | 
						|
    "typescript": "^4.2.3"
 | 
						|
  },
 | 
						|
  "husky": {
 | 
						|
    "skipCI": true,
 | 
						|
    "hooks": {
 | 
						|
      "pre-commit": "npm run build && npm run format-check"
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 |