-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
78 lines (78 loc) · 1.76 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
{
"name": "json-rpc-protocol",
"version": "0.13.2",
"license": "ISC",
"description": "JSON-RPC 2 protocol messages parsing and formatting",
"keywords": [
"json",
"json-rpc",
"jsonrpc",
"jsonrpc2",
"rpc"
],
"homepage": "https://github.com/JsCommunity/json-rpc-protocol",
"bugs": "https://github.com/JsCommunity/json-rpc-protocol/issues",
"repository": {
"type": "git",
"url": "https://github.com/JsCommunity/json-rpc-protocol.git"
},
"author": {
"name": "Julien Fontanet",
"email": "julien.fontanet@isonoe.net"
},
"preferGlobal": false,
"main": "dist/",
"typings": "dist/index.d.ts",
"bin": {},
"files": [
"dist/"
],
"engines": {
"node": ">=4"
},
"dependencies": {
"make-error": "^1.3.0"
},
"devDependencies": {
"cross-env": "^5.0.0",
"dependency-check": "^3.1.0",
"husky": "^1.1.1",
"jest": "^23.1.0",
"rimraf": "^2.6.1",
"ts-jest": "^23.10.4",
"tslint": "^5.10.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.1.1"
},
"scripts": {
"build": "cross-env NODE_ENV=production tsc",
"dev": "cross-env NODE_ENV=development tsc --watch",
"dev-test": "jest --bail --watch",
"lint": "tslint --project tsconfig.json && tsc --noEmit",
"pretest": "npm run lint",
"posttest": "dependency-check ./package.json",
"prebuild": "rimraf dist/",
"predev": "npm run prebuild",
"prepare": "npm run build",
"test": "jest"
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testRegex": "\\.spec\\.ts$",
"moduleFileExtensions": [
"js",
"ts"
]
},
"husky": {
"hooks": {
"commit-msg": "npm run test"
}
}
}