-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
50 lines (50 loc) · 1.35 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": "@github/stable-socket",
"version": "1.0.0",
"description": "A web socket that reconnects.",
"main": "dist/index.js",
"type": "module",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"repository": "github/stable-socket",
"files": [
"dist/index.js",
"dist/*.d.ts"
],
"scripts": {
"clean": "rm -rf dist",
"lint": "eslint src/*.ts test/*.js",
"prebuild": "npm run clean && npm run compile",
"compile": "tsc",
"build": "rollup -c",
"pretest": "npm run build",
"test": "npm run lint && karma start karma.config.cjs",
"prepublishOnly": "npm run build",
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
},
"prettier": "@github/prettier-config",
"devDependencies": {
"@github/prettier-config": "0.0.6",
"chai": "^4.1.2",
"chromium": "^3.0.3",
"eslint": "^8.0.1",
"eslint-plugin-github": "^5.0.2",
"karma": "^6.4.4",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^10.7.3",
"nodejs-websocket": "^1.7.2",
"rollup": "^4.24.0",
"typescript": "^5.6.3"
},
"eslintConfig": {
"extends": [
"plugin:github/browser",
"plugin:github/recommended",
"plugin:github/typescript"
]
}
}