This commit is contained in:
syuilo 2021-05-16 18:22:19 +09:00
parent 2f8f6431d1
commit 767df5967a
3 changed files with 58 additions and 64 deletions

View File

@ -5,9 +5,3 @@ indent_style = tab
indent_size = 2 indent_size = 2
charset = utf-8 charset = utf-8
insert_final_newline = true insert_final_newline = true
[*.json]
indent_style = space
[*.yml]
indent_style = space

View File

@ -1,39 +1,39 @@
{ {
"name": "misskey-js", "name": "misskey-js",
"version": "0.0.0", "version": "0.0.0",
"description": "Misskey SDK for JavaScript", "description": "Misskey SDK for JavaScript",
"main": "./built/index.js", "main": "./built/index.js",
"types": "./built/index.d.ts", "types": "./built/index.d.ts",
"scripts": { "scripts": {
"build": "npm run tsc", "build": "npm run tsc",
"tsc": "tsc", "tsc": "tsc",
"tsd": "tsd", "tsd": "tsd",
"jest": "jest", "jest": "jest",
"test": "npm run jest && npm run tsd" "test": "npm run jest && npm run tsd"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/misskey-dev/misskey.js.git" "url": "git+https://github.com/misskey-dev/misskey.js.git"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "^26.0.23", "@types/jest": "^26.0.23",
"@types/node": "14.14.x", "@types/node": "14.14.x",
"jest": "^26.6.3", "jest": "^26.6.3",
"jest-fetch-mock": "^3.0.3", "jest-fetch-mock": "^3.0.3",
"jest-websocket-mock": "^2.2.0", "jest-websocket-mock": "^2.2.0",
"mock-socket": "^9.0.3", "mock-socket": "^9.0.3",
"ts-jest": "^26.5.6", "ts-jest": "^26.5.6",
"ts-node": "9.1.x", "ts-node": "9.1.x",
"tsd": "^0.14.0", "tsd": "^0.14.0",
"typescript": "4.2.x" "typescript": "4.2.x"
}, },
"files": [ "files": [
"built" "built"
], ],
"dependencies": { "dependencies": {
"@vue/reactivity": "^3.0.11", "@vue/reactivity": "^3.0.11",
"autobind-decorator": "^2.4.0", "autobind-decorator": "^2.4.0",
"eventemitter3": "^4.0.7", "eventemitter3": "^4.0.7",
"reconnecting-websocket": "^4.4.0" "reconnecting-websocket": "^4.4.0"
} }
} }

View File

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