Skip to content

Commit

Permalink
Merge branch 'switch_to_typescript'
Browse files Browse the repository at this point in the history
  • Loading branch information
jfromaniello committed Jul 2, 2019
2 parents 26e2229 + 4f79f78 commit ab09ddc
Show file tree
Hide file tree
Showing 12 changed files with 445 additions and 401 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ jspm_packages
# Optional REPL history
.node_repl_history

lib
40 changes: 40 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

# Created by https://www.gitignore.io/api/node

### Node ###
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

src
167 changes: 0 additions & 167 deletions index.js

This file was deleted.

52 changes: 49 additions & 3 deletions package-lock.json

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

16 changes: 10 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"description": "Memoize functions results using an lru-cache.",
"version": "1.13.0",
"author": "José F. Romaniello <jfromaniello@gmail.com> (http://joseoncode.com)",
"types": "./types/lru-memoizer.d.ts",
"repository": {
"url": "git://github.com/jfromaniello/lru-memoizer.git"
},
Expand All @@ -12,19 +11,24 @@
"memoize",
"lru"
],
"main": "index.js",
"main": "./lib/index.js",
"scripts": {
"test": "mocha"
"prepare": "tsc",
"test": "npm run prepare && mocha"
},
"dependencies": {
"lock": "~0.1.2",
"lodash": "^4.17.4",
"lodash": "^4.17.11",
"lodash.clonedeep": "^4.5.0",
"lru-cache": "~4.0.0",
"very-fast-args": "^1.1.0"
},
"devDependencies": {
"@types/lodash.clonedeep": "^4.5.6",
"@types/lru-cache": "^5.1.0",
"@types/node": "^12.0.10",
"chai": "^3.5.0",
"mocha": "~2.2.5",
"sinon": "^7.3.2"
"sinon": "^7.3.2",
"typescript": "^3.5.2"
}
}
Loading

0 comments on commit ab09ddc

Please sign in to comment.