Skip to content

Commit

Permalink
chore: now TS support
Browse files Browse the repository at this point in the history
  • Loading branch information
juanbrujo committed Jul 17, 2023
1 parent 210631d commit b0b7e6d
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 15 deletions.
10 changes: 0 additions & 10 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,6 @@ module.exports = function(grunt) {
" * <%= pkg.licenses[0].copyright %>\n" +
" */\n"
},
// concat: {
// dist: {
// src: ["src/Sluggin.js"],
// dest: "dist/Sluggin.js"
// },
// options: {
// banner: "<%= meta.banner %>"
// }
// },
jshint: {
files: ["src/Sluggin.js"],
options: {
Expand Down Expand Up @@ -74,5 +65,4 @@ module.exports = function(grunt) {

grunt.registerTask("default", ["uglify"]);
grunt.registerTask("testjs", ["jshint"]);

};
2 changes: 1 addition & 1 deletion dist/Sluggin.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare function Sluggin(value: string[] | string): string[] | string;
export declare function Sluggin(value: string[] | string): string[] | string;
2 changes: 1 addition & 1 deletion dist/Sluggin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/Sluggin.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sluggin",
"version": "0.3.0",
"version": "0.4.1",
"homepage": "https://github.com/juanbrujo/Sluggin.js",
"authors": [
"Jorge Epuñan <[email protected]>"
Expand Down
1 change: 0 additions & 1 deletion src/Sluggin.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,3 @@ if ( typeof module !== "undefined" && module.exports ) {
return Sluggin( text );
});
}

0 comments on commit b0b7e6d

Please sign in to comment.