-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 loc) · 1.48 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "@anfema/grpc-code-generator",
"version": "3.0.1",
"description": "A code generator for gRPC",
"license": "MIT",
"main": "dist/index.js",
"author": "André Wachter <[email protected]>",
"repository": "github:anfema/grpc-code-generator",
"scripts": {
"build": "npm run main.build && npm run test.gen && npm run test.build",
"dev": "npm run main.dev & npm run test.dev & wait",
"clean": "del dist src/__tests__/gen/*",
"purge": "del node_modules",
"test": "npm run build && npm run test.run",
"link": "mkdir -p node_modules/@anfema/grpc-code-generator/dist && ln -fs ../../../../dist/templates node_modules/@anfema/grpc-code-generator/dist/templates",
"main.build": "npm run link && tsc --project src/",
"main.dev": "npm run link && tsc --watch --project src/",
"test.gen": "node dist/cli.js -o src/__tests__/gen src/__tests__/proto/test.proto",
"test.build": "tsc --project src/__tests__",
"test.dev": "tsc --watch --project src/__tests__",
"test.run": "ava",
"prepublishOnly": "npm run test"
},
"bin": {
"grpc-code-generator": "dist/cli.js"
},
"devDependencies": {
"@types/node": "^13.9.1",
"@types/uuid": "^7.0.0",
"@types/yargs": "^15.0.4",
"ava": "^3.5.0",
"del-cli": "^3.0.0",
"grpc": "^1.23.3",
"typescript": "^3.6.2",
"uuid": "^7.0.2"
},
"dependencies": {
"protobufjs": "~6.8.0",
"yargs": "^15.3.1"
},
"engines": {
"node": ">=8.0.0"
},
"ava": {
"files": [
"dist/__tests__/test*.js"
],
"failWithoutAssertions": false
}
}