pkg: minor.
This commit is contained in:
parent
f826174f9c
commit
1ca3738699
@ -54,6 +54,7 @@
|
|||||||
"babel-core": "^6.26.3",
|
"babel-core": "^6.26.3",
|
||||||
"babel-loader": "^7.1.4",
|
"babel-loader": "^7.1.4",
|
||||||
"babel-plugin-transform-runtime": "^6.23.0",
|
"babel-plugin-transform-runtime": "^6.23.0",
|
||||||
|
"babel-polyfill": "^6.26.0",
|
||||||
"babel-preset-env": "^1.7.0",
|
"babel-preset-env": "^1.7.0",
|
||||||
"babelify": "^8.0.0",
|
"babelify": "^8.0.0",
|
||||||
"browserify": "^16.2.2",
|
"browserify": "^16.2.2",
|
||||||
@ -85,10 +86,10 @@
|
|||||||
"test-file": "mocha --reporter spec",
|
"test-file": "mocha --reporter spec",
|
||||||
"test-file-browser": "NODE_BACKEND=js mocha --reporter spec",
|
"test-file-browser": "NODE_BACKEND=js mocha --reporter spec",
|
||||||
"test-ci": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec test/*.js",
|
"test-ci": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec test/*.js",
|
||||||
"webpack": "webpack --config webpack.browser.js",
|
"webpack": "webpack --mode production --config webpack.browser.js",
|
||||||
"webpack-browser": "webpack --config webpack.browser.js",
|
"webpack-browser": "webpack --mode production --config webpack.browser.js",
|
||||||
"webpack-compat": "webpack --config webpack.compat.js",
|
"webpack-compat": "webpack --mode production --config webpack.compat.js",
|
||||||
"webpack-app": "webpack --config webpack.app.js"
|
"webpack-app": "webpack --mode production --config webpack.app.js"
|
||||||
},
|
},
|
||||||
"browser": {
|
"browser": {
|
||||||
"./lib/hd/nfkd": "./lib/hd/nfkd-compat.js",
|
"./lib/hd/nfkd": "./lib/hd/nfkd-compat.js",
|
||||||
|
|||||||
@ -18,7 +18,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
modules: ['node_modules'],
|
modules: ['node_modules'],
|
||||||
extensions: ['-browser.js', '.js', '.json']
|
extensions: ['-browser.js', '.js', '.json'],
|
||||||
|
alias: require('bcrypto/compat')
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
|
|||||||
@ -20,7 +20,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
modules: ['node_modules'],
|
modules: ['node_modules'],
|
||||||
extensions: ['-browser.js', '.js', '.json']
|
extensions: ['-browser.js', '.js', '.json'],
|
||||||
|
alias: require('bcrypto/compat')
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
|
|||||||
@ -20,7 +20,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
modules: ['node_modules'],
|
modules: ['node_modules'],
|
||||||
extensions: ['-compat.js', '-browser.js', '.js', '.json']
|
extensions: ['-compat.js', '-browser.js', '.js', '.json'],
|
||||||
|
alias: require('bcrypto/compat')
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [{
|
rules: [{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user