📝 4 Space prettier config

This commit is contained in:
ful1e5 2021-01-26 12:57:11 +05:30
parent 2213fa761a
commit 17d3bcf31a
4 changed files with 105 additions and 101 deletions

4
.prettierrc Normal file
View file

@ -0,0 +1,4 @@
{
"tabWidth": 4,
"useTabs": false
}

View file

@ -1,102 +1,102 @@
{ {
"all_scroll": { "xhot": 100, "yhot": 100 }, "all_scroll": { "xhot": 100, "yhot": 100 },
"bottom_left_corner": { "xhot": 100, "yhot": 100 }, "bottom_left_corner": { "xhot": 100, "yhot": 100 },
"fd_double_arrow": { "xhot": 100, "yhot": 100 }, "fd_double_arrow": { "xhot": 100, "yhot": 100 },
"top_right_corner": { "xhot": 100, "yhot": 100 }, "top_right_corner": { "xhot": 100, "yhot": 100 },
"bottom_right_corner": { "xhot": 100, "yhot": 100 }, "bottom_right_corner": { "xhot": 100, "yhot": 100 },
"bd_double_arrow": { "xhot": 100, "yhot": 100 }, "bd_double_arrow": { "xhot": 100, "yhot": 100 },
"top_left_corner": { "xhot": 100, "yhot": 100 }, "top_left_corner": { "xhot": 100, "yhot": 100 },
"bottom_tee": { "xhot": 141, "yhot": 99 }, "bottom_tee": { "xhot": 141, "yhot": 99 },
"center_ptr": { "xhot": 61, "yhot": 100 }, "center_ptr": { "xhot": 61, "yhot": 100 },
"circle": { "xhot": 47, "yhot": 39 }, "circle": { "xhot": 47, "yhot": 39 },
"crossed_circle": { "xhot": 47, "yhot": 39 }, "crossed_circle": { "xhot": 47, "yhot": 39 },
"dnd_no_drop": { "xhot": 47, "yhot": 39 }, "dnd_no_drop": { "xhot": 47, "yhot": 39 },
"context_menu": { "xhot": 61, "yhot": 58 }, "context_menu": { "xhot": 61, "yhot": 58 },
"copy": { "xhot": 47, "yhot": 39 }, "copy": { "xhot": 47, "yhot": 39 },
"dnd_copy": { "xhot": 47, "yhot": 39 }, "dnd_copy": { "xhot": 47, "yhot": 39 },
"cross": { "xhot": 100, "yhot": 100 }, "cross": { "xhot": 100, "yhot": 100 },
"tcross": { "xhot": 100, "yhot": 100 }, "tcross": { "xhot": 100, "yhot": 100 },
"crosshair": { "xhot": 100, "yhot": 100 }, "crosshair": { "xhot": 100, "yhot": 100 },
"dotbox": { "xhot": 100, "yhot": 100 }, "dotbox": { "xhot": 100, "yhot": 100 },
"hand1": { "xhot": 94, "yhot": 105 }, "hand1": { "xhot": 94, "yhot": 105 },
"hand2": { "xhot": 66, "yhot": 34 }, "hand2": { "xhot": 66, "yhot": 34 },
"left_ptr": { "xhot": 68, "yhot": 41 }, "left_ptr": { "xhot": 68, "yhot": 41 },
"left_side": { "xhot": 100, "yhot": 100 }, "left_side": { "xhot": 100, "yhot": 100 },
"right_side": { "xhot": 100, "yhot": 100 }, "right_side": { "xhot": 100, "yhot": 100 },
"left_tee": { "xhot": 100, "yhot": 58 }, "left_tee": { "xhot": 100, "yhot": 58 },
"link": { "xhot": 61, "yhot": 105 }, "link": { "xhot": 61, "yhot": 105 },
"dnd_link": { "xhot": 61, "yhot": 105 }, "dnd_link": { "xhot": 61, "yhot": 105 },
"ll_angle": { "xhot": 141, "yhot": 58 }, "ll_angle": { "xhot": 141, "yhot": 58 },
"lr_angle": { "xhot": 141, "yhot": 138 }, "lr_angle": { "xhot": 141, "yhot": 138 },
"move": { "xhot": 80, "yhot": 106 }, "move": { "xhot": 80, "yhot": 106 },
"dnd_move": { "xhot": 80, "yhot": 106 }, "dnd_move": { "xhot": 80, "yhot": 106 },
"dnd_none": { "xhot": 80, "yhot": 106 }, "dnd_none": { "xhot": 80, "yhot": 106 },
"grabbing": { "xhot": 80, "yhot": 106 }, "grabbing": { "xhot": 80, "yhot": 106 },
"pointer_move": { "xhot": 80, "yhot": 106 }, "pointer_move": { "xhot": 80, "yhot": 106 },
"pencil": { "xhot": 141, "yhot": 58 }, "pencil": { "xhot": 141, "yhot": 58 },
"plus": { "xhot": 100, "yhot": 100 }, "plus": { "xhot": 100, "yhot": 100 },
"question_arrow": { "xhot": 105, "yhot": 105 }, "question_arrow": { "xhot": 105, "yhot": 105 },
"dnd_ask": { "xhot": 105, "yhot": 105 }, "dnd_ask": { "xhot": 105, "yhot": 105 },
"right_ptr": { "xhot": 61, "yhot": 138 }, "right_ptr": { "xhot": 61, "yhot": 138 },
"right_tee": { "xhot": 100, "yhot": 138 }, "right_tee": { "xhot": 100, "yhot": 138 },
"sb_down_arrow": { "xhot": 133, "yhot": 99 }, "sb_down_arrow": { "xhot": 133, "yhot": 99 },
"sb_h_double_arrow": { "xhot": 100, "yhot": 100 }, "sb_h_double_arrow": { "xhot": 100, "yhot": 100 },
"sb_left_arrow": { "xhot": 100, "yhot": 68 }, "sb_left_arrow": { "xhot": 100, "yhot": 68 },
"sb_right_arrow": { "xhot": 100, "yhot": 138 }, "sb_right_arrow": { "xhot": 100, "yhot": 138 },
"sb_up_arrow": { "xhot": 68, "yhot": 99 }, "sb_up_arrow": { "xhot": 68, "yhot": 99 },
"sb_v_double_arrow": { "xhot": 100, "yhot": 100 }, "sb_v_double_arrow": { "xhot": 100, "yhot": 100 },
"top_side": { "xhot": 100, "yhot": 100 }, "top_side": { "xhot": 100, "yhot": 100 },
"bottom_side": { "xhot": 100, "yhot": 100 }, "bottom_side": { "xhot": 100, "yhot": 100 },
"top_tee": { "xhot": 61, "yhot": 99 }, "top_tee": { "xhot": 61, "yhot": 99 },
"ul_angle": { "xhot": 61, "yhot": 65 }, "ul_angle": { "xhot": 61, "yhot": 65 },
"ur_angle": { "xhot": 61, "yhot": 138 }, "ur_angle": { "xhot": 61, "yhot": 138 },
"vertical_text": { "xhot": 100, "yhot": 102 }, "vertical_text": { "xhot": 100, "yhot": 102 },
"wait": { "xhot": 104, "yhot": 105 }, "wait": { "xhot": 104, "yhot": 105 },
"left_ptr_watch": { "xhot": 104, "yhot": 105 }, "left_ptr_watch": { "xhot": 104, "yhot": 105 },
"wayland_cursor": { "xhot": 100, "yhot": 100 }, "wayland_cursor": { "xhot": 100, "yhot": 100 },
"x_cursor": { "xhot": 100, "yhot": 100 }, "x_cursor": { "xhot": 100, "yhot": 100 },
"xterm": { "xhot": 97, "yhot": 97 }, "xterm": { "xhot": 97, "yhot": 97 },
"zoom_in": { "xhot": 76, "yhot": 78 }, "zoom_in": { "xhot": 76, "yhot": 78 },
"zoom_out": { "xhot": 76, "yhot": 78 } "zoom_out": { "xhot": 76, "yhot": 78 }
} }

View file

@ -1,13 +1,13 @@
{ {
"restartable": "rs", "restartable": "rs",
"ignore": [".git", "node_modules/**/node_modules"], "ignore": [".git", "node_modules/**/node_modules"],
"verbose": true, "verbose": true,
"execMap": { "execMap": {
"ts": "node --require ts-node/register" "ts": "node --require ts-node/register"
}, },
"watch": ["src/"], "watch": ["src/"],
"env": { "env": {
"NODE_ENV": "development" "NODE_ENV": "development"
}, },
"ext": "js,json,ts" "ext": "js,json,ts"
} }

View file

@ -1,33 +1,33 @@
{ {
"name": "apple_cursor", "name": "apple_cursor",
"version": "1.0.6", "version": "1.0.6",
"description": "🍎 macOS Cursor Theme", "description": "🍎 macOS Cursor Theme",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"clean": "rm -rf bitmaps themes", "clean": "rm -rf bitmaps themes",
"dev": "nodemon src/index.ts", "dev": "nodemon src/index.ts",
"watch": "nodemon --inspect src/index.ts", "watch": "nodemon --inspect src/index.ts",
"py_install": "pip install -r requirements.txt", "py_install": "pip install -r requirements.txt",
"render": "npx ts-node src/index.ts", "render": "yarn ts-node src/index.ts",
"build": "python build.py", "build": "python build.py",
"compile": "yarn clean && yarn render && yarn build" "compile": "yarn clean && yarn render && yarn build"
}, },
"repository": "git@github.com:ful1e5/apple_cursor.git", "repository": "git@github.com:ful1e5/apple_cursor.git",
"author": "Kaiz Khatri", "author": "Kaiz Khatri",
"license": "GPL-3.0", "license": "GPL-3.0",
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"@types/puppeteer": "^3.0.1", "@types/pixelmatch": "^5.2.2",
"nodemon": "^2.0.4", "@types/pngjs": "^3.4.2",
"ts-node": "^8.10.2", "@types/puppeteer": "^3.0.1",
"tslint": "^6.1.2", "nodemon": "^2.0.4",
"typescript": "^3.9.7" "ts-node": "^8.10.2",
}, "tslint": "^6.1.2",
"dependencies": { "typescript": "^3.9.7"
"@types/pixelmatch": "^5.2.1", },
"@types/pngjs": "^3.4.2", "dependencies": {
"pixelmatch": "^5.2.1", "pixelmatch": "^5.2.1",
"pngjs": "^5.0.0", "pngjs": "^6.0.0",
"puppeteer": "^5.2.1" "puppeteer": "^5.2.1"
} }
} }