UNPKG

@phenomnomnominal/tsquery

Version:

Query TypeScript ASTs with the esquery API!

62 lines 1.82 kB
{ "name": "@phenomnomnominal/tsquery", "version": "6.1.3", "description": "Query TypeScript ASTs with the esquery API!", "main": "dist/src/index.js", "typings": "dist/src/index.d.ts", "author": "Craig Spence <craigspence0@gmail.com>", "repository": { "type": "git", "url": "https://github.com/phenomnomnominal/tsquery" }, "license": "MIT", "scripts": { "build": "npm run clean && npm run compile && npm run lint && npm run test", "clean": "rimraf dist", "compile": "tsc", "lint": "npm run lint:src && npm run lint:test", "lint:src": "eslint src/**/*.ts", "lint:test": "eslint test/**/*.ts", "lint:fix": "npm run lint:src:fix && npm run lint:test", "lint:src:fix": "eslint src/**/*.ts --fix", "lint:test:fix": "eslint test/**/*.ts --fix", "test": "jest", "test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --collectCoverage=false", "prepublishOnly": "npm run build" }, "dependencies": { "@types/esquery": "^1.5.0", "esquery": "^1.5.0" }, "peerDependencies": { "typescript": "^3 || ^4 || ^5" }, "files": [ "dist/src" ], "devDependencies": { "@types/jest": "^29.5.2", "@types/node": "^20.4.0", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", "eslint": "^8.44.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-import": "^2.26.0", "jest": "^29.6.1", "prettier": "^3.0.0", "rimraf": "^3.0.2", "ts-jest": "^29.1.1", "typescript": "^5.1.6" }, "jest": { "collectCoverage": true, "collectCoverageFrom": [ "<rootDir>/src/**" ], "coverageDirectory": "<rootDir>/reports/coverage", "transform": { "\\.(ts)$": "ts-jest" }, "testRegex": "/test/.*\\.spec\\.ts$" } }