antler
Version:
Directory structure linter
83 lines (82 loc) • 2.1 kB
JSON
{
"name": "antler",
"version": "0.2.0",
"description": "Directory structure linter",
"main": "dist/index.js",
"bin": "dist/cli.js",
"scripts": {
"dist": "rm -rf dist && mkdir -p dist && tsc --project tsconfig.dist.json && chmod +x dist/cli.js",
"typecheck": "tsc --noEmit --project tsconfig.json",
"format": "prettier --write .",
"format-check": "prettier --check .",
"lint": "eslint '**/*.{ts,tsx,js,jsx}'",
"tests": "jest --coverage --runInBand",
"test": "npm run typecheck && npm run format-check && npm run lint && npm run tests",
"prepublishOnly": "npm run dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jakesidsmith/antler.git"
},
"keywords": [
"directory",
"structure",
"linter",
"linting",
"folder",
"directories",
"folders",
"enforce"
],
"author": "Jake 'Sid' Smith",
"license": "MIT",
"bugs": {
"url": "https://github.com/jakesidsmith/antler/issues"
},
"homepage": "https://github.com/jakesidsmith/antler#readme",
"dependencies": {
"chalk": "^2.4.1"
},
"devDependencies": {
"@types/jest": "^29.1.1",
"@types/node": "^16.11.62",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.1.2",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.(js|jsx|ts|tsx)"
],
"setupFiles": [
"<rootDir>/tests/__helpers__/setup.ts"
],
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 50,
"lines": 50,
"statements": 50
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/tests/.*|\\.(test|spec))\\.(ts|tsx|js|jsx)$",
"testPathIgnorePatterns": [
"<rootDir>/tests/__helpers__/",
"<rootDir>/tests/__mocks__/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
]
}
}