forked from FoundKeyGang/FoundKey
Francis Dinh
b67799ad3f
Now that Node 18 is the new LTS version of Node, it should be safe to
support ES2022 features. The install docs have already been updated to
recommend Node 18.x in 41a710854e
.
This will break support on Node 16.x and earlier.
Also update TypeScript to 4.9 which contains various typechecking
improvements: https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/
Ref: FoundKeyGang/FoundKey#238
Changelog: Changed
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "foundkey-js",
|
|
"version": "13.0.0-preview2",
|
|
"description": "Fork of misskey-js for Foundkey",
|
|
"type": "module",
|
|
"main": "./built/index.js",
|
|
"types": "./built/index.d.ts",
|
|
"scripts": {
|
|
"prepack": "yarn build",
|
|
"build": "yarn run tsc",
|
|
"tsc": "tsc",
|
|
"tsd": "tsd",
|
|
"api": "npx api-extractor run --local --verbose",
|
|
"api-prod": "npx api-extractor run --verbose",
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
"jest": "jest --coverage --detectOpenHandles",
|
|
"test": "yarn jest && yarn tsd"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/api-extractor": "^7.19.3",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/node": "18.7.16",
|
|
"@typescript-eslint/eslint-plugin": "5.36.2",
|
|
"@typescript-eslint/parser": "^5.36.2",
|
|
"eslint": "^8.23.0",
|
|
"jest": "^27.4.5",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"jest-websocket-mock": "^2.2.1",
|
|
"mock-socket": "^9.0.8",
|
|
"ts-jest": "^27.1.5",
|
|
"ts-node": "10.9.1",
|
|
"tsd": "^0.23.0",
|
|
"typescript": "^4.9.3"
|
|
},
|
|
"files": [
|
|
"built"
|
|
],
|
|
"dependencies": {
|
|
"autobind-decorator": "^2.4.0",
|
|
"eventemitter3": "^4.0.7",
|
|
"reconnecting-websocket": "^4.4.0"
|
|
}
|
|
}
|