8000 run prepare.sh after build · github1/meshage@809babd · GitHub
[go: up one dir, main page]

Skip to content

Commit 809babd

Browse files
github1github1
authored andcommitted
run prepare.sh after build
1 parent 72dc137 commit 809babd

File tree

1 file changed

+46
-7
lines changed

1 file changed

+46
-7
lines changed

package.json

Lines changed: 46 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,56 @@
11
{
2-
"name": "meshage-example",
3-
"version": "0.3.4",
4-
"description": "",
5-
"main": "index.js",
2+
"name": "@github1/meshage",
3+
"version": "0.3.5",
4+
"description": "A simple peer-to-peer service mesh for HTTP based message handlers. Messages sent within the service mesh are consistently partitioned across members of the cluster.",
5+
"main": "./dist/src/index.js",
6+
"types": "./dist/src/index.d.ts",
67
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
8+
"clean": "rimraf coverage dist tmp",
9+
"watch": "tsc -w -p tsconfig.release.json",
10+
"lint": "tslint -t stylish --exclude '**/*.js' --project 'tsconfig.json'",
11+
"prepublishOnly": "npm run build && ./prepare.sh",
12+
"pretest": "npm run lint",
13+
"test": "jest --runInBand --coverage",
14+
"test:watch": "jest --watch --runInBand",
15+
"build": "npm run -s clean && npm run -s lint && tsc -p tsconfig.release.json",
16+
"build:only": "npm run -s clean && tsc -p tsconfig.release.json"
817
},
918
"author": "John Collier <john.collier4@gmail.com>",
1019
"license": "MIT",
1120
"dependencies": {
12-
"@github1/meshage": "*"
21+
"@github1/grapevine": "^1.0.6",
22+
"body-parser": "^1.17.2",
23+
"consul": "^0.33.1",
24+
"debug": "^3.0.1",
25+
"dnode": "^1.2.2",
26+
"express": "^4.15.4",
27+
"express-http-proxy": "^1.0.6",
28+
"hashring": "^3.2.0",
29+
"portfinder": "^1.0.20",
30+
"superagent": "^3.8.3",
31+
"superagent-debugger": "^1.2.9",
32+
"tslib": "1.9.3",
33+
"uuid": "^3.2.1"
34+
},
35+
"devDependencies": {
36+
"@types/body-parser": "^1.16.5",
37+
"@types/consul": "^0.23.32",
38+
"@types/debug": "0.0.30",
39+
"@types/express": "^4.0.37",
40+
"@types/get-port": "4.0.1",
41+
"@types/node": "^8.0.26",
42+
"@types/superagent": "^3.8.1",
43+
"@types/uuid": "^3.4.3",
44+
"jest": "23.6.0",
45+
"rimraf": "^2.6.1",
46+
"ts-jest": "^23.10.5",
47+
"tslint": "^5.12.1",
48+
"tslint-microsoft-contrib": "^6.0.0",
49+
"typescript": "3.3.3"
50+
},
51+
"publishConfig": {
52+
"access": "public"
1353
},
14-
"devDependencies": [],
1554
"repository": {
1655
"type": "git",
1756
"url": "https://github.com/github1/meshage"

0 commit comments

Comments
 (0)
0