2012-09-05 20:14:36 +02:00
|
|
|
{
|
2020-12-27 18:18:34 +01:00
|
|
|
"name": "@thream/socketio-jwt",
|
2021-01-28 19:16:53 +01:00
|
|
|
"version": "1.1.1",
|
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": [
|
|
|
|
"npm run lint",
|
2021-02-14 19:28:15 +01:00
|
|
|
"npm run markdownlint",
|
|
|
|
"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": {
|
|
|
|
"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",
|
2021-02-14 19:28:15 +01:00
|
|
|
"markdownlint": "markdownlint '**/*.md' --ignore node_modules",
|
2021-01-01 04:42:06 +01:00
|
|
|
"lint": "ts-standard | snazzy",
|
2020-12-28 16:49:31 +01:00
|
|
|
"format": "ts-standard --fix | snazzy",
|
|
|
|
"release": "release-it",
|
|
|
|
"test": "jest",
|
|
|
|
"test:watchAll": "jest --watchAll",
|
2021-02-09 20:22:40 +01:00
|
|
|
"test:clearCache": "jest --clearCache",
|
|
|
|
"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": {
|
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",
|
2021-01-13 11:26:07 +01:00
|
|
|
"@types/express": "4.17.11",
|
2021-01-07 14:30:37 +01:00
|
|
|
"@types/jest": "26.0.20",
|
2020-12-28 18:09:42 +01:00
|
|
|
"@types/jsonwebtoken": "8.5.0",
|
2021-02-19 09:24:50 +01:00
|
|
|
"@types/node": "14.14.30",
|
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",
|
2021-02-22 11:09:01 +01:00
|
|
|
"husky": "5.1.0",
|
2020-12-28 16:49:31 +01:00
|
|
|
"jest": "26.6.3",
|
2021-02-14 19:28:15 +01:00
|
|
|
"markdownlint-cli": "0.26.0",
|
2021-02-09 20:22:40 +01:00
|
|
|
"pinst": "2.1.4",
|
2021-02-22 11:09:26 +01:00
|
|
|
"release-it": "14.4.1",
|
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",
|
2021-02-04 13:37:42 +01:00
|
|
|
"socket.io": "3.1.1",
|
2021-02-04 13:36:00 +01:00
|
|
|
"socket.io-client": "3.1.1",
|
2021-02-10 12:20:15 +01:00
|
|
|
"ts-jest": "26.5.1",
|
2020-12-28 16:49:31 +01:00
|
|
|
"ts-standard": "10.0.0",
|
2021-02-11 09:58:40 +01:00
|
|
|
"typescript": "4.1.5"
|
2012-09-05 20:14:36 +02:00
|
|
|
}
|
2019-10-13 15:52:14 +02:00
|
|
|
}
|