forked from aiden/rpc_ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 3.58 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "rpc_ts",
"version": "2.1.0",
"description": "Remote Procedure Calls in TypeScript made simple",
"repository": "[email protected]:aiden/rpc_ts.git",
"author": "Dashbot Ltd",
"license": "MIT",
"private": false,
"main": "lib/index.js",
"unpkg": "dist/index.js",
"module": "es/index.js",
"typings": "lib/index.d.ts",
"dependencies": {
"@improbable-eng/grpc-web": "^0.11.0",
"@types/compression": "^1.0.1",
"compression": "^1.0.3",
"express": "^4.16.3",
"fast-text-encoding": "^1.0.0",
"isomorphic-fetch": "^2.2.1",
"lodash": "^4.17.5",
"moment": "^2.14.1",
"node-jose": "^1.0.0",
"query-string": "^6.0.0"
},
"devDependencies": {
"@improbable-eng/grpc-web-node-http-transport": "^0.11.0",
"@types/chai": "^4.0.0",
"@types/express": "^4.11.1",
"@types/fetch-mock": "^7.3.1",
"@types/lodash": "^4.14.106",
"@types/mocha": "^5.2.7",
"@types/node": "^8.0.47",
"@types/query-string": "^6.3.0",
"@types/shelljs": "^0.8.5",
"@types/sinon": "^7.0.13",
"aiden-doc": "1.0.3",
"chai": "4.2.0",
"codedown": "^2.1.5",
"coveralls": "^3.0.4",
"fast-check": "^1.5.0",
"fetch-mock": "^7.3.9",
"gh-pages": "^2.0.1",
"liquidjs": "^9.1.1",
"mocha": "^6",
"node-sass": "^4.12.0",
"nyc": "^14.1.1",
"prettier": "^1.13.7",
"rimraf": "^3.0.0",
"rxjs": "^6.3.2",
"shelljs": "^0.8.3",
"sinon": "^7.3.2",
"ts-node": "^8",
"tsconfig-paths": "^3.5.0",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.13.0",
"tslint-config-standard": "^8.0.1",
"tslint-language-service": "^0.9.8",
"tslint-no-circular-imports": "^0.7.0",
"type-zoo": "^3.4.0",
"typedoc": "^0.15.0",
"typedoc-plugin-external-module-name": "^2.1.0",
"typescript": "3.6.4"
},
"scripts": {
"clean": "rimraf lib dist es typedoc",
"test": "mocha --exit -r tsconfig-paths/register 'lib/**/*.{test,it}.js'",
"test:ts": "mocha --exit -r ts-node/register -r tsconfig-paths/register 'src/**/*.{test,it}.ts'",
"coverage": "yarn nyc --reporter=html --reporter=text --es-modules=false --exclude-after-remap=false mocha --exit -r tsconfig-paths/register 'lib/**/*.{test,it}.js'",
"coverage:upload": "yarn nyc report --reporter=text-lcov --exclude-after-remap=false | ./node_modules/coveralls/bin/coveralls.js",
"ts": "tsc -p tsconfig.json --noEmit",
"ts:doc": "yarn extra-md-ts && tsc --noEmit --project tsconfig.doc.json",
"build:es": "tsc -p tsconfig.json --declaration --module esnext --outDir ./es",
"build:cjs": "tsc -p tsconfig.json --declaration --module commonjs --outDir ./lib",
"build": "yarn run build:cjs && yarn run build:es",
"lint": "tslint -p tsconfig.json",
"format": "prettier --write --ignore-path .gitignore '**/*.ts'",
"format:check": "prettier -l --list-different --ignore-path .gitignore '**/*.ts'",
"all": "yarn build && yarn ts && yarn ts:doc && yarn format:check && yarn lint && yarn test && yarn doc",
"precommit": "lint-staged",
"extra-md-ts": "cat README.md | yarn --silent codedown Typescript > readme_code.ts",
"doc": "ts-node src/site/index.ts",
"doc:serve": "yarn doc && (cd site/landing && bundle exec jekyll serve)",
"doc:deploy": "yarn doc && yarn gh-pages -d site/landing/_site -m '[ci skip] Updates'"
},
"lint-staged": {
"{./*,typescript/**/*}.{js,jsx,ts,tsx,css,scss,md,json}": "prettier -l",
"*.{ts,tsx}": "tslint -c tslint.json"
},
"npmName": "rpc_ts",
"sideEffects": false,
"keywords": [
"typescript",
"RPC",
"API",
"isomorphic",
"gRPC-Web",
"real-time"
]
}