-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
62 lines (62 loc) · 1.78 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"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$"
}
}