From 767df5967a8be8ceda31c189824ac31402ea1ed6 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 16 May 2021 18:22:19 +0900 Subject: [PATCH] tab --- .editorconfig | 6 ----- package.json | 74 +++++++++++++++++++++++++-------------------------- tsconfig.json | 42 ++++++++++++++--------------- 3 files changed, 58 insertions(+), 64 deletions(-) diff --git a/.editorconfig b/.editorconfig index 13791d24e6..da178f0707 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,9 +5,3 @@ indent_style = tab indent_size = 2 charset = utf-8 insert_final_newline = true - -[*.json] -indent_style = space - -[*.yml] -indent_style = space diff --git a/package.json b/package.json index aac498417b..78e77c3c4a 100644 --- a/package.json +++ b/package.json @@ -1,39 +1,39 @@ { - "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", - "jest": "jest", - "test": "npm run jest && npm run tsd" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/misskey-dev/misskey.js.git" - }, - "devDependencies": { - "@types/jest": "^26.0.23", - "@types/node": "14.14.x", - "jest": "^26.6.3", - "jest-fetch-mock": "^3.0.3", - "jest-websocket-mock": "^2.2.0", - "mock-socket": "^9.0.3", - "ts-jest": "^26.5.6", - "ts-node": "9.1.x", - "tsd": "^0.14.0", - "typescript": "4.2.x" - }, - "files": [ - "built" - ], - "dependencies": { - "@vue/reactivity": "^3.0.11", - "autobind-decorator": "^2.4.0", - "eventemitter3": "^4.0.7", - "reconnecting-websocket": "^4.4.0" - } + "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", + "jest": "jest", + "test": "npm run jest && npm run tsd" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/misskey-dev/misskey.js.git" + }, + "devDependencies": { + "@types/jest": "^26.0.23", + "@types/node": "14.14.x", + "jest": "^26.6.3", + "jest-fetch-mock": "^3.0.3", + "jest-websocket-mock": "^2.2.0", + "mock-socket": "^9.0.3", + "ts-jest": "^26.5.6", + "ts-node": "9.1.x", + "tsd": "^0.14.0", + "typescript": "4.2.x" + }, + "files": [ + "built" + ], + "dependencies": { + "@vue/reactivity": "^3.0.11", + "autobind-decorator": "^2.4.0", + "eventemitter3": "^4.0.7", + "reconnecting-websocket": "^4.4.0" + } } diff --git a/tsconfig.json b/tsconfig.json index f882a54c73..65fd494446 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,23 +1,23 @@ { - "compilerOptions": { - "target": "es2017", - "module": "commonjs", - "declaration": true, - "outDir": "./built/", - "rootDir": "./src/", - "removeComments": true, - "strict": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "experimentalDecorators": true, - "noImplicitReturns": true, - "esModuleInterop": true, - }, - "include": [ - "src/**/*", - ], - "exclude": [ - "node_modules", - "test/**/*", - ] + "compilerOptions": { + "target": "es2017", + "module": "commonjs", + "declaration": true, + "outDir": "./built/", + "rootDir": "./src/", + "removeComments": true, + "strict": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "experimentalDecorators": true, + "noImplicitReturns": true, + "esModuleInterop": true, + }, + "include": [ + "src/**/*", + ], + "exclude": [ + "node_modules", + "test/**/*", + ] }