94 lines
2.6 KiB
JSON
94 lines
2.6 KiB
JSON
{
|
|
"name": "@thream/socketio-jwt",
|
|
"version": "0.0.0-development",
|
|
"type": "module",
|
|
"public": true,
|
|
"description": "Authenticate socket.io incoming connections with JWTs.",
|
|
"license": "MIT",
|
|
"main": "build/index.js",
|
|
"types": "build/index.d.ts",
|
|
"files": [
|
|
"build",
|
|
"!**/*.test.js",
|
|
"!**/*.test.d.ts",
|
|
"!**/*.map"
|
|
],
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"npm": ">=9.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"keywords": [
|
|
"socket",
|
|
"socket.io",
|
|
"jwt"
|
|
],
|
|
"author": "Théo LUDWIG <contact@theoludwig.fr>",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Thream/socketio-jwt"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Thream/socketio-jwt/issues"
|
|
},
|
|
"homepage": "https://github.com/Thream/socketio-jwt#readme",
|
|
"scripts": {
|
|
"build": "rimraf ./build && swc ./src --out-dir ./build",
|
|
"build:dev": "swc ./src --out-dir ./build --watch",
|
|
"build:typescript": "tsc",
|
|
"lint:commit": "commitlint",
|
|
"lint:editorconfig": "editorconfig-checker",
|
|
"lint:markdown": "markdownlint-cli2",
|
|
"lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --ignore-path .gitignore",
|
|
"lint:prettier": "prettier . --check",
|
|
"lint:staged": "lint-staged",
|
|
"test": "cross-env NODE_ENV=test node --enable-source-maps --test build/",
|
|
"release": "semantic-release",
|
|
"postinstall": "husky install",
|
|
"prepublishOnly": "pinst --disable",
|
|
"postpublish": "pinst --enable"
|
|
},
|
|
"peerDependencies": {
|
|
"socket.io": ">=3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"jsonwebtoken": "9.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "18.0.0",
|
|
"@commitlint/config-conventional": "18.0.0",
|
|
"@swc/cli": "0.1.62",
|
|
"@swc/core": "1.3.94",
|
|
"@tsconfig/strictest": "2.0.2",
|
|
"@types/jsonwebtoken": "9.0.4",
|
|
"@types/node": "20.8.7",
|
|
"@typescript-eslint/eslint-plugin": "6.9.0",
|
|
"@typescript-eslint/parser": "6.9.0",
|
|
"axios": "1.5.1",
|
|
"cross-env": "7.0.3",
|
|
"editorconfig-checker": "5.1.1",
|
|
"eslint": "8.52.0",
|
|
"eslint-config-conventions": "12.0.0",
|
|
"eslint-config-prettier": "9.0.0",
|
|
"eslint-plugin-import": "2.29.0",
|
|
"eslint-plugin-prettier": "5.0.1",
|
|
"eslint-plugin-promise": "6.1.1",
|
|
"eslint-plugin-unicorn": "48.0.1",
|
|
"fastify": "4.24.3",
|
|
"husky": "8.0.3",
|
|
"lint-staged": "15.0.2",
|
|
"markdownlint-cli2": "0.10.0",
|
|
"markdownlint-rule-relative-links": "2.1.0",
|
|
"pinst": "3.0.0",
|
|
"prettier": "3.0.3",
|
|
"rimraf": "5.0.5",
|
|
"semantic-release": "22.0.5",
|
|
"socket.io": "4.7.2",
|
|
"socket.io-client": "4.7.2",
|
|
"typescript": "5.2.2"
|
|
}
|
|
}
|