1 | {
|
2 | "name": "@phenomnomnominal/tsquery",
|
3 | "version": "6.1.3",
|
4 | "description": "Query TypeScript ASTs with the esquery API!",
|
5 | "main": "dist/src/index.js",
|
6 | "typings": "dist/src/index.d.ts",
|
7 | "author": "Craig Spence <craigspence0@gmail.com>",
|
8 | "repository": {
|
9 | "type": "git",
|
10 | "url": "https://github.com/phenomnomnominal/tsquery"
|
11 | },
|
12 | "license": "MIT",
|
13 | "scripts": {
|
14 | "build": "npm run clean && npm run compile && npm run lint && npm run test",
|
15 | "clean": "rimraf dist",
|
16 | "compile": "tsc",
|
17 | "lint": "npm run lint:src && npm run lint:test",
|
18 | "lint:src": "eslint src/**/*.ts",
|
19 | "lint:test": "eslint test/**/*.ts",
|
20 | "lint:fix": "npm run lint:src:fix && npm run lint:test",
|
21 | "lint:src:fix": "eslint src/**/*.ts --fix",
|
22 | "lint:test:fix": "eslint test/**/*.ts --fix",
|
23 | "test": "jest",
|
24 | "test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --collectCoverage=false",
|
25 | "prepublishOnly": "npm run build"
|
26 | },
|
27 | "dependencies": {
|
28 | "@types/esquery": "^1.5.0",
|
29 | "esquery": "^1.5.0"
|
30 | },
|
31 | "peerDependencies": {
|
32 | "typescript": "^3 || ^4 || ^5"
|
33 | },
|
34 | "files": [
|
35 | "dist/src"
|
36 | ],
|
37 | "devDependencies": {
|
38 | "@types/jest": "^29.5.2",
|
39 | "@types/node": "^20.4.0",
|
40 | "@typescript-eslint/eslint-plugin": "^5.61.0",
|
41 | "@typescript-eslint/parser": "^5.61.0",
|
42 | "eslint": "^8.44.0",
|
43 | "eslint-config-prettier": "^8.8.0",
|
44 | "eslint-plugin-import": "^2.26.0",
|
45 | "jest": "^29.6.1",
|
46 | "prettier": "^3.0.0",
|
47 | "rimraf": "^3.0.2",
|
48 | "ts-jest": "^29.1.1",
|
49 | "typescript": "^5.1.6"
|
50 | },
|
51 | "jest": {
|
52 | "collectCoverage": true,
|
53 | "collectCoverageFrom": [
|
54 | "<rootDir>/src/**"
|
55 | ],
|
56 | "coverageDirectory": "<rootDir>/reports/coverage",
|
57 | "transform": {
|
58 | "\\.(ts)$": "ts-jest"
|
59 | },
|
60 | "testRegex": "/test/.*\\.spec\\.ts$"
|
61 | }
|
62 | } |
\ | No newline at end of file |