116 lines
2.6 KiB
JSON
116 lines
2.6 KiB
JSON
{
|
|
"name": "@thream/socketio-jwt",
|
|
"version": "2.0.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",
|
|
"npm run markdownlint",
|
|
"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": {
|
|
"files": [
|
|
"./src/**/*.ts"
|
|
],
|
|
"envs": [
|
|
"node",
|
|
"jest"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build": "rimraf ./build && tsc",
|
|
"markdownlint": "markdownlint '**/*.md' --ignore node_modules",
|
|
"lint": "ts-standard | snazzy",
|
|
"format": "ts-standard --fix | snazzy",
|
|
"release": "release-it",
|
|
"test": "jest",
|
|
"test:watchAll": "jest --watchAll",
|
|
"test:clearCache": "jest --clearCache",
|
|
"postinstall": "husky install",
|
|
"prepublishOnly": "pinst --disable",
|
|
"postpublish": "pinst --enable"
|
|
},
|
|
"peerDependencies": {
|
|
"socket.io": ">=3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"jsonwebtoken": "8.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "11.0.0",
|
|
"@commitlint/config-conventional": "11.0.0",
|
|
"@release-it/conventional-changelog": "2.0.0",
|
|
"@types/express": "4.17.11",
|
|
"@types/jest": "26.0.20",
|
|
"@types/jsonwebtoken": "8.5.0",
|
|
"@types/node": "14.14.31",
|
|
"@types/server-destroy": "1.0.1",
|
|
"axios": "0.21.1",
|
|
"express": "4.17.1",
|
|
"husky": "5.1.0",
|
|
"jest": "26.6.3",
|
|
"markdownlint-cli": "0.26.0",
|
|
"pinst": "2.1.4",
|
|
"release-it": "14.4.1",
|
|
"rimraf": "3.0.2",
|
|
"server-destroy": "1.0.1",
|
|
"snazzy": "9.0.0",
|
|
"socket.io": "3.1.1",
|
|
"socket.io-client": "3.1.1",
|
|
"ts-jest": "26.5.1",
|
|
"ts-standard": "10.0.0",
|
|
"typescript": "4.1.5"
|
|
}
|
|
}
|