mirror of
https://github.com/fluencelabs/js-peer-id
synced 2025-08-01 01:22:13 +00:00
add git repo and fix codestyle issues
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = (config) => {
|
||||
|
||||
webpack: {
|
||||
output: {
|
||||
path: __dirname + '/dist',
|
||||
path: path.join(__dirname, 'dist'),
|
||||
filename: 'bundle.js'
|
||||
},
|
||||
resolve: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "peer-id",
|
||||
"version": "0.5.1",
|
||||
"version": "0.5.2",
|
||||
"description": "IPFS Peer Id implementation in Node.js",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
@@ -11,6 +11,11 @@
|
||||
"coverage": "istanbul cover --print both -- _mocha tests/test.js",
|
||||
"build": "webpack"
|
||||
},
|
||||
"standard": {
|
||||
"ignore": [
|
||||
"dist"
|
||||
]
|
||||
},
|
||||
"keywords": [
|
||||
"IPFS"
|
||||
],
|
||||
|
@@ -1,15 +1,14 @@
|
||||
var webpack = require("webpack")
|
||||
var path = require("path")
|
||||
var path = require('path')
|
||||
|
||||
module.exports = {
|
||||
name: 'peerid',
|
||||
context: __dirname,
|
||||
entry: "./src/index.js",
|
||||
entry: './src/index.js',
|
||||
output: {
|
||||
path: __dirname + '/dist',
|
||||
path: path.join(__dirname, 'dist'),
|
||||
filename: 'peer-id.js',
|
||||
libraryTarget: "var",
|
||||
library: "PeerId"
|
||||
libraryTarget: 'var',
|
||||
library: 'PeerId'
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['', '.js', '.json'],
|
||||
@@ -27,4 +26,4 @@ module.exports = {
|
||||
],
|
||||
noParse: []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user