-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 1.93 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
{
"name": "boomerang-socket",
"version": "0.3.1",
"description": "A simple WebSocket wrapper with automatic reconnection",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "rollup -c",
"clean": "rm -rf ./lib",
"coverage": "cat ./coverage/lcov.info | coveralls",
"build:prod": "npm run clean && npm run build && npm run build:types",
"build:types": "cp -a ./src/types.ts ./lib/index.d.ts",
"format": "prettier --write \"./{scripts,src}/**/*.{js,ts?(x)}\"",
"format:check": "prettier --list-different \"./{scripts,src}/**/*.{js,ts?(x)}\"",
"test": "node ./scripts/test.js --env=jsdom"
},
"files": [
"lib",
"src"
],
"author": "John Flockton",
"license": "MIT",
"bugs": {
"url": "https://github.com/thegreatercurve/boomerang-socket/issues"
},
"homepage": "https://github.com/thegreatercurve/boomerang-socket#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/thegreatercurve/boomerang-socket.git"
},
"keywords": [
"websocket",
"socket",
"reconnect",
"reconnectable",
"reconnecting",
"reconnection",
"persistant",
"automatic"
],
"devDependencies": {
"@types/jest": "^22.1.1",
"coveralls": "^3.0.0",
"jest": "^22.2.1",
"prettier": "^1.10.2",
"rollup": "^0.56.3",
"rollup-plugin-typescript2": "^0.11.1",
"rollup-plugin-uglify": "^3.0.0",
"ts-jest": "^22.0.3",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.7.0",
"typescript": "^2.7.1"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/!(index|types|*.d).ts?(x)"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testEnvironment": "node",
"testMatch": [
"<rootDir>/src/**/?(*.)(spec|test).ts?(x)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"jsx",
"js",
"json"
]
},
"prettier": {
"trailingComma": "es5"
}
}