UNPKG

import-sort-style-custom

Version:

Sort your imports using import-sort with aliases and custom configurations

121 lines (120 loc) 2.82 kB
{ "name": "import-sort-style-custom", "version": "2.1.2", "description": "Sort your imports using import-sort with aliases and custom configurations", "keywords": [ "import-sort", "prettier", "sort", "tsconfig", "style" ], "license": "MIT", "author": { "name": "Ifiok Jr.", "email": "ifiokotung@gmail.com", "url": "https://ifiokjr.com" }, "files": [ "dist", "src" ], "main": "dist/index.js", "module": "dist/import-sort-style-custom.esm.js", "typings": "dist/index.d.ts", "scripts": { "build": "tsdx build", "lint": "tsdx lint", "prepare": "tsdx build", "start": "tsdx watch", "test": "tsdx test" }, "husky": { "hooks": { "pre-commit": "tsdx lint", "pre-push": "yarn tsc --noEmit && yarn lint && yarn test" } }, "prettier": { "plugins": [ "./node_modules/prettier-plugin-sorted", "./node_modules/prettier-plugin-packagejson" ], "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "all" }, "resolutions": { "mem": ">=4", "minimist": ">=1.2.2" }, "dependencies": { "escape-string-regexp": "^2.0.0", "import-sort-parser": "^6.0.0", "import-sort-style": "^6.0.0", "tsconfig-resolver": "^2.2.0" }, "devDependencies": { "@semantic-release/changelog": "^5.0.0", "@semantic-release/git": "^9.0.0", "@types/jest": "^25.1.4", "conventional-changelog-conventionalcommits": "^4.2.3", "husky": "^4.2.3", "import-sort": "^6.0.0", "import-sort-parser-typescript": "^6.0.0", "lint-staged": "^10.0.8", "prettier-plugin-packagejson": "^2.0.10", "prettier-plugin-sorted": "^1.1.0", "semantic-release": "^17.0.4", "tsdx": "^0.12.3", "tslib": "^1.11.1", "typescript": "^3.8.3" }, "importSort": { ".ts,.tsx": { "options": { "cacheStrategy": "directory", "wildcardAtStart": false, "ignoredAliases": [], "extraAliases": [ "@my-alias", "simple" ], "bottomAliases": [ "@bottom", "./relative/bottom" ] } } }, "release": { "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "conventionalcommits" } ], [ "@semantic-release/release-notes-generator", { "preset": "conventionalcommits" } ], "@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/github", [ "@semantic-release/git", { "assets": [ "package.json", "CHANGELOG.md" ], "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ] ] } }