0
0
This commit is contained in:
syuilo 2021-05-12 23:29:17 +09:00
parent 8d7e6ee769
commit b53a6bfe0c
4 changed files with 5047 additions and 0 deletions

13
.editorconfig Normal file
View File

@ -0,0 +1,13 @@
root = true
[*]
indent_style = tab
indent_size = 2
charset = utf-8
insert_final_newline = true
[*.json]
indent_style = space
[*.yml]
indent_style = space

4985
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

28
package.json Normal file
View File

@ -0,0 +1,28 @@
{
"name": "misskey-js",
"version": "0.0.0",
"description": "Misskey SDK for JavaScript",
"main": "./built/index.js",
"types": "./built/index.d.ts",
"scripts": {
"build": "npm run tsc",
"tsc": "tsc",
"tsd": "tsd",
"test": "mocha -r ts-node/register 'test/**/*.ts' && npm run tsd"
},
"repository": {
"type": "git",
"url": "git+https://github.com/misskey-dev/misskey.js.git"
},
"devDependencies": {
"@types/mocha": "8.2.x",
"@types/node": "14.14.x",
"mocha": "8.3.x",
"ts-node": "9.1.x",
"tsd": "^0.14.0",
"typescript": "4.2.x"
},
"files": [
"built"
]
}

21
tsconfig.json Normal file
View File

@ -0,0 +1,21 @@
{
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"declaration": true,
"outDir": "./built/",
"rootDir": "./src/",
"removeComments": true,
"strict": true,
"strictFunctionTypes": true,
"noImplicitReturns": true,
"esModuleInterop": true,
},
"include": [
"src/**/*",
],
"exclude": [
"node_modules",
"test/**/*",
]
}