version 0.1.0 -- basic coverage, docs, builds, config
parents
Showing
.editorconfig
0 → 100644
.gitattributes
0 → 100644
.github/CONTRIBUTING.md
0 → 100644
.github/ISSUE_TEMPLATE.md
0 → 100644
.gitignore
0 → 100644
.travis.yml
0 → 100644
CHANGELOG.md
0 → 100644
CODE_OF_CONDUCT.md
0 → 100644
# Contributor Code of Conduct | ||
As contributors and maintainers of this project, and in the interest of | ||
fostering an open and welcoming community, we pledge to respect all people who | ||
contribute through reporting issues, posting feature requests, updating | ||
documentation, submitting pull requests or patches, and other activities. | ||
We are committed to making participation in this project a harassment-free | ||
experience for everyone, regardless of level of experience, gender, gender | ||
identity and expression, sexual orientation, disability, personal appearance, | ||
body size, race, ethnicity, age, religion, or nationality. | ||
Examples of unacceptable behavior by participants include: | ||
* The use of sexualized language or imagery | ||
* Personal attacks | ||
* Trolling or insulting/derogatory comments | ||
* Public or private harassment | ||
* Publishing other's private information, such as physical or electronic | ||
addresses, without explicit permission | ||
* Other unethical or unprofessional conduct | ||
Project maintainers have the right and responsibility to remove, edit, or | ||
reject comments, commits, code, wiki edits, issues, and other contributions | ||
that are not aligned to this Code of Conduct, or to ban temporarily or | ||
permanently any contributor for other behaviors that they deem inappropriate, | ||
threatening, offensive, or harmful. | ||
By adopting this Code of Conduct, project maintainers commit themselves to | ||
fairly and consistently applying these principles to every aspect of managing | ||
this project. Project maintainers who do not follow or enforce the Code of | ||
Conduct may be permanently removed from the project team. | ||
This Code of Conduct applies both within project spaces and in public spaces | ||
when an individual is representing the project or its community. | ||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported by contacting the project maintainer at [email protected]. All | ||
complaints will be reviewed and investigated and will result in a response that | ||
is deemed necessary and appropriate to the circumstances. Maintainers are | ||
obligated to maintain confidentiality with regard to the reporter of an | ||
incident. | ||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], | ||
version 1.3.0, available at | ||
[http://contributor-covenant.org/version/1/3/0/][version] | ||
[homepage]: http://contributor-covenant.org | ||
[version]: http://contributor-covenant.org/version/1/3/0/ |
LICENSE
0 → 100644
README.md
0 → 100644
dist/ethjs-signer.js
0 → 100644
This diff is collapsed.
dist/ethjs-signer.js.map
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
dist/ethjs-signer.min.js
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
docs/README.md
0 → 100644
docs/developer-guide.md
0 → 100644
docs/user-guide.md
0 → 100644
package.json
0 → 100644
{ | ||
"name": "ethjs-signer", | ||
"version": "0.1.0", | ||
"description": "A simple module for signing Ethereum transactions.", | ||
"main": "lib/index.js", | ||
"files": [ | ||
"dist", | ||
"internals", | ||
"lib", | ||
"src" | ||
], | ||
"scripts": { | ||
"start": "npm test", | ||
"release": "npmpub", | ||
"pretest": "npm run lint", | ||
"prepublish": "npm run build", | ||
"prebuild": "npm run build:clean && npm run test", | ||
"build:clean": "npm run test:clean && rimraf ./dist", | ||
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --copy-files", | ||
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack --config ./internals/webpack/webpack.config.js --progress", | ||
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack --config ./internals/webpack/webpack.config.js --progress", | ||
"build:stats": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack --config ./internals/webpack/webpack.config.js --progress --profile --json > dist/stats.json", | ||
"build": "npm run build:commonjs && npm run test:lib && npm run build:umd && npm run build:umd:min", | ||
"lint": "npm run lint:js", | ||
"lint:eslint": "eslint --ignore-path .gitignore --ignore-pattern **/**.min.js", | ||
"lint:js": "npm run lint:eslint -- . ", | ||
"lint:staged": "lint-staged", | ||
"test:clean": "rimraf ./coverage", | ||
"test": "mocha ./src/tests/**/*.js -R spec --timeout 2000000", | ||
"test:lib": "mocha ./lib/tests/**/*.js -R spec --timeout 2000000", | ||
"test-travis": "node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- src/tests/**/*.js -R spec --timeout 2000000", | ||
"coveralls": "npm run test-travis && cat ./coverage/lcov.info | coveralls" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://[email protected]/ethjs/ethjs-signer.git" | ||
}, | ||
"keywords": [ | ||
"ethereum", | ||
"rpc", | ||
"formatter", | ||
"format", | ||
"ethereum", | ||
"encoding", | ||
"decoding" | ||
], | ||
"authors": [ | ||
"Nick Dodson <[email protected]>" | ||
], | ||
"contributors": [ | ||
{ | ||
"name": "Richard Moore", | ||
"email": "[email protected]", | ||
"url": "https://ethers.io" | ||
} | ||
], | ||
"engines": { | ||
"npm": ">=3", | ||
"node": ">=6.5.0" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/ethjs/ethjs-signer/issues" | ||
}, | ||
"homepage": "https://github.com/ethjs/ethjs-signer#readme", | ||
"babel": { | ||
"plugins": [ | ||
["transform-es2015-template-literals", { "loose": true }], | ||
"transform-es2015-literals", | ||
"transform-es2015-function-name", | ||
"transform-es2015-arrow-functions", | ||
"transform-es2015-block-scoped-functions", | ||
["transform-es2015-classes", { "loose": true }], | ||
"transform-es2015-object-super", | ||
"transform-es2015-shorthand-properties", | ||
["transform-es2015-computed-properties", { "loose": true }], | ||
["transform-es2015-for-of", { "loose": true }], | ||
"transform-es2015-sticky-regex", | ||
"transform-es2015-unicode-regex", | ||
"check-es2015-constants", | ||
["transform-es2015-spread", { "loose": true }], | ||
"transform-es2015-parameters", | ||
["transform-es2015-destructuring", { "loose": true }], | ||
"transform-es2015-block-scoping", | ||
"transform-object-rest-spread", | ||
"transform-es3-member-expression-literals", | ||
"transform-es3-property-literals" | ||
], | ||
"env": { | ||
"commonjs": { | ||
"plugins": [ | ||
["transform-es2015-modules-commonjs", { "loose": true }] | ||
] | ||
} | ||
} | ||
}, | ||
"dependencies": { | ||
"ethjs-sha3": "0.1.2", | ||
"rlp": "2.0.0", | ||
"strip-hex-prefix": "1.0.0", | ||
"number-to-bn": "1.1.0", | ||
"elliptic": "6.3.2" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "6.18.0", | ||
"babel-core": "6.18.2", | ||
"babel-eslint": "7.1.0", | ||
"babel-loader": "6.2.8", | ||
"ethereumjs-util": "5.0.1", | ||
"sandboxed-module": "2.0.3", | ||
"ethereumjs-testrpc": "3.0.2", | ||
"ethereumjs-tx": "1.1.4", | ||
"ethjs-query": "0.1.1", | ||
"ethjs-account": "0.1.0", | ||
"babel-plugin-check-es2015-constants": "6.8.0", | ||
"babel-plugin-transform-es2015-arrow-functions": "6.8.0", | ||
"babel-plugin-transform-es2015-block-scoped-functions": "6.8.0", | ||
"babel-plugin-transform-es2015-block-scoping": "6.18.0", | ||
"babel-plugin-transform-es2015-classes": "6.18.0", | ||
"babel-plugin-transform-es2015-computed-properties": "6.8.0", | ||
"babel-plugin-transform-es2015-destructuring": "6.19.0", | ||
"babel-plugin-transform-es2015-for-of": "6.18.0", | ||
"babel-plugin-transform-es2015-function-name": "6.9.0", | ||
"babel-plugin-transform-es2015-literals": "6.8.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "6.18.0", | ||
"babel-plugin-transform-es2015-object-super": "6.8.0", | ||
"babel-plugin-transform-es2015-parameters": "6.18.0", | ||
"babel-plugin-transform-es2015-shorthand-properties": "6.18.0", | ||
"babel-plugin-transform-es2015-spread": "6.8.0", | ||
"babel-plugin-transform-es2015-sticky-regex": "6.8.0", | ||
"babel-plugin-transform-es2015-template-literals": "6.8.0", | ||
"babel-plugin-transform-es2015-unicode-regex": "6.11.0", | ||
"babel-plugin-transform-es3-member-expression-literals": "6.5.0", | ||
"babel-plugin-transform-es3-property-literals": "6.5.0", | ||
"babel-plugin-transform-object-rest-spread": "6.19.0", | ||
"babel-register": "6.18.0", | ||
"check-es3-syntax-cli": "0.1.3", | ||
"webpack": "2.1.0-beta.15", | ||
"json-loader": "0.5.4", | ||
"rimraf": "2.3.4", | ||
"cross-env": "1.0.7", | ||
"chai": "3.5.0", | ||
"coveralls": "2.11.9", | ||
"js-sha3": "0.5.5", | ||
"istanbul": "0.4.5", | ||
"eslint": "2.10.1", | ||
"eslint-config-airbnb": "9.0.1", | ||
"eslint-import-resolver-webpack": "0.2.4", | ||
"eslint-plugin-import": "1.8.0", | ||
"eslint-plugin-jsx-a11y": "1.2.0", | ||
"eslint-plugin-react": "5.1.1", | ||
"eventsource-polyfill": "0.9.6", | ||
"lint-staged": "1.0.1", | ||
"mocha": "3.1.2", | ||
"pre-commit": "1.1.3", | ||
"web3": "0.17.0-beta" | ||
}, | ||
"lint-staged": { | ||
"lint:eslint": "*.js" | ||
}, | ||
"eslintConfig": { | ||
"parser": "babel-eslint", | ||
"extends": "airbnb", | ||
"env": { | ||
"node": true, | ||
"mocha": true, | ||
"es6": true | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"import/no-unresolved": 2, | ||
"comma-dangle": [ | ||
2, | ||
"always-multiline" | ||
], | ||
"indent": [ | ||
2, | ||
2, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"no-console": 1, | ||
"max-len": 0, | ||
"prefer-template": 2, | ||
"no-use-before-define": 0, | ||
"newline-per-chained-call": 0, | ||
"arrow-body-style": [ | ||
2, | ||
"as-needed" | ||
] | ||
} | ||
}, | ||
"pre-commit": "build" | ||
} |
src/index.js
0 → 100644
src/tests/test.index.js
0 → 100644
Please register or sign in to comment