|
49 | 49 | "pure/**/*.d.ts.map"
|
50 | 50 | ],
|
51 | 51 | "browser": {
|
52 |
| - "./scrypt.js": "./pure/scrypt.js", |
53 | 52 | "./ripemd160.js": "./pure/ripemd160.js",
|
54 | 53 | "./sha256.js": "./pure/sha256.js",
|
55 | 54 | "./hdkey.js": "./pure/hdkey.js",
|
|
59 | 58 | "sideEffects": false,
|
60 | 59 | "scripts": {
|
61 | 60 | "prepare": "npm run build",
|
62 |
| - "build": "npm-run-all build:tsc scryptsy-without-crypto:build scryptsy-without-crypto:copy hdkey-without-crypto:build hdkey-without-crypto:copy bip39-without-wordlists:build bip39-without-wordlists:copy", |
| 61 | + "build": "npm-run-all build:tsc hdkey-without-crypto:build hdkey-without-crypto:copy bip39-without-wordlists:build bip39-without-wordlists:copy", |
63 | 62 | "build:tsc": "tsc --project tsconfig.prod.json",
|
64 |
| - "test": "npm-run-all scryptsy-without-crypto:build hdkey-without-crypto:build bip39-without-wordlists:build test:node", |
| 63 | + "test": "npm-run-all hdkey-without-crypto:build bip39-without-wordlists:build test:node", |
65 | 64 | "test:node": "mocha",
|
66 |
| - "clean": "rimraf vendor test-builds pure shims scryptsy-without-crypto-build hdkey-without-crypto-build bip39-without-wordlists-build '*.js' '*.js.map' '*.d.ts' '*.d.ts.map' 'src/**/*.js'", |
| 65 | + "clean": "rimraf vendor test-builds pure shims hdkey-without-crypto-build bip39-without-wordlists-build '*.js' '*.js.map' '*.d.ts' '*.d.ts.map' 'src/**/*.js'", |
67 | 66 | "lint": "tslint --project tsconfig.json",
|
68 | 67 | "lint:fix": "tslint --fix --project tsconfig.json",
|
69 | 68 | "browser-tests": "npm-run-all browser-tests:build browser-tests:test",
|
|
73 | 72 | "browser-tests:test-browserify": "karma start --single-run --browsers ChromeHeadless test/karma.browserify.conf.js",
|
74 | 73 | "browser-tests:test-webpack": "karma start --single-run --browsers ChromeHeadless test/karma.webpack.conf.js",
|
75 | 74 | "browser-tests:test-rollup": "karma start --single-run --browsers ChromeHeadless test/karma.rollup.conf.js",
|
76 |
| - "scryptsy-without-crypto:build": "bash -x scripts/build-scryptsy-without-crypto.sh", |
77 |
| - "scryptsy-without-crypto:copy": "mkdir -p vendor && cp src/vendor/scryptsy-without-crypto.js ./vendor", |
78 | 75 | "hdkey-without-crypto:build": "bash -x scripts/build-hdkey-without-crypto.sh",
|
79 | 76 | "hdkey-without-crypto:copy": "mkdir -p vendor pure/vendor && cp src/vendor/hdkey-without-crypto.js ./vendor && cp src/pure/vendor/hdkey-without-crypto.js ./pure/vendor",
|
80 | 77 | "bip39-without-wordlists:build": "bash -x scripts/build-bip39-without-wordlists.sh",
|
|
115 | 112 | "dependencies": {
|
116 | 113 | "@types/pbkdf2": "^3.0.0",
|
117 | 114 | "@types/secp256k1": "^4.0.1",
|
| 115 | + "blakejs": "^1.1.0", |
| 116 | + "browserify-aes": "^1.2.0", |
118 | 117 | "bs58check": "^2.1.2",
|
119 |
| - "safe-buffer": "^5.1.2", |
120 | 118 | "create-hash": "^1.2.0",
|
121 |
| - "pbkdf2": "^3.0.17", |
122 | 119 | "create-hmac": "^1.1.7",
|
123 |
| - "blakejs": "^1.1.0", |
124 |
| - "browserify-aes": "^1.2.0", |
125 | 120 | "hash.js": "^1.1.7",
|
126 | 121 | "keccak": "^3.0.0",
|
| 122 | + "pbkdf2": "^3.0.17", |
127 | 123 | "randombytes": "^2.1.0",
|
| 124 | + "safe-buffer": "^5.1.2", |
| 125 | + "scrypt-js": "^3.0.0", |
128 | 126 | "secp256k1": "^4.0.1",
|
129 | 127 | "setimmediate": "^1.0.5"
|
130 | 128 | }
|
|
0 commit comments