mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-11-04 13:29:08 +08:00 
			
		
		
		
	Switch back to package.json
This commit is contained in:
		
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,5 +0,0 @@
 | 
				
			|||||||
dist/tsc: node_modules src
 | 
					 | 
				
			||||||
	pnpx tsc
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
dist/index.js: dist/tsc
 | 
					 | 
				
			||||||
	pnpx ncc build --minify --source-map --no-cache dist/tsc/index.js --out dist/
 | 
					 | 
				
			||||||
@@ -1,8 +1,9 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "private": true,
 | 
					  "private": true,
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
    "postinstall": "rm -rf dist && make dist/index.js",
 | 
					    "build:ncc": "ncc build --minify --source-map --no-cache dist/tsc/index.js --out dist/",
 | 
				
			||||||
    "start": "sh ./run.sh"
 | 
					    "build": "tsc && pnpm run build:ncc",
 | 
				
			||||||
 | 
					    "start": "pnpm run build && sh ./run.sh"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
    "download": "^8.0.0",
 | 
					    "download": "^8.0.0",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user