Skip to content

Commit 7adbee1

Browse files
author
Kedar Chandrayan
authored
package json - added keywords and description. (#9)
1 parent de2d9e0 commit 7adbee1

7 files changed

Lines changed: 34 additions & 17 deletions

File tree

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ package-lock.json
1414
build/
1515
openst-setup/
1616

17-
bin/temp/*
18-
web_temp/*
17+
tmp/*
18+
!tmp/.gitkeep

dist/openst.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32923,7 +32923,7 @@ module.exports = OpenST;
3292332923
/* 386 */
3292432924
/***/ (function(module) {
3292532925

32926-
module.exports = {"name":"@openstfoundation/openst.js","version":"0.9.4","description":"","homepage":"https://openst.org","author":"OpenST Ltd.","license":"LGPL-3.0","repository":{"type":"git","url":"https://github.com/OpenSTFoundation/openst.js.git"},"bugs":{"url":"https://github.com/OpenSTFoundation/openst.js/issues"},"scripts":{"pre-commit":"lint-staged","webpack-build":"webpack --mode=production","web-pre-build":"node webPreBuild.js","web-build":"npm-run-all web-pre-build webpack-build","web-post-build":"git add dist/."},"dependencies":{"bignumber.js":"4.1.0","path":"0.12.7","web3":"1.0.0-beta.34","shelljs":"0.8.1","node-cmd":"3.0.0"},"devDependencies":{"@babel/core":"7.1.0","@babel/polyfill":"7.0.0","@babel/preset-env":"7.1.0","@babel/runtime":"7.0.0","babel-loader":"8.0.2","chai":"4.1.2","commander":"2.8.1","edit-json-file":"1.0.8","expose-loader":"0.7.5","lint-staged":"7.2.0","mocha":"5.0.0","npm-run-all":"4.1.3","os":"0.1.1","pre-commit":"1.2.2","prettier":"1.13.7","string-replace-loader":"2.1.1","webpack":"4.19.1","webpack-cli":"3.1.0","webpack-uglify-js-plugin":"1.1.9"},"pre-commit":{"run":["web-build","web-post-build","pre-commit"]},"lint-staged":{"linters":{"*.js":["prettier --write --config .prettierrc.json","git add"]},"ignore":["**/dist/*.js"]}};
32926+
module.exports = {"version":"0.9.4","name":"@openstfoundation/openst.js"};
3292732927

3292832928
/***/ }),
3292932929
/* 387 */
@@ -36351,7 +36351,7 @@ module.exports.makeKey = makeKey
3635136351
/* 434 */
3635236352
/***/ (function(module) {
3635336353

36354-
module.exports = {"_from":"elliptic@^6.4.0","_id":"elliptic@6.4.1","_inBundle":false,"_integrity":"sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==","_location":"/elliptic","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"elliptic@^6.4.0","name":"elliptic","escapedName":"elliptic","rawSpec":"^6.4.0","saveSpec":null,"fetchSpec":"^6.4.0"},"_requiredBy":["/browserify-sign","/create-ecdh","/eth-lib","/web3-eth-accounts/eth-lib"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.4.1.tgz","_shasum":"c2d0b7776911b86722c632c3c06c60f2f819939a","_spec":"elliptic@^6.4.0","_where":"/Users/kedarchandrayan/workspace/forks/openst.js/node_modules/eth-lib","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"bundleDependencies":false,"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},"deprecated":false,"description":"EC cryptography","devDependencies":{"brfs":"^1.4.3","coveralls":"^2.11.3","grunt":"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2","istanbul":"^0.4.2","jscs":"^2.9.0","jshint":"^2.6.0","mocha":"^2.1.0"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.4.1"};
36354+
module.exports = {"version":"6.4.1","name":"elliptic"};
3635536355

3635636356
/***/ }),
3635736357
/* 435 */
@@ -55304,7 +55304,7 @@ module.exports = __webpack_require__(496).version;
5530455304
/* 496 */
5530555305
/***/ (function(module) {
5530655306

55307-
module.exports = {"_from":"git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible","_id":"websocket@1.0.26","_inBundle":false,"_integrity":"","_location":"/websocket","_phantomChildren":{},"_requested":{"type":"git","raw":"websocket@git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible","name":"websocket","escapedName":"websocket","rawSpec":"git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible","saveSpec":"git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible","fetchSpec":"git://github.com/frozeman/WebSocket-Node.git","gitCommittish":"browserifyCompatible"},"_requiredBy":["/web3-providers-ws"],"_resolved":"git://github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2","_spec":"websocket@git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible","_where":"/Users/kedarchandrayan/workspace/forks/openst.js/node_modules/web3-providers-ws","author":{"name":"Brian McKelvey","email":"brian@worlize.com","url":"https://www.worlize.com/"},"browser":"lib/browser.js","bugs":{"url":"https://github.com/theturtle32/WebSocket-Node/issues"},"bundleDependencies":false,"config":{"verbose":false},"contributors":[{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net","url":"http://dev.sipdoc.net"}],"dependencies":{"debug":"^2.2.0","nan":"^2.3.3","typedarray-to-buffer":"^3.1.2","yaeti":"^0.0.6"},"deprecated":false,"description":"Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455.","devDependencies":{"buffer-equal":"^1.0.0","faucet":"^0.0.1","gulp":"git+https://github.com/gulpjs/gulp.git#4.0","gulp-jshint":"^2.0.4","jshint":"^2.0.0","jshint-stylish":"^2.2.1","tape":"^4.0.1"},"directories":{"lib":"./lib"},"engines":{"node":">=0.10.0"},"homepage":"https://github.com/theturtle32/WebSocket-Node","keywords":["websocket","websockets","socket","networking","comet","push","RFC-6455","realtime","server","client"],"license":"Apache-2.0","main":"index","name":"websocket","repository":{"type":"git","url":"git+https://github.com/theturtle32/WebSocket-Node.git"},"scripts":{"gulp":"gulp","install":"(node-gyp rebuild 2> builderror.log) || (exit 0)","test":"faucet test/unit"},"version":"1.0.26"};
55307+
module.exports = {"version":"1.0.26","name":"websocket"};
5530855308

5530955309
/***/ }),
5531055310
/* 497 */
@@ -62319,7 +62319,7 @@ module.exports = ChainWeb3;
6231962319
/* 519 */
6232062320
/***/ (function(module) {
6232162321

62322-
module.exports = {"_from":"web3@1.0.0-beta.34","_id":"web3@1.0.0-beta.34","_inBundle":false,"_integrity":"sha1-NH5WG3hAmMtVYzFfSQR5odkfKrE=","_location":"/web3","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"web3@1.0.0-beta.34","name":"web3","escapedName":"web3","rawSpec":"1.0.0-beta.34","saveSpec":null,"fetchSpec":"1.0.0-beta.34"},"_requiredBy":["/"],"_resolved":"http://registry.npmjs.org/web3/-/web3-1.0.0-beta.34.tgz","_shasum":"347e561b784098cb5563315f490479a1d91f2ab1","_spec":"web3@1.0.0-beta.34","_where":"/Users/kedarchandrayan/workspace/forks/openst.js","author":{"name":"ethereum.org"},"authors":[{"name":"Fabian Vogelsteller","email":"fabian@ethereum.org","homepage":"http://frozeman.de"},{"name":"Marek Kotewicz","email":"marek@parity.io","url":"https://github.com/debris"},{"name":"Marian Oancea","url":"https://github.com/cubedro"},{"name":"Gav Wood","email":"g@parity.io","homepage":"http://gavwood.com"},{"name":"Jeffery Wilcke","email":"jeffrey.wilcke@ethereum.org","url":"https://github.com/obscuren"}],"bugs":{"url":"https://github.com/ethereum/web3.js/issues"},"bundleDependencies":false,"dependencies":{"web3-bzz":"1.0.0-beta.34","web3-core":"1.0.0-beta.34","web3-eth":"1.0.0-beta.34","web3-eth-personal":"1.0.0-beta.34","web3-net":"1.0.0-beta.34","web3-shh":"1.0.0-beta.34","web3-utils":"1.0.0-beta.34"},"deprecated":false,"description":"Ethereum JavaScript API","keywords":["Ethereum","JavaScript","API"],"license":"LGPL-3.0","main":"src/index.js","name":"web3","namespace":"ethereum","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/master/packages/web3"},"types":"index.d.ts","version":"1.0.0-beta.34"};
62322+
module.exports = {"version":"1.0.0-beta.34","name":"web3"};
6232362323

6232462324
/***/ }),
6232562325
/* 520 */

dist/openst.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
{
22
"name": "@openstfoundation/openst.js",
33
"version": "0.9.4",
4-
"description": "",
4+
"description": "OpenST is a framework for building token economies.",
5+
"keywords": [
6+
"OpenST",
7+
"OST",
8+
"Simple Token",
9+
"Token Economy",
10+
"web3",
11+
"Ethereum",
12+
"EIP20"
13+
],
514
"homepage": "https://openst.org",
615
"author": "OpenST Ltd.",
716
"license": "LGPL-3.0",
@@ -17,14 +26,14 @@
1726
"webpack-build": "webpack --mode=production",
1827
"web-pre-build": "node webPreBuild.js",
1928
"web-build": "npm-run-all web-pre-build webpack-build",
20-
"web-post-build" : "git add dist/."
29+
"web-post-build": "git add dist/."
2130
},
2231
"dependencies": {
2332
"bignumber.js": "4.1.0",
33+
"node-cmd": "3.0.0",
2434
"path": "0.12.7",
25-
"web3": "1.0.0-beta.34",
2635
"shelljs": "0.8.1",
27-
"node-cmd": "3.0.0"
36+
"web3": "1.0.0-beta.34"
2837
},
2938
"devDependencies": {
3039
"@babel/core": "7.1.0",
@@ -45,10 +54,11 @@
4554
"string-replace-loader": "2.1.1",
4655
"webpack": "4.19.1",
4756
"webpack-cli": "3.1.0",
48-
"webpack-uglify-js-plugin": "1.1.9"
57+
"webpack-uglify-js-plugin": "1.1.9",
58+
"package-json-cleanup-loader": "1.0.3"
4959
},
50-
"pre-commit":{
51-
"run" : [
60+
"pre-commit": {
61+
"run": [
5262
"web-build",
5363
"web-post-build",
5464
"pre-commit"
File renamed without changes.

webPreBuild.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const fs = require('fs'),
44
rootPrefix = '.',
55
paths = ['/contracts/abi', '/contracts/bin'],
66
readableFile = rootPrefix + '/utils/AbiBinProvider.js',
7-
writableFile = rootPrefix + '/bin/temp/AbiBinProvider.js',
7+
writableFile = rootPrefix + '/tmp/AbiBinProvider.js',
88
protoToAddData = 'AbiBinProvider.prototype',
99
addAbiFuncName = 'addABI',
1010
addBinFuncName = 'addBIN';

webpack.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const webpackOption = {
1717
path: path.resolve(__dirname, 'dist'),
1818
filename: '[name].js'
1919
},
20-
plugins: [new webpack.NormalModuleReplacementPlugin(/utils\/AbiBinProvider\.js/, '../bin/temp/AbiBinProvider.js')],
20+
plugins: [new webpack.NormalModuleReplacementPlugin(/utils\/AbiBinProvider\.js/, '../tmp/AbiBinProvider.js')],
2121
module: {
2222
rules: [
2323
{
@@ -58,6 +58,13 @@ const webpackOption = {
5858
options: 'OpenST'
5959
}
6060
]
61+
},
62+
{
63+
test: /package\.json$/,
64+
loader: 'package-json-cleanup-loader',
65+
options: {
66+
only: ['version', 'name', 'otherParam']
67+
}
6168
}
6269
]
6370
},

0 commit comments

Comments
 (0)