resolvewithplus
Advanced tools
Comparing version 0.0.9 to 0.1.0
{ | ||
"name": "resolvewithplus", | ||
"version": "0.0.9", | ||
"version": "0.1.0", | ||
"license" : "MIT", | ||
"main": "src/resolvewithplus.js", | ||
"main": "src/resolvewithplus", | ||
"readmeFilename": "README.md", | ||
@@ -26,4 +26,4 @@ "description": "resolvewith with extra power", | ||
"scripts" : { | ||
"test": "node node_modules/jasmine/bin/jasmine.js --verbose" | ||
"test": "jasmine --verbose" | ||
} | ||
} |
resolvewithplus | ||
=============== | ||
**(c)[Bumblehead][0], 2016** [MIT-license](#license) | ||
**(c)[Bumblehead][0]** [MIT-license](#license) | ||
### overview | ||
[_resolvewith_ resolves][1] a name used in CommonJS's `require(name)` or ES6's `import 'name'` relative to the path of a file, following the [node.js specification][2] exactly. For example, | ||
[_resolvewith_ resolves][1] a name used in CommonJS's `require(name)` relative to the path of a file, following the [node.js specification][2] exactly. For example, | ||
```javascript | ||
@@ -15,3 +13,3 @@ resolvewithplus('./testfiles/testscript.js', '/Users/bumble/resolvewith/test/') | ||
``` | ||
_resolvewithplus_, however, is a new version of [resolvewith][1] behaviour with additional non-standard behaviour included. It recognizes [bower][3] module dependencies and it recognizes the [browser property][4] in a package.json (or bower.json) to define browser-specific entry files. | ||
_resolvewithplus_, however, is a new version of [resolvewith][1] behaviour with additional non-standard behaviour included. It recognizes .ts, .tsx, and .mjs files as well as the [browser property][4] in a package.json (or bower.json) to define browser-specific entry files. | ||
@@ -29,5 +27,2 @@ ```javascript | ||
--------------------------------------------------------- | ||
#### <a id="license">license | ||
![scrounge](https://github.com/iambumblehead/scroungejs/raw/master/img/hand.png) | ||
@@ -37,3 +32,3 @@ | ||
Copyright (c) 2015 [Bumblehead][0] <chris@bumblehead.com> | ||
Copyright (c) [Bumblehead][0] <chris@bumblehead.com> | ||
@@ -40,0 +35,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
// Filename: resolvewithplus.js | ||
// Timestamp: 2017.04.23-22:43:22 (last modified) | ||
// Timestamp: 2018.03.31-14:19:54 (last modified) | ||
// Author(s): bumblehead <chris@bumblehead.com> | ||
@@ -116,2 +116,3 @@ | ||
['.js', | ||
'.mjs', | ||
'.ts', | ||
@@ -149,4 +150,5 @@ '.tsx', | ||
['index.js', | ||
'index.mjs', | ||
'index.ts', | ||
'index.tsx', | ||
'index.tsx', | ||
'index.json', | ||
@@ -153,0 +155,0 @@ 'index.node'].some((f) => ( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
345
14476
8
37