Comparing version 0.1.3 to 0.2.1
/** | ||
* @author TroyTae | ||
* @version 0.1.3 | ||
* @version 0.2.1 | ||
* @name ms-date | ||
@@ -12,4 +12,4 @@ */ | ||
function index() { | ||
console.log('ms-date'); | ||
function index () { | ||
console.log('ms-date'); | ||
} | ||
@@ -16,0 +16,0 @@ |
/** | ||
* @author TroyTae | ||
* @version 0.1.3 | ||
* @version 0.2.1 | ||
* @name ms-date | ||
*/ | ||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?module.exports=f():typeof define==='function'&&define.amd?define(f):(g=g||self,g.MsDate=f());}(this,(function(){'use strict';function index() { | ||
console.log('ms-date'); | ||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?module.exports=f():typeof define==='function'&&define.amd?define(f):(g=g||self,g.MsDate=f());}(this,(function(){'use strict';function index () { | ||
console.log('ms-date'); | ||
}return index;}))); |
{ | ||
"name": "ms-date", | ||
"version": "0.1.3", | ||
"version": "0.2.1", | ||
"description": "A date module based on milliseconds ⏱", | ||
@@ -21,3 +21,4 @@ "main": "dist/index.min.js", | ||
"rollup": "^1.26.5", | ||
"typescript": "^3.7.2" | ||
"typescript": "^3.7.2", | ||
"rollup-plugin-typescript2": "^0.25.2" | ||
}, | ||
@@ -24,0 +25,0 @@ "scripts": { |
const pkg = require('./package.json'); | ||
const typescript = require('rollup-plugin-typescript2'); | ||
@@ -14,3 +15,3 @@ const output = { | ||
return { | ||
input: 'src/index.js', | ||
input: 'src/index.ts', | ||
output: { | ||
@@ -20,3 +21,6 @@ ...output, | ||
file: pkg.main.replace(isProd ? '' : '.min', '') | ||
} | ||
}, | ||
plugins: [ | ||
typescript({ clean: true }) | ||
] | ||
}; | ||
@@ -23,0 +27,0 @@ }; |
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
3285
52
3