mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-18 00:28:16 +09:00
✌️
This commit is contained in:
parent
8d7e6ee769
commit
b53a6bfe0c
13
.editorconfig
Normal file
13
.editorconfig
Normal 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
4985
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
28
package.json
Normal file
28
package.json
Normal 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
21
tsconfig.json
Normal 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/**/*",
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user