Add dependencies

This commit is contained in:
Dmitry Shulyak 2018-03-26 13:29:22 +03:00
commit 85508ec613
4 changed files with 83 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
node_modules
web3.js

5
Makefile Normal file
View File

@ -0,0 +1,5 @@
default:
npm install
cp ./node_modules/web3/dist/web3.min.js web3.js
go run cmd/bundler.go --src web3.js -dst web3js.go
rm web3.js

53
package-lock.json generated Normal file
View File

@ -0,0 +1,53 @@
{
"name": "status-js",
"version": "0.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"bignumber.js": {
"version": "github:status-im/bignumber.js#cc066a0a3d6bfe0c436c9957f4ea8344bf963c89",
"dev": true
},
"crypto-js": {
"version": "3.1.8",
"resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.1.8.tgz",
"integrity": "sha1-cV8HC/YBTyrpkqmLOSkli3E/CNU=",
"dev": true
},
"requirejs": {
"version": "2.3.5",
"resolved": "https://registry.npmjs.org/requirejs/-/requirejs-2.3.5.tgz",
"integrity": "sha512-svnO+aNcR/an9Dpi44C7KSAy5fFGLtmPbaaCeQaklUz8BQhS64tWWIIlvEA5jrWICzlO/X9KSzSeXFnZdBu8nw==",
"dev": true
},
"utf8": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.2.tgz",
"integrity": "sha1-H6DZJw6b6FDZsFAn9jUZv0ZFfZY=",
"dev": true
},
"web3": {
"version": "git+https://github.com/status-im/web3.js.git#aca66029d7ffac8ed2803b2fc7f0fec01e335ca3",
"dev": true,
"requires": {
"bignumber.js": "github:status-im/bignumber.js#cc066a0a3d6bfe0c436c9957f4ea8344bf963c89",
"crypto-js": "3.1.8",
"utf8": "2.1.2",
"xhr2": "0.1.4",
"xmlhttprequest": "1.8.0"
}
},
"xhr2": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/xhr2/-/xhr2-0.1.4.tgz",
"integrity": "sha1-f4dliEdxbbUCYyOBL4GMras4el8=",
"dev": true
},
"xmlhttprequest": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
"integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw=",
"dev": true
}
}
}

23
package.json Normal file
View File

@ -0,0 +1,23 @@
{
"name": "status-js",
"version": "0.0.1",
"description": "Package file for NPM packages required by make generate, to be included in Go static assets",
"engines": {
"node": ">=8.9.0"
},
"dependencies": {},
"devDependencies": {
"requirejs": "^2.3.4",
"web3": "https://github.com/status-im/web3.js#status-develop"
},
"repository": {
"type": "git",
"url": "git+https://github.com/status-im/status-go.git"
},
"author": "Pedro Pombeiro",
"license": "ISC",
"bugs": {
"url": "https://github.com/status-im/status-go/issues"
},
"homepage": "https://github.com/status-im/status-go#readme"
}