-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
46 lines (46 loc) · 1.31 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
{
"name": "ts-twirp",
"version": "1.1.3",
"description": "Generate a TypesScript Twirp server",
"main": "dist/index.js",
"repository": "https://github.com/mitchlloyd/ts-twirp",
"author": "Mitch Lloyd <[email protected]>",
"license": "Apache-2.0",
"bin": {
"ts-twirp": "dist/run.js"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^2.14.0",
"@typescript-eslint/parser": "^2.14.0",
"eslint": "^6.8.0",
"espree": "^3.5.4",
"handlebars": "^4.5.3",
"jsdoc": "^3.6.3",
"protobufjs": "6.8.8",
"tmp": "0.0.33"
},
"files": [
"dist/**/*"
],
"devDependencies": {
"@types/ejs": "^2.6.0",
"@types/jest": "^23.3.10",
"@types/node": "^10.12.11",
"@types/request": "^2.48.1",
"@types/request-promise-native": "^1.0.15",
"jest": "^24.7.1",
"prettier": "1.17.1",
"ts-jest": "^24.0.2",
"ts-node": "^7.0.1",
"ts-protoc-gen": "^0.8.0",
"typescript": "^3.2.1"
},
"scripts": {
"test:gen": "./node_modules/.bin/ts-node src/run.ts -- ./test/service.proto",
"test": "npm run test:gen && npx jest",
"lint": "npx eslint . --ext .ts",
"dist:cp-templates": "find src -name '*.hbs' -exec cp {} dist \\;",
"dist": "rm -rf ./dist && tsc && npm run dist:cp-templates",
"prerelease": "npm run test && npm run dist"
}
}