2012-09-05 20:14:36 +02:00
|
|
|
{
|
2020-12-27 18:18:34 +01:00
|
|
|
"name": "@thream/socketio-jwt",
|
2021-03-08 14:37:14 +01:00
|
|
|
"version": "2.1.0",
|
2020-12-27 18:18:34 +01:00
|
|
|
"description": "Authenticate socket.io incoming connections with JWTs.",
|
|
|
|
"license": "MIT",
|
2020-12-28 16:49:31 +01:00
|
|
|
"main": "build/index.js",
|
|
|
|
"types": "build/index.d.ts",
|
|
|
|
"files": [
|
2020-12-28 18:09:42 +01:00
|
|
|
"build"
|
2020-12-28 16:49:31 +01:00
|
|
|
],
|
|
|
|
"engines": {
|
|
|
|
"node": ">=12"
|
|
|
|
},
|
2012-09-05 20:14:36 +02:00
|
|
|
"keywords": [
|
|
|
|
"socket",
|
|
|
|
"socket.io",
|
2014-01-13 20:00:21 +01:00
|
|
|
"jwt"
|
2012-09-05 20:14:36 +02:00
|
|
|
],
|
2020-12-28 16:49:31 +01:00
|
|
|
"author": "Divlo <contact@divlo.fr>",
|
2012-09-05 20:14:36 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-12-27 18:18:34 +01:00
|
|
|
"url": "git+https://github.com/Thream/socketio-jwt"
|
|
|
|
},
|
2020-12-28 16:49:31 +01:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/Thream/socketio-jwt/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/Thream/socketio-jwt#readme",
|
2020-12-27 18:18:34 +01:00
|
|
|
"release-it": {
|
|
|
|
"git": {
|
2021-02-14 19:28:15 +01:00
|
|
|
"commit": false,
|
|
|
|
"push": false,
|
|
|
|
"tag": false
|
2020-12-27 18:18:34 +01:00
|
|
|
},
|
|
|
|
"github": {
|
|
|
|
"release": false
|
|
|
|
},
|
|
|
|
"npm": {
|
|
|
|
"publish": false
|
|
|
|
},
|
|
|
|
"hooks": {
|
|
|
|
"before:init": [
|
2021-03-19 14:07:21 +01:00
|
|
|
"npm run lint:editorconfig",
|
|
|
|
"npm run lint:markdown",
|
2020-12-27 18:18:34 +01:00
|
|
|
"npm run lint",
|
2021-02-14 19:28:15 +01:00
|
|
|
"npm run build",
|
2020-12-27 18:18:34 +01:00
|
|
|
"npm run test"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"plugins": {
|
|
|
|
"@release-it/conventional-changelog": {
|
|
|
|
"preset": "angular",
|
|
|
|
"infile": "CHANGELOG.md"
|
|
|
|
}
|
|
|
|
}
|
2012-09-05 20:14:36 +02:00
|
|
|
},
|
2020-12-28 16:49:31 +01:00
|
|
|
"jest": {
|
|
|
|
"preset": "ts-jest",
|
|
|
|
"testEnvironment": "node",
|
2020-12-29 04:05:39 +01:00
|
|
|
"rootDir": "./src",
|
|
|
|
"collectCoverage": true,
|
|
|
|
"coverageDirectory": "../coverage/"
|
2020-12-28 16:49:31 +01:00
|
|
|
},
|
|
|
|
"ts-standard": {
|
2021-03-08 14:33:53 +01:00
|
|
|
"ignore": [
|
|
|
|
"build",
|
|
|
|
"coverage",
|
|
|
|
"node_modules"
|
2020-12-28 16:49:31 +01:00
|
|
|
],
|
|
|
|
"envs": [
|
|
|
|
"node",
|
|
|
|
"jest"
|
2021-03-08 14:33:53 +01:00
|
|
|
],
|
|
|
|
"report": "stylish"
|
2020-12-28 16:49:31 +01:00
|
|
|
},
|
2012-11-16 16:43:12 +01:00
|
|
|
"scripts": {
|
2020-12-28 16:49:31 +01:00
|
|
|
"build": "rimraf ./build && tsc",
|
2021-03-19 14:07:21 +01:00
|
|
|
"lint:editorconfig": "editorconfig-checker",
|
|
|
|
"lint:markdown": "markdownlint '**/*.md' --dot --ignore node_modules",
|
2021-03-08 14:33:53 +01:00
|
|
|
"lint": "ts-standard",
|
2020-12-28 16:49:31 +01:00
|
|
|
"release": "release-it",
|
|
|
|
"test": "jest",
|
2021-02-09 20:22:40 +01:00
|
|
|
"postinstall": "husky install",
|
|
|
|
"prepublishOnly": "pinst --disable",
|
|
|
|
"postpublish": "pinst --enable"
|
2020-12-28 16:49:31 +01:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2021-01-07 14:30:37 +01:00
|
|
|
"socket.io": ">=3.0.0"
|
2012-11-16 16:43:12 +01:00
|
|
|
},
|
2012-09-05 20:14:36 +02:00
|
|
|
"dependencies": {
|
2020-12-28 18:09:42 +01:00
|
|
|
"jsonwebtoken": "8.5.1"
|
2012-11-16 16:43:12 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-04-03 09:53:19 +02:00
|
|
|
"@commitlint/cli": "12.1.1",
|
2021-04-03 09:55:26 +02:00
|
|
|
"@commitlint/config-conventional": "12.1.1",
|
2021-02-23 11:11:26 +01:00
|
|
|
"@release-it/conventional-changelog": "2.0.1",
|
2021-01-13 11:26:07 +01:00
|
|
|
"@types/express": "4.17.11",
|
2021-04-27 09:32:05 +02:00
|
|
|
"@types/jest": "26.0.23",
|
2021-03-17 18:26:01 +01:00
|
|
|
"@types/jsonwebtoken": "8.5.1",
|
2021-05-11 18:28:27 +02:00
|
|
|
"@types/node": "15.0.2",
|
2020-12-28 23:51:03 +01:00
|
|
|
"@types/server-destroy": "1.0.1",
|
|
|
|
"axios": "0.21.1",
|
2021-04-01 13:24:04 +02:00
|
|
|
"editorconfig-checker": "4.0.2",
|
2020-12-27 17:25:44 +01:00
|
|
|
"express": "4.17.1",
|
2021-03-29 18:58:23 +02:00
|
|
|
"husky": "6.0.0",
|
2020-12-28 16:49:31 +01:00
|
|
|
"jest": "26.6.3",
|
2021-03-03 13:20:58 +01:00
|
|
|
"markdownlint-cli": "0.27.1",
|
2021-02-23 11:10:52 +01:00
|
|
|
"pinst": "2.1.6",
|
2021-05-11 18:29:05 +02:00
|
|
|
"release-it": "14.6.2",
|
2020-12-28 16:49:31 +01:00
|
|
|
"rimraf": "3.0.2",
|
2020-12-28 23:51:03 +01:00
|
|
|
"server-destroy": "1.0.1",
|
2021-04-01 13:24:20 +02:00
|
|
|
"socket.io": "4.0.1",
|
2021-05-11 21:02:35 +02:00
|
|
|
"socket.io-client": "4.1.0",
|
2021-05-11 18:28:37 +02:00
|
|
|
"ts-jest": "26.5.6",
|
2020-12-28 16:49:31 +01:00
|
|
|
"ts-standard": "10.0.0",
|
2021-04-08 10:04:03 +02:00
|
|
|
"typescript": "4.2.4"
|
2012-09-05 20:14:36 +02:00
|
|
|
}
|
2019-10-13 15:52:14 +02:00
|
|
|
}
|