118 lines
2.6 KiB
JSON
118 lines
2.6 KiB
JSON
{
|
|
"name": "@thream/socketio-jwt",
|
|
"version": "2.1.0",
|
|
"description": "Authenticate socket.io incoming connections with JWTs.",
|
|
"license": "MIT",
|
|
"main": "build/index.js",
|
|
"types": "build/index.d.ts",
|
|
"files": [
|
|
"build"
|
|
],
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"keywords": [
|
|
"socket",
|
|
"socket.io",
|
|
"jwt"
|
|
],
|
|
"author": "Divlo <contact@divlo.fr>",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Thream/socketio-jwt"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Thream/socketio-jwt/issues"
|
|
},
|
|
"homepage": "https://github.com/Thream/socketio-jwt#readme",
|
|
"release-it": {
|
|
"git": {
|
|
"commit": false,
|
|
"push": false,
|
|
"tag": false
|
|
},
|
|
"github": {
|
|
"release": false
|
|
},
|
|
"npm": {
|
|
"publish": false
|
|
},
|
|
"hooks": {
|
|
"before:init": [
|
|
"npm run lint:editorconfig",
|
|
"npm run lint:markdown",
|
|
"npm run lint",
|
|
"npm run build",
|
|
"npm run test"
|
|
]
|
|
},
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"preset": "angular",
|
|
"infile": "CHANGELOG.md"
|
|
}
|
|
}
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node",
|
|
"rootDir": "./src",
|
|
"collectCoverage": true,
|
|
"coverageDirectory": "../coverage/"
|
|
},
|
|
"ts-standard": {
|
|
"ignore": [
|
|
"build",
|
|
"coverage",
|
|
"node_modules"
|
|
],
|
|
"envs": [
|
|
"node",
|
|
"jest"
|
|
],
|
|
"report": "stylish"
|
|
},
|
|
"scripts": {
|
|
"build": "rimraf ./build && tsc",
|
|
"lint:editorconfig": "editorconfig-checker",
|
|
"lint:markdown": "markdownlint '**/*.md' --dot --ignore node_modules",
|
|
"lint": "ts-standard",
|
|
"release": "release-it",
|
|
"test": "jest",
|
|
"postinstall": "husky install",
|
|
"prepublishOnly": "pinst --disable",
|
|
"postpublish": "pinst --enable"
|
|
},
|
|
"peerDependencies": {
|
|
"socket.io": ">=3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"jsonwebtoken": "8.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "12.1.1",
|
|
"@commitlint/config-conventional": "12.1.1",
|
|
"@release-it/conventional-changelog": "2.0.1",
|
|
"@types/express": "4.17.11",
|
|
"@types/jest": "26.0.23",
|
|
"@types/jsonwebtoken": "8.5.1",
|
|
"@types/node": "15.0.2",
|
|
"@types/server-destroy": "1.0.1",
|
|
"axios": "0.21.1",
|
|
"editorconfig-checker": "4.0.2",
|
|
"express": "4.17.1",
|
|
"husky": "6.0.0",
|
|
"jest": "26.6.3",
|
|
"markdownlint-cli": "0.27.1",
|
|
"pinst": "2.1.6",
|
|
"release-it": "14.6.2",
|
|
"rimraf": "3.0.2",
|
|
"server-destroy": "1.0.1",
|
|
"socket.io": "4.1.0",
|
|
"socket.io-client": "4.1.0",
|
|
"ts-jest": "26.5.6",
|
|
"ts-standard": "10.0.0",
|
|
"typescript": "4.2.4"
|
|
}
|
|
}
|