UNPKG

3.04 kBJSONView Raw
1{
2 "name": "ts-extractor",
3 "version": "1.1.1",
4 "description": "TypeScript AST extractor to useful JSON structure.",
5 "keywords": [
6 "typescript",
7 "extractor",
8 "ast",
9 "abstract",
10 "syntax",
11 "tree"
12 ],
13 "main": "./dist/index.js",
14 "types": "./dist/index.d.ts",
15 "repository": {
16 "type": "git",
17 "url": "https://github.com/SimplrJS/ts-extractor"
18 },
19 "scripts": {
20 "pretest": "npm run build -- --noEmit && npm run build-tests",
21 "test": "npm run tslint && jest && echo All tests passed successfully.",
22 "pretest-ci": "npm run pretest",
23 "test-ci": "npm run tslint && npm run jest && echo All tests passed successfully.",
24 "jest": "jest --maxWorkers=4",
25 "tslint": "tslint --project . --config ./tslint.json && echo Successfully passed tslint test.",
26 "coveralls": "coveralls < coverage/lcov.info",
27 "test-watch": "start npm run build-tests -- --watchAll && jest --watchAll",
28 "build": "tsc -p .",
29 "build-watch": "npm run build -- -w",
30 "build-tests": "cd tests && ts-node ./build-tests.ts -p ./",
31 "prepublishOnly": "npm run build && rimraf dist/debug.*"
32 },
33 "author": "SimplrJS <simplr@quatrodev.com> (https://github.com/simplrjs)",
34 "contributors": [
35 "Giedrius Grabauskas <giedrius@quatrodev.com> (https://github.com/GiedriusGrabauskas)",
36 "Martynas Žilinskas <martynas@quatrodev.com> (https://github.com/MartynasZilinskas)",
37 "Dovydas Navickas <dovydas@quatrodev.com> (https://github.com/DovydasNavickas)"
38 ],
39 "license": "MIT",
40 "dependencies": {
41 "@types/fs-extra": "^4.0.5",
42 "fs-extra": "^4.0.2",
43 "read-package-json": "^2.0.12",
44 "simplr-logger": "^0.4.0",
45 "typescript": "^2.6.1"
46 },
47 "devDependencies": {
48 "@types/globby": "^6.1.0",
49 "@types/jest": "^21.1.8",
50 "@types/sinon": "^4.0.0",
51 "coveralls": "^3.0.0",
52 "globby": "^7.1.1",
53 "jest": "^21.2.1",
54 "rimraf": "^2.6.2",
55 "simplr-tslint": "0.0.1",
56 "sinon": "^4.1.2",
57 "ts-jest": "^21.2.3",
58 "ts-node": "^3.3.0",
59 "tslint": "^5.8.0"
60 },
61 "files": [
62 "dist",
63 "**/*.md",
64 "@types",
65 "!/examples"
66 ],
67 "jest": {
68 "collectCoverage": true,
69 "mapCoverage": true,
70 "transform": {
71 ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
72 },
73 "globals": {
74 "ts-jest": {
75 "skipBabel": true,
76 "tsConfigFile": "tests/tsconfig.json"
77 }
78 },
79 "testRegex": "__tests__/.*\\.(test|spec).(ts|tsx|js)$",
80 "moduleNameMapper": {
81 "@src/(.*)": "<rootDir>/src/$1"
82 },
83 "coveragePathIgnorePatterns": [
84 "/node_modules/",
85 "/tests/"
86 ],
87 "moduleFileExtensions": [
88 "ts",
89 "tsx",
90 "js"
91 ]
92 }
93}