You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "bip39",
  3. "version": "3.0.4",
  4. "description": "Bitcoin BIP39: Mnemonic code for generating deterministic keys",
  5. "main": "src/index.js",
  6. "types": "./types/index.d.ts",
  7. "scripts": {
  8. "build": "npm run clean && tsc -p tsconfig.json",
  9. "clean": "rm -rf src",
  10. "coverage": "nyc --branches 100 --functions 100 --check-coverage npm run unit",
  11. "format": "npm run prettier -- --write",
  12. "format:ci": "npm run prettier -- --check",
  13. "gitdiff:ci": "npm run build && git diff --exit-code",
  14. "lint": "tslint -p tsconfig.json -c tslint.json",
  15. "prettier": "prettier 'ts_src/**/*.ts' --ignore-path ./.prettierignore",
  16. "test": "npm run build && npm run format:ci && npm run lint && npm run unit",
  17. "unit": "tape test/*.js",
  18. "update": "node -e \"require('./util/wordlists').update()\""
  19. },
  20. "author": "Wei Lu",
  21. "contributors": [
  22. {
  23. "name": "Daniel Cousens",
  24. "email": "email@dcousens.com",
  25. "url": "http://dcousens.com"
  26. }
  27. ],
  28. "repository": {
  29. "type": "git",
  30. "url": "https://github.com/bitcoinjs/bip39.git"
  31. },
  32. "license": "ISC",
  33. "files": [
  34. "src",
  35. "types"
  36. ],
  37. "dependencies": {
  38. "@types/node": "11.11.6",
  39. "create-hash": "^1.1.0",
  40. "pbkdf2": "^3.0.9",
  41. "randombytes": "^2.0.1"
  42. },
  43. "devDependencies": {
  44. "@types/create-hash": "1.2.0",
  45. "@types/pbkdf2": "3.0.0",
  46. "@types/randombytes": "2.0.0",
  47. "node-fetch": "^2.6.1",
  48. "nyc": "^15.0.0",
  49. "prettier": "1.16.4",
  50. "proxyquire": "^1.7.10",
  51. "tape": "^4.13.2",
  52. "tslint": "^6.1.0",
  53. "typescript": "3.3.4000"
  54. }
  55. }