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.

47 lines
1.4 KiB

1 year ago
  1. {
  2. "name": "blindsecp256k1",
  3. "version": "0.0.9",
  4. "description": "Blind signatures over secp256k1, compatible with https://github.com/arnaucube/go-blindsecp256k1",
  5. "main": "dist/index",
  6. "types": "dist/index",
  7. "exports": {
  8. ".": {
  9. "browser": {
  10. "default": "./dist/blindsecp256k1-browser.js"
  11. },
  12. "default": "./dist/index.js"
  13. },
  14. "./package.json": "./package.json"
  15. },
  16. "scripts": {
  17. "prepublishOnly": "npm run build",
  18. "clean": "rimraf dist",
  19. "build": "npm run clean && ./node_modules/.bin/tsc && npm run browserify",
  20. "browserify": "browserify dist/index.js --standalone blindsecp256k1 > dist/blindsecp256k1-browser.js",
  21. "watch": "./node_modules/.bin/tsc -w -p .",
  22. "ts-node": "./node_modules/.bin/ts-node",
  23. "test": "npm run build && ./node_modules/.bin/mocha -r ts-node/register test/**/*.ts"
  24. },
  25. "author": "arnaucube",
  26. "license": "GPL-3.0",
  27. "dependencies": {
  28. "@ethersproject/keccak256": "5.0.7",
  29. "bigi": "^1.4.2",
  30. "bignumber.js": "7.0.2",
  31. "ecurve": "1.0.0"
  32. },
  33. "devDependencies": {
  34. "@types/bigi": "^1.4.2",
  35. "@types/chai": "^4.2.14",
  36. "@types/ecurve": "^1.0.0",
  37. "@types/mocha": "^8.2.0",
  38. "@types/node": "^14.14.25",
  39. "chai": "^4.2.0",
  40. "mocha": "^8.2.1",
  41. "rimraf": "^3.0.2",
  42. "ts-node": "^9.1.1",
  43. "tslint": "^6.1.3",
  44. "typescript": "^4.1.3",
  45. "browserify": "^16.5.0"
  46. }
  47. }