Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
format prettierrc and package json
  • Loading branch information
tbezman committed Sep 17, 2021
commit 839aa6169a78b7c5caff527e8990164f9ac66f76
8 changes: 4 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"tabWidth": 4,
"useTabs": false,
"singleQuote": true,
"printWidth": 120
"tabWidth": 4,
"useTabs": false,
"singleQuote": true,
"printWidth": 120
}
106 changes: 54 additions & 52 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,54 +1,56 @@
{
"name": "borsh",
"version": "0.6.0",
"description": "Binary Object Representation Serializer for Hashing",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc -p ./tsconfig.json",
"test": "jest test --runInBand",
"fuzz": "jsfuzz borsh-ts/test/fuzz/borsh-roundtrip.js borsh-ts/test/fuzz/corpus/",
"dev": "yarn build -w",
"pretest": "yarn build",
"lint": "eslint borsh-ts/**/*.ts",
"fix": "eslint borsh-ts/**/*.ts --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/near/borsh-js.git"
},
"keywords": [
"serializer",
"binary",
"serializer",
"deserializer",
"consistency",
"deterministic"
],
"author": "Near Inc",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/near/borsh-js/issues"
},
"homepage": "https://github.com/near/borsh-js#readme",
"devDependencies": {
"@types/babel__core": "^7.1.2",
"@types/babel__template": "^7.0.2",
"@types/bn.js": "^5.1.0",
"@types/node": "^12.7.3",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"bs58": "^4.0.0",
"eslint": "^6.5.1",
"jest": "^26.0.1",
"js-sha256": "^0.9.0",
"jsfuzz": "^1.0.14",
"prettier": "^2.4.1",
"typescript": "^3.6.2"
},
"dependencies": {
"bn.js": "^5.2.0",
"bs58": "^4.0.0",
"text-encoding-utf-8": "^1.0.2"
}
"name": "borsh",
"version": "0.6.0",
"description": "Binary Object Representation Serializer for Hashing",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc -p ./tsconfig.json",
"test": "jest test --runInBand",
"fuzz": "jsfuzz borsh-ts/test/fuzz/borsh-roundtrip.js borsh-ts/test/fuzz/corpus/",
"dev": "yarn build -w",
"pretest": "yarn build",
"lint": "eslint borsh-ts/**/*.ts",
"pretty": "prettier borsh-ts/**/*.ts package.json --",
"pretty:check": "yarn pretty --check",
"fix": "eslint borsh-ts/**/*.ts --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/near/borsh-js.git"
},
"keywords": [
"serializer",
"binary",
"serializer",
"deserializer",
"consistency",
"deterministic"
],
"author": "Near Inc",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/near/borsh-js/issues"
},
"homepage": "https://github.com/near/borsh-js#readme",
"devDependencies": {
"@types/babel__core": "^7.1.2",
"@types/babel__template": "^7.0.2",
"@types/bn.js": "^5.1.0",
"@types/node": "^12.7.3",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"bs58": "^4.0.0",
"eslint": "^6.5.1",
"jest": "^26.0.1",
"js-sha256": "^0.9.0",
"jsfuzz": "^1.0.14",
"prettier": "^2.4.1",
"typescript": "^3.6.2"
},
"dependencies": {
"bn.js": "^5.2.0",
"bs58": "^4.0.0",
"text-encoding-utf-8": "^1.0.2"
}
}