updated bin handling
This commit is contained in:
		
							
								
								
									
										21
									
								
								test/node_modules/npmts/package.json
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								test/node_modules/npmts/package.json
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -1,10 +1,13 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "npmts",
 | 
			
		||||
  "version": "0.0.0",
 | 
			
		||||
  "version": "0.0.1",
 | 
			
		||||
  "description": "write npm modules with TypeScript",
 | 
			
		||||
  "main": "index.js",
 | 
			
		||||
  "bin": {
 | 
			
		||||
    "npmts": "index.js"
 | 
			
		||||
  },
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "test": "npmts"
 | 
			
		||||
    "test": "(cd compile && node compile.js)"
 | 
			
		||||
  },
 | 
			
		||||
  "repository": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
@@ -23,9 +26,15 @@
 | 
			
		||||
    "url": "https://github.com/pushrocks/npmts/issues"
 | 
			
		||||
  },
 | 
			
		||||
  "homepage": "https://github.com/pushrocks/npmts#readme",
 | 
			
		||||
  "gitHead": "1699d259b46348a712c638a4fc76a2579e0ecfd9",
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "beautylog": "^2.0.2",
 | 
			
		||||
    "gulp": "^3.9.0",
 | 
			
		||||
    "gulp-typescript": "^2.10.0",
 | 
			
		||||
    "smartcli": "0.0.11"
 | 
			
		||||
  },
 | 
			
		||||
  "gitHead": "7410d22fc4ed6f9756c2b5e1e883f1d06765258e",
 | 
			
		||||
  "readme": "ERROR: No README data found!",
 | 
			
		||||
  "_id": "npmts@0.0.0",
 | 
			
		||||
  "_shasum": "9baf3fb8c432625908c5f6a545e93e95ea0bd2c4",
 | 
			
		||||
  "_from": "npmts@latest"
 | 
			
		||||
  "_id": "npmts@0.0.1",
 | 
			
		||||
  "_shasum": "e2b1edfcf5093f9f3ded25cd5430732e4a128221",
 | 
			
		||||
  "_from": "npmts@0.0.1"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								test/ts/index.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								test/ts/index.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
(function () {
 | 
			
		||||
    console.log("test");
 | 
			
		||||
}());
 | 
			
		||||
//# sourceMappingURL=index.js.map
 | 
			
		||||
							
								
								
									
										1
									
								
								test/ts/index.js.map
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								test/ts/index.js.map
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,CAAC;IACG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;AACvB,CAAC,EAAE,CAAC,CAAC"}
 | 
			
		||||
		Reference in New Issue
	
	Block a user