2012-09-05 20:14:36 +02:00
|
|
|
{
|
2020-12-27 18:18:34 +01:00
|
|
|
"name": "@thream/socketio-jwt",
|
2020-12-29 04:51:35 +01:00
|
|
|
"version": "1.0.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
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
|
|
"pre-commit": "npm run lint"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"release-it": {
|
|
|
|
"git": {
|
|
|
|
"commitMessage": "chore(release): v${version}"
|
|
|
|
},
|
|
|
|
"github": {
|
|
|
|
"release": false
|
|
|
|
},
|
|
|
|
"npm": {
|
|
|
|
"publish": false
|
|
|
|
},
|
|
|
|
"hooks": {
|
|
|
|
"before:init": [
|
|
|
|
"npm run lint",
|
|
|
|
"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": {
|
|
|
|
"files": [
|
|
|
|
"./src/**/*.ts"
|
|
|
|
],
|
|
|
|
"envs": [
|
|
|
|
"node",
|
|
|
|
"jest"
|
|
|
|
]
|
|
|
|
},
|
2012-11-16 16:43:12 +01:00
|
|
|
"scripts": {
|
2020-12-28 16:49:31 +01:00
|
|
|
"build": "rimraf ./build && tsc",
|
2020-12-28 18:09:42 +01:00
|
|
|
"lint": "exit 0",
|
2020-12-28 16:49:31 +01:00
|
|
|
"format": "ts-standard --fix | snazzy",
|
|
|
|
"release": "release-it",
|
|
|
|
"test": "jest",
|
|
|
|
"test:watchAll": "jest --watchAll",
|
|
|
|
"test:clearCache": "jest --clearCache"
|
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"socket.io": "*"
|
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": {
|
2020-12-27 18:18:34 +01:00
|
|
|
"@commitlint/cli": "11.0.0",
|
|
|
|
"@commitlint/config-conventional": "11.0.0",
|
|
|
|
"@release-it/conventional-changelog": "2.0.0",
|
2020-12-28 23:51:03 +01:00
|
|
|
"@types/express": "4.17.9",
|
2020-12-28 16:49:31 +01:00
|
|
|
"@types/jest": "26.0.19",
|
2020-12-28 18:09:42 +01:00
|
|
|
"@types/jsonwebtoken": "8.5.0",
|
2020-12-28 16:49:31 +01:00
|
|
|
"@types/node": "14.14.16",
|
2020-12-28 23:51:03 +01:00
|
|
|
"@types/server-destroy": "1.0.1",
|
|
|
|
"axios": "0.21.1",
|
2020-12-27 17:25:44 +01:00
|
|
|
"express": "4.17.1",
|
2020-12-27 18:18:34 +01:00
|
|
|
"husky": "4.3.6",
|
2020-12-28 16:49:31 +01:00
|
|
|
"jest": "26.6.3",
|
2020-12-27 18:18:34 +01:00
|
|
|
"release-it": "14.2.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",
|
2020-12-28 16:49:31 +01:00
|
|
|
"snazzy": "9.0.0",
|
2020-12-29 03:32:28 +01:00
|
|
|
"socket.io": "3.0.4",
|
|
|
|
"socket.io-client": "3.0.4",
|
2020-12-28 16:49:31 +01:00
|
|
|
"ts-jest": "26.4.4",
|
|
|
|
"ts-standard": "10.0.0",
|
|
|
|
"typescript": "4.1.3"
|
2012-09-05 20:14:36 +02:00
|
|
|
}
|
2019-10-13 15:52:14 +02:00
|
|
|
}
|