jalali-moment
Advanced tools
Comparing version 1.0.9 to 1.1.0
{ | ||
"name": "jalali-moment", | ||
"version": "1.0.9", | ||
"version": "1.1.0", | ||
"description": "Jalaali (Jalali, Persian, Khorshidi, Shamsi) calendar system plugin for moment.js.", | ||
@@ -26,3 +26,3 @@ "author": { | ||
"test": "mocha --reporter spec --ui bdd --colors --check-leaks test.js", | ||
"build": "WEBPACK_ENV=build webpack", | ||
"build": "WEBPACK_ENV=build webpack;webpack --config webpack.browser.js", | ||
"dev": "WEBPACK_ENV=dev webpack --progress --colors --watch" | ||
@@ -29,0 +29,0 @@ }, |
@@ -71,5 +71,8 @@ # jalali-moment | ||
### Browser(es5) | ||
### ES5 | ||
```HTML | ||
<script src="bower_components/jalali-moment/dist/jalali-moment.js"></script> | ||
<!--<script src="bower_components/jalali-moment/dist/jalali-moment.browser.js"></script>--> | ||
<!--<script src="node_modules/jalali-moment/dist/jalali-moment.browser.js"></script>--> | ||
<script src="thisRepository/jalali-moment/dist/jalali-moment.browser.js"></script> | ||
<script> | ||
@@ -82,3 +85,3 @@ moment().format('jYYYY/jM/jD') | ||
```HTML | ||
<script src='https://unpkg.com/jalali-moment/dist/jalali-moment.js'></script> | ||
<script src='https://unpkg.com/jalali-moment/dist/jalali-moment.browser.js'></script> | ||
<script> | ||
@@ -88,4 +91,5 @@ moment().format('jYYYY/jM/jD') | ||
``` | ||
[for example](https://embed.plnkr.co/Gggh1u/) | ||
### Plunker and Typescript | ||
You could use systemjs to import this library into your project like [this](https://embed.plnkr.co/Gggh1u/) | ||
@@ -92,0 +96,0 @@ ## API |
@@ -16,4 +16,5 @@ const path = require('path'); | ||
plugins: [ | ||
// new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /fa/), | ||
new UglifyJSPlugin() | ||
] | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1530311
17
17438
151
1