UNPKG

1.97 kBJSONView Raw
1{
2 "name": "@phenomnomnominal/tsquery",
3 "version": "4.1.1",
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": "tslint --project ./tsconfig.json -c ./tslint.json 'src/**/*.ts'",
19 "lint:test": "tslint --project ./tsconfig.json -c ./tslint.json 'test/**/*.ts'",
20 "lint:fix": "npm run lint:src:fix && npm run lint:test",
21 "lint:src:fix": "tslint -c tslint.json 'src/**/*.ts' --fix",
22 "lint:test:fix": "tslint -c tslint.json 'test/**/*.ts' --fix",
23 "test": "jest",
24 "test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand",
25 "prepublishOnly": "npm run build"
26 },
27 "dependencies": {
28 "esquery": "^1.0.1"
29 },
30 "peerDependencies": {
31 "typescript": "^3 || ^4"
32 },
33 "files": [
34 "dist/src"
35 ],
36 "devDependencies": {
37 "@types/chai": "^4.2.3",
38 "@types/jasmine": "^3.4.4",
39 "@types/minimist": "^1.2.0",
40 "@types/node": "^12.11.1",
41 "chai": "^4.2.0",
42 "jest": "^24.9.0",
43 "rimraf": "^2.6.3",
44 "ts-jest": "^24.1.0",
45 "ts-node": "^8.4.1",
46 "tslint": "^5.20.0",
47 "typescript": "^3.6.4",
48 "webpack": "^4.41.2",
49 "webpack-cli": "^3.3.9"
50 },
51 "jest": {
52 "globals": {
53 "__TS_CONFIG__": "tsconfig.json"
54 },
55 "moduleFileExtensions": [
56 "ts",
57 "js"
58 ],
59 "collectCoverage": true,
60 "collectCoverageFrom": [
61 "<rootDir>/src/**"
62 ],
63 "coverageDirectory": "<rootDir>/reports/coverage",
64 "transform": {
65 "\\.(ts)$": "ts-jest"
66 },
67 "testRegex": "/test/.*\\.spec\\.ts$"
68 }
69}
\No newline at end of file