forked from phenomnomnominal/tsquery
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.19 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.19 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "@aztack/tsquery",
"version": "4.1.6",
"description": "Query TypeScript ASTs with the esquery API!",
"bin": {
"tsquery": "./bin/tsquery"
},
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
"author": "Aztack <aztack@163.com>",
"repository": {
"type": "git",
"url": "https://github.com/aztack/tsquery"
},
"license": "MIT",
"scripts": {
"build": "npm run clean && npm run compile && npm run webpack",
"build-no-lint-no-test": "npm run clean && npm run compile",
"webpack": "webpack --config webpack.config.js",
"clean": "rimraf dist",
"compile": "tsc",
"lint": "npm run lint:src && npm run lint:test",
"lint:src": "tslint --project ./tsconfig.json -c ./tslint.json 'src/**/*.ts'",
"lint:test": "tslint --project ./tsconfig.json -c ./tslint.json 'test/**/*.ts'",
"lint:fix": "npm run lint:src:fix && npm run lint:test",
"lint:src:fix": "tslint -c tslint.json 'src/**/*.ts' --fix",
"lint:test:fix": "tslint -c tslint.json 'test/**/*.ts' --fix",
"test": "jest",
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@types/glob": "^7.1.4",
"esquery": "^1.0.1",
"glob": "^7.1.7"
},
"peerDependencies": {
"typescript": "^3 || ^4"
},
"files": [
"dist/src"
],
"devDependencies": {
"@babel/core": "^7.15.5",
"@types/chai": "^4.2.3",
"@types/jasmine": "^3.4.4",
"@types/minimist": "^1.2.0",
"@types/node": "^12.11.1",
"babel-loader": "^8.2.2",
"chai": "^4.2.0",
"chmod-webpack-plugin": "^0.1.3",
"jest": "^24.9.0",
"rimraf": "^2.6.3",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1",
"tslint": "^5.20.0",
"typescript": "^4.4.2",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.9"
},
"jest": {
"globals": {
"ts-jest.tsConfig": "tsconfig.json"
},
"moduleFileExtensions": [
"ts",
"js"
],
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/src/**"
],
"coverageDirectory": "<rootDir>/reports/coverage",
"transform": {
"\\.(ts)$": "ts-jest"
},
"testRegex": "/test/.*\\.spec\\.ts$"
}
}