-
Notifications
You must be signed in to change notification settings - Fork 189
/
package.json
85 lines (85 loc) · 3.56 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "ts-morph",
"version": "19.0.0",
"description": "TypeScript compiler wrapper for static analysis and code manipulation.",
"main": "dist/ts-morph.js",
"typings": "lib/ts-morph.d.ts",
"scripts": {
"dopublish": "npm run type-check-docs && npm run package && npm run publish-code-verification && echo \"Run: npm publish\"",
"build": "npm run build:declarations && npm run build:deno && npm run build:node",
"build:node": "rimraf dist && rollup -c ",
"build:deno": "rimraf dist-deno && rollup -c --environment BUILD:deno && deno run -A scripts/buildDeno.ts",
"build:declarations": "deno run -A scripts/generation/main.ts create-declaration-file",
"test": "cross-env TS_NODE_TRANSPILE_ONLY=\"true\" mocha",
"test:debug": "npm run test --inspect-brk",
"test:watch": "npm run test --watch-extensions ts --watch",
"test:ci": "npm run test",
"test:ts-versions": "deno run -A scripts/test/testTypeScriptVersions.ts",
"type-check": "deno run -A scripts/typeCheckLibrary.ts",
"code-generate": "deno run -A scripts/generation/main.ts",
"output-wrapped-nodes": "deno run -A scripts/generation/outputWrappedNodesInfo.ts",
"package": "npm run build",
"publish-code-verification": "npm run code-verification && npm run ensure-no-declaration-file-errors",
"code-verification": "deno run -A scripts/verification/main.ts ensure-structures-match-classes ensure-overload-structures-match ensure-array-inputs-readonly ensure-classes-implement-structure-methods ensure-mixin-not-applied-multiple-times validate-public-api-class-member-names validate-compiler-node-to-wrapped-type validate-code-fences",
"ensure-structures-match-classes": "deno run -A scripts/verification/main.ts ensure-structures-match-classes",
"ensure-overload-structures-match": "deno run -A scripts/verification/main.ts ensure-overload-structures-match",
"ensure-no-project-compile-errors": "deno run -A scripts/verification/ensureNoProjectCompileErrors.ts",
"ensure-no-declaration-file-errors": "deno run -A scripts/verification/ensureNoDeclarationFileErrors.ts",
"ensure-array-inputs-readonly": "deno run -A scripts/verification/main ensure-array-inputs-readonly.ts",
"ensure-or-throw-exists": "deno run -A scripts/verification/main ensure-or-throw-exists.ts",
"type-check-docs": "deno run -A scripts/typeCheckDocumentation.ts"
},
"repository": "git+https://github.com/dsherret/ts-morph.git",
"keywords": [
"typescript",
"ast",
"static analysis",
"code generation",
"code refactor"
],
"author": "David Sherret",
"license": "MIT",
"bugs": {
"url": "https://github.com/dsherret/ts-morph/issues"
},
"homepage": "https://github.com/dsherret/ts-morph#readme",
"dependencies": {
"@ts-morph/common": "~0.20.0",
"code-block-writer": "^12.0.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.0.0",
"@types/chai": "^4.3.4",
"@types/diff": "^5.0.3",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.9",
"chai": "^4.3.7",
"conditional-type-checks": "^1.0.6",
"cross-env": "^7.0.3",
"diff": "^5.1.0",
"mocha": "10.2.0",
"rimraf": "^4.4.1",
"rollup": "=3.20.2",
"ts-node": "10.9.1",
"typescript": "~5.1.3"
},
"standard-version": {
"tagPrefix": "",
"skip": {
"tag": true,
"commit": true
}
},
"browser": {
"fs": false,
"os": false,
"fs.realpath": false,
"mkdirp": false,
"dir-glob": false,
"graceful-fs": false,
"fast-glob": false,
"source-map-support": false,
"glob-parent": false,
"glob": false
}
}