one-spaces
Advanced tools
Comparing version 0.1.3 to 0.2.1
/** | ||
* @author TroyTae | ||
* @version 0.1.3 | ||
* @version 0.2.1 | ||
* @name one-spaces | ||
@@ -12,4 +12,4 @@ */ | ||
function index() { | ||
console.log('one-spaces'); | ||
function index () { | ||
console.log('one-spaces'); | ||
} | ||
@@ -16,0 +16,0 @@ |
/** | ||
* @author TroyTae | ||
* @version 0.1.3 | ||
* @version 0.2.1 | ||
* @name one-spaces | ||
*/ | ||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?module.exports=f():typeof define==='function'&&define.amd?define(f):(g=g||self,g.OneSpaces=f());}(this,(function(){'use strict';function index() { | ||
console.log('one-spaces'); | ||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?module.exports=f():typeof define==='function'&&define.amd?define(f):(g=g||self,g.OneSpaces=f());}(this,(function(){'use strict';function index () { | ||
console.log('one-spaces'); | ||
}return index;}))); |
{ | ||
"name": "one-spaces", | ||
"version": "0.1.3", | ||
"version": "0.2.1", | ||
"description": "A tiny module for making className 😎", | ||
@@ -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
3336
52
3