-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de1ddad
commit 06ad93e
Showing
32 changed files
with
8,038 additions
and
1,725 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#root = true | ||
|
||
[*] | ||
indent_style = space | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
max_line_length = 100 | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,13 @@ | ||
dist | ||
node_modules | ||
coverage | ||
.nyc_output | ||
.DS_Store | ||
*.log | ||
.vscode | ||
.idea | ||
dist | ||
compiled | ||
.awcache | ||
.rpt2_cache | ||
docs | ||
.env |
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 |
---|---|---|
|
@@ -2,35 +2,102 @@ | |
"name": "bnc-sdk", | ||
"version": "0.1.2", | ||
"description": "SDK to connect to the blocknative backend via a websocket connection", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"keywords": [ | ||
"ethereum", | ||
"websocket", | ||
"blocknative", | ||
"notifications" | ||
], | ||
"main": "dist/bnc-sdk.umd.js", | ||
"module": "dist/bnc-sdk.es5.js", | ||
"typings": "dist/types/bnc-sdk.d.ts", | ||
"files": [ | ||
"dist/esm/*", | ||
"dist/cjs/*" | ||
"dist" | ||
], | ||
"types": "./types.d.ts", | ||
"author": "Aaron Barnard <[email protected]>", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/blocknative/sdk" | ||
}, | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=6.0.0" | ||
}, | ||
"scripts": { | ||
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'", | ||
"prebuild": "rimraf dist", | ||
"build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src", | ||
"start": "rollup -c rollup.config.ts -w", | ||
"test": "jest --coverage", | ||
"test:watch": "jest --coverage --watch", | ||
"test:prod": "npm run lint && npm run test -- --no-cache", | ||
"deploy-docs": "ts-node tools/gh-pages-publish", | ||
"report-coverage": "cat ./coverage/lcov.info | coveralls" | ||
}, | ||
"jest": { | ||
"transform": { | ||
".(ts|tsx)": "ts-jest" | ||
}, | ||
"testEnvironment": "node", | ||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"js" | ||
], | ||
"coveragePathIgnorePatterns": [ | ||
"/node_modules/", | ||
"/test/", | ||
"/src/" | ||
], | ||
"coverageThreshold": { | ||
"global": { | ||
"branches": 90, | ||
"functions": 95, | ||
"lines": 95, | ||
"statements": 95 | ||
} | ||
}, | ||
"collectCoverageFrom": [ | ||
"src/*.{js,ts}" | ||
] | ||
}, | ||
"prettier": { | ||
"semi": false, | ||
"singleQuote": true | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"babel-eslint": "^7.1.1", | ||
"babel-plugin-external-helpers": "^6.18.0", | ||
"eslint": "^4.1.1", | ||
"@types/jest": "^23.3.2", | ||
"@types/node": "^10.11.0", | ||
"colors": "^1.3.2", | ||
"coveralls": "^3.0.2", | ||
"cross-env": "^5.2.0", | ||
"jest": "^23.6.0", | ||
"jest-config": "^23.6.0", | ||
"lint-staged": "^8.0.0", | ||
"lodash.camelcase": "^4.3.0", | ||
"prettier": "^1.14.3", | ||
"prompt": "^1.0.0", | ||
"replace-in-file": "^3.4.2", | ||
"rimraf": "^2.6.2", | ||
"rollup": "^1.19.3", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-commonjs": "^10.0.2", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-json": "^4.0.0", | ||
"@joseph184/rollup-plugin-node-builtins": "^2.1.4", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-terser": "^5.1.1" | ||
"rollup-plugin-sourcemaps": "^0.4.2", | ||
"rollup-plugin-typescript2": "^0.24.3", | ||
"semantic-release": "^15.9.16", | ||
"shelljs": "^0.8.3", | ||
"travis-deploy-once": "^5.0.9", | ||
"ts-jest": "^23.10.2", | ||
"ts-node": "^7.0.1", | ||
"tslib": "^1.10.0", | ||
"tslint": "^5.11.0", | ||
"tslint-config-prettier": "^1.15.0", | ||
"tslint-config-standard": "^8.0.1", | ||
"typedoc": "^0.15.0", | ||
"typescript": "^3.6.4" | ||
}, | ||
"dependencies": { | ||
"ethereumjs-util": "^6.1.0", | ||
"ow": "^0.13.2", | ||
"sturdy-websocket": "^0.1.12" | ||
}, | ||
"scripts": { | ||
"prepare": "rollup -c", | ||
"build": "npm run prepare", | ||
"test": "echo \"TBD\" && exit 0" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.