Skip to content

Commit

Permalink
Merge pull request #115 from lukehedger/master
Browse files Browse the repository at this point in the history
Fix build, lint and fix commands
  • Loading branch information
smartcontracts committed Mar 26, 2019
2 parents a971b53 + 14e230e commit cef3d46
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "mocha --require ts-node/register 'test/**/*.spec.ts'",
"lint": "tslint --format stylish --project .",
"fix": "prettier --config ./.prettierrc.js --write 'index.ts' '{src,test}/**/*.ts'",
"build": "yarn tsc -p ."
"build": "tsc -p ."
},
"keywords": [
"plasma",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "mocha --require ts-node/register 'test/**/*.spec.ts'",
"lint": "tslint --format stylish --project .",
"fix": "prettier --config ./.prettierrc.js --write 'index.ts' '{src,test}/**/*.ts'",
"build": "yarn tsc -p ."
"build": "tsc -p ."
},
"keywords": [
"plasma",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/test/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Ethereum {
private ethereum: Http2Server

constructor() {
this.ethereum = ganache.server({ gasLimit: '0x7A1200' })
this.ethereum = ganache.server({ gasLimit: '0x7A1200', port: 8545 })
}

public async startEth(): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion packages/operator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"lint": "tslint --format stylish --project .",
"fix": "prettier --config ./.prettierrc.js --write 'index.ts' '{src,test}/**/*.ts'",
"build": "yarn tsc -p ."
"build": "tsc -p ."
},
"keywords": [
"plasma",
Expand Down
2 changes: 1 addition & 1 deletion packages/plasma-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"lint": "tslint --format stylish --project .",
"fix": "prettier --config ./.prettierrc.js --write 'index.ts' '{src,test}/**/*.ts'",
"build": "yarn tsc -p ."
"build": "tsc -p ."
},
"keywords": [
"plasma",
Expand Down
4 changes: 2 additions & 2 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
],
"scripts": {
"lint": "tslint --format stylish --project .",
"fix": "prettier --config ./.prettierrc.js --write 'index.ts' '{src,test}/**/*.ts'",
"build": "yarn tsc -p ."
"fix": "prettier --config ./.prettierrc.js --write 'types/**/*.ts'",
"build": "tsc -p ."
},
"keywords": [
"plasma",
Expand Down
1 change: 1 addition & 0 deletions packages/types/types/ganache-cli/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ declare module 'ganache-cli' {

interface GanacheServerOptions {
gasLimit: string
port: number
}

interface Ganache {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "mocha --require ts-node/register 'test/**/*.spec.ts'",
"lint": "tslint --format stylish --project .",
"fix": "prettier --config ./.prettierrc.js --write 'index.ts' '{src,test}/**/*.ts'",
"build": "yarn tsc -p ."
"build": "tsc -p ."
},
"keywords": [
"plasma",
Expand Down
2 changes: 1 addition & 1 deletion packages/verifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "mocha --require ts-node/register 'test/**/*.spec.ts'",
"lint": "tslint --format stylish --project .",
"fix": "prettier --config ./.prettierrc.js --write 'index.ts' '{src,test}/**/*.ts'",
"build": "yarn tsc -p ."
"build": "tsc -p ."
},
"keywords": [
"plasma",
Expand Down
2 changes: 1 addition & 1 deletion packages/vyper-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"lint": "tslint --format stylish --project .",
"fix": "prettier --config ./.prettierrc.js --write 'index.ts' 'src/**/*.ts'",
"build": "yarn tsc -p ."
"build": "tsc -p ."
},
"keywords": [
"plasma",
Expand Down

0 comments on commit cef3d46

Please sign in to comment.