UNPKG

1.43 kBJSONView Raw
1{
2 "name": "bstring",
3 "version": "0.0.1",
4 "description": "String encodings for javascript",
5 "keywords": [
6 "string",
7 "base58",
8 "bech32"
9 ],
10 "license": "MIT",
11 "repository": "git://github.com/bcoin-org/bstring.git",
12 "homepage": "https://github.com/bcoin-org/bstring",
13 "bugs": {
14 "url": "https://github.com/bcoin-org/bstring/issues"
15 },
16 "author": "Christopher Jeffrey <chjjeffrey@gmail.com>",
17 "main": "./lib/bstring.js",
18 "scripts": {
19 "install": "node-gyp rebuild || echo 'Build failed.'",
20 "browserify": "browserify -s bstring lib/bstring.js | uglifyjs -c > bstring.js",
21 "clean": "rm -f bstring.js",
22 "lint": "eslint lib/ test/ || exit 0",
23 "test": "mocha --reporter spec test/*-test.js",
24 "webpack": "webpack --config webpack.config.js"
25 },
26 "dependencies": {
27 "bindings": "~1.3.0",
28 "nan": "~2.8.0"
29 },
30 "devDependencies": {
31 "babelify": "^8.0.0",
32 "babel-core": "^6.26.0",
33 "babel-loader": "^7.1.2",
34 "babel-preset-env": "^1.6.1",
35 "browserify": "^14.5.0",
36 "eslint": "^4.14.0",
37 "mocha": "^4.0.1",
38 "uglifyjs-webpack-plugin": "^1.1.5",
39 "uglify-es": "^3.1.3",
40 "webpack": "^3.10.0"
41 },
42 "engines": {
43 "node": ">=7.6.0"
44 },
45 "gypfile": true,
46 "browser": {
47 "./lib/base58": "./lib/base58-browser.js",
48 "./lib/bech32": "./lib/bech32-browser.js"
49 },
50 "browserify": {
51 "transform": [
52 "babelify"
53 ]
54 }
55}