File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
2+
3+ 'use strict' ;
4+
5+ var resolve = require ( '..' ) ;
6+ var result = resolve . sync ( process . argv [ 2 ] , {
7+ basedir : process . cwd ( )
8+ } ) ;
9+
10+ console . log ( result ) ;
Original file line number Diff line number Diff line change 66 "type" : " git" ,
77 "url" : " git://github.com/browserify/resolve.git"
88 },
9+ "bin" : {
10+ "resolve" : " ./bin/resolve"
11+ },
912 "main" : " index.js" ,
1013 "exports" : {
1114 "." : [
3841 "prepublishOnly" : " safe-publish-latest" ,
3942 "prepublish" : " not-in-publish || npm run prepublishOnly" ,
4043 "prelint" : " eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\ .git')" ,
41- "lint" : " eslint --ext=js,mjs --no-eslintrc -c .eslintrc ." ,
44+ "lint" : " eslint --ext=js,mjs --no-eslintrc -c .eslintrc . 'bin/**' " ,
4245 "pretests-only" : " cd ./test/resolver/nested_symlinks && node mylib/sync && node mylib/async" ,
4346 "tests-only" : " tape test/*.js" ,
4447 "pretest" : " npm run lint" ,
You can’t perform that action at this time.
0 commit comments