Skip to content

Commit

Permalink
Merge pull request #4 from nicbell/feature/bump_deps
Browse files Browse the repository at this point in the history
Bump dependencies
  • Loading branch information
nicbell authored Jan 3, 2024
2 parents 8326bee + 258dc2d commit 0e4fd54
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Create a shim set.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "node ./test/test.js -c"
},
"keywords": [
"shim",
Expand All @@ -13,8 +13,8 @@
"author": "Nic Bell",
"license": "ISC",
"dependencies": {
"commander": "^2.9.0",
"uglify-js": "^2.6.1"
"commander": "^2.20.3",
"uglify-js": "^2.8.29"
},
"bin": {
"shimly": "cli.js"
Expand Down
8 changes: 5 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# shimly [![dependency Status](https://david-dm.org/nicbell/shimly/status.png)](https://david-dm.org/nicbell/shimly#info=dependencies)
# Shimly

[![npm](https://img.shields.io/npm/v/grunt-shimly?style=flat&logo=npm)](https://www.npmjs.com/package/grunt-shimly) [![npm package minimized gzipped size](https://img.shields.io/bundlejs/size/grunt-shimly?style=flat&color=pink)](https://www.npmjs.com/package/grunt-shimly) ![Downloads](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fnicbell%2Fnpm-statistics%2Fmaster%2Fpackages%2Fgrunt-shimly.json&style=flat&logo=null&label=downloads&color=violet&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fgrunt-shimly)

Create a JavaScript shim set using node.

Expand Down Expand Up @@ -39,9 +41,9 @@ shimly.list(); //lists available shims

```js
// ...
var shimly = require('shimly')
var shimly = require('shimly')

shimly.shim(['Array.every', 'Array.forEach'], false, 'shims.js');
shimly.shim(['Array.every', 'Array.forEach'], false, 'shims.js');
// ...
```

Expand Down
3 changes: 3 additions & 0 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var shimly = require('../index.js')

shimly.shim(['Array.every', 'Array.forEach'], false, 'shims.js');

0 comments on commit 0e4fd54

Please sign in to comment.