summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-05-16 18:22:19 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-05-16 18:22:19 +0900
commit767df5967a8be8ceda31c189824ac31402ea1ed6 (patch)
treebf6096760415668a9b5394f9ea73ab256d2e2572
parent:v: (diff)
downloadmisskey-767df5967a8be8ceda31c189824ac31402ea1ed6.tar.gz
misskey-767df5967a8be8ceda31c189824ac31402ea1ed6.tar.bz2
misskey-767df5967a8be8ceda31c189824ac31402ea1ed6.zip
tab
-rw-r--r--.editorconfig6
-rw-r--r--package.json74
-rw-r--r--tsconfig.json42
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/**/*",
+ ]
}