path-parser
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,7 @@ | ||
<a name="1.0.1"></a> | ||
## [1.0.1](https://github.com/troch/path-parser/compare/v1.0.0...v1.0.1) (2016-01-05) | ||
<a name="1.0.0"></a> | ||
@@ -2,0 +8,0 @@ # [1.0.0](https://github.com/troch/path-parser/compare/v0.5.0...v1.0.0) (2016-01-05) |
{ | ||
"name": "path-parser", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A small utility to parse, match and generate paths", | ||
@@ -41,3 +41,2 @@ "main": "dist/commonjs/path-parser.js", | ||
"babel-plugin-add-module-exports": "^0.1.2", | ||
"babel-plugin-external-helpers-2": "^6.3.13", | ||
"babel-plugin-transform-class-properties": "^6.3.13", | ||
@@ -44,0 +43,0 @@ "babel-plugin-transform-export-extensions": "^6.3.13", |
@@ -37,8 +37,2 @@ [![npm version](https://badge.fury.io/js/path-parser.svg)](http://badge.fury.io/js/path-parser) | ||
ES5: | ||
```javascript | ||
var Path = require('path-parser').default; | ||
``` | ||
## Defining parameters | ||
@@ -45,0 +39,0 @@ |
import babel from 'rollup-plugin-babel'; | ||
import { argv } from 'yargs'; | ||
const babelOptions = { | ||
presets: [ 'es2015-rollup' ], | ||
plugins: [ | ||
'transform-object-rest-spread', | ||
'transform-class-properties', | ||
'transform-export-extensions' | ||
], | ||
babelrc: false | ||
}; | ||
const format = argv.format || 'amd'; | ||
@@ -13,3 +23,3 @@ const dest = { | ||
format, | ||
plugins: [ babel() ], | ||
plugins: [ babel(babelOptions) ], | ||
moduleName: 'Path', | ||
@@ -16,0 +26,0 @@ moduleId: 'Path', |
Sorry, the diff of this file is not supported yet
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
19
1276
70386
13
79