-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
66 lines (65 loc) · 2.23 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "number-to-bn",
"version": "1.7.0",
"description": "A simple method that will convert numbers, hex, BN or bignumber.js object into a BN.js object.",
"main": "src/index.js",
"scripts": {
"start": "npm test",
"release": "npmpub",
"prepublish": "npm run build",
"prebuild": "npm run build:clean && npm run test",
"build:clean": "npm run test:clean && rimraf ./dist",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack --config ./internals/webpack/webpack.config.js --progress",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack --config ./internals/webpack/webpack.config.js --progress",
"build:stats": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack --config ./internals/webpack/webpack.config.js --progress --profile --json > dist/stats.json",
"build": "npm run build:umd && npm run build:umd:min",
"test:clean": "rimraf ./coverage",
"test": "mocha ./src/tests/**/*.js -R spec --timeout 2000000",
"test-travis": "node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- src/tests/**/*.js -R spec --timeout 2000000",
"test:browser": "zuul -- ./src/tests/*.js",
"test:browser-local": "zuul --local -- ./src/tests/*.js",
"coveralls": "npm run test-travis && cat ./coverage/lcov.info | coveralls"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/SilentCicero/number-to-bn.git"
},
"engines": {
"npm": ">=3",
"node": ">=6.5.0"
},
"keywords": [
"number",
"to",
"bn",
"convert",
"hex",
"bn.js"
],
"author": "Nick Dodson <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/SilentCicero/number-to-bn/issues"
},
"homepage": "https://github.com/SilentCicero/number-to-bn#readme",
"dependencies": {
"bn.js": "4.11.6",
"strip-hex-prefix": "1.0.0"
},
"testling": {
"files": "src/tests/*.js"
},
"devDependencies": {
"bignumber.js": "3.0.1",
"chai": "3.5.0",
"coveralls": "2.11.9",
"istanbul": "0.4.5",
"mocha": "3.2.0",
"zuul": "3.0.0",
"cross-env": "1.0.7",
"pre-commit": "1.1.3",
"rimraf": "2.3.4",
"webpack": "2.1.0-beta.15"
},
"pre-commit": "build"
}