This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
forked from pabigot/buffer-layout
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to TypeScript and add type definitions
- Loading branch information
Showing
8 changed files
with
401 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/CHANGELOG.html | ||
/coverage/ | ||
/node_modules/ | ||
/lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "buffer-layout", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "Translation between JavaScript values and Buffers", | ||
"keywords": [ | ||
"Buffer", | ||
|
@@ -17,27 +17,34 @@ | |
"license": "MIT", | ||
"author": "Peter A. Bigot <[email protected]>", | ||
"main": "./lib/Layout.js", | ||
"types": "./lib/Layout.d.ts", | ||
"files": [ | ||
"/lib" | ||
], | ||
"dependencies": { | ||
"buffer": "~6.0.3" | ||
}, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^4.28.2", | ||
"@typescript-eslint/parser": "^4.28.2", | ||
"coveralls": "^3.0.0", | ||
"eslint": "~4.18.2", | ||
"eslint-config-google": "~0.9.1", | ||
"eslint-plugin-pabigot": "~1.1.0", | ||
"eslint": "~7.30.0", | ||
"istanbul": "~0.4.5", | ||
"jsdoc": "~3.5.5", | ||
"lodash": "~4.17.5", | ||
"mocha": "~5.0.4" | ||
"mocha": "~5.0.4", | ||
"typescript": "~4.3.5" | ||
}, | ||
"engines": { | ||
"node": ">=5.10" | ||
}, | ||
"scripts": { | ||
"coverage": "istanbul cover _mocha -- -u tdd", | ||
"coveralls": "istanbul cover _mocha --report lcovonly -- -u tdd && cat ./coverage/lcov.info | coveralls", | ||
"eslint": "eslint lib/ test/", | ||
"build": "tsc", | ||
"coverage": "npm run build && istanbul cover _mocha -- -u tdd", | ||
"coveralls": "npm run build && istanbul cover _mocha --report lcovonly -- -u tdd && cat ./coverage/lcov.info | coveralls", | ||
"eslint": "eslint src/ --ext .ts", | ||
"jsdoc": "jsdoc -c jsdoc/conf.json", | ||
"test": "mocha -u tdd" | ||
"prepare": "npm run build", | ||
"test": "npm run build && mocha -u tdd" | ||
} | ||
} |
Oops, something went wrong.