ts-simple-ast
Version:
TypeScript compiler wrapper for static analysis and code manipulation.
101 lines (100 loc) • 3.65 kB
JSON
{
"name": "ts-simple-ast",
"version": "12.5.0",
"description": "TypeScript compiler wrapper for static analysis and code manipulation.",
"main": "dist/main.js",
"typings": "dist/main.d.ts",
"scripts": {
"dopublish": "npm run type-check-docs && npm run package && npm run publish-code-verification && npm publish",
"lint": "npm run lint-src && npm run lint-scripts",
"lint-src": "tslint \"src/**/*.ts\"",
"lint-scripts": "tslint \"scripts/**/*.ts\"",
"build": "rimraf dist && npx ttsc",
"test": "cross-env TS_NODE_COMPILER=\"ttypescript\" mocha --opts mocha.opts",
"test-coverage": "cross-env TS_NODE_COMPILER=\"ttypescript\" nyc --reporter=lcov mocha --opts mocha.opts",
"code-generate": "ts-node scripts/code-generate --ignoreDiagnostics",
"refactor": "ts-node scripts/refactor --ignoreDiagnostics",
"output-wrapped-nodes": "ts-node scripts/outputWrappedNodesInfo",
"package": "npm run build && ts-node scripts/createDeclarationFile",
"publish-code-verification": "npm run code-verification && npm run ensure-no-declaration-file-errors && npm run ensure-declaration-file-not-changed",
"code-verification": "ts-node scripts/ensureStructuresMatchClasses && ts-node scripts/ensureOverloadStructuresMatch",
"ensure-no-declaration-file-errors": "ts-node scripts/ensureNoDeclarationFileErrors",
"ensure-declaration-file-not-changed": "ts-node scripts/ensureDeclarationFileNotChanged",
"overwrite-declaration-file": "npm run package && copy /Y dist\\main.d.ts lib\\ts-simple-ast.d.ts && copy /Y dist\\typescript\\typescript.d.ts lib\\typescript\\typescript.d.ts && copy /Y dist\\codeBlockWriter\\code-block-writer.d.ts lib\\codeBlockWriter\\code-block-writer.d.ts",
"ensure-or-throw-exists": "ts-node scripts/ensureOrThrowExists",
"type-check-docs": "ts-node scripts/typeCheckDocumentation.ts"
},
"repository": "git+https://github.com/dsherret/ts-simple-ast.git",
"keywords": [
"typescript",
"ast",
"static analysis",
"code generation",
"code refactor"
],
"author": "David Sherret",
"license": "MIT",
"bugs": {
"url": "https://github.com/dsherret/ts-simple-ast/issues"
},
"homepage": "https://github.com/dsherret/ts-simple-ast#readme",
"nyc": {
"extension": [
".ts",
".tsx"
],
"include": [
"src/**/*.ts",
"!src/tests/**/*.ts",
"!src/utils/TypeGuards.ts"
],
"reporter": [
"html"
],
"all": true
},
"typescript": {
"definition": "dist/main.d.ts"
},
"dependencies": {
"@dsherret/to-absolute-glob": "^2.0.2",
"code-block-writer": "^7.2.0",
"fs-extra": "^6.0.1",
"glob-parent": "^3.1.0",
"globby": "^8.0.1",
"is-negated-glob": "^1.0.0",
"multimatch": "^2.1.0",
"object-assign": "^4.1.1",
"tslib": "^1.9.0",
"typescript": "2.9.1"
},
"devDependencies": {
"@types/chai": "^4.1.2",
"@types/diff": "^3.5.1",
"@types/fs-extra": "^5.0.2",
"@types/glob-parent": "^3.1.0",
"@types/is-negated-glob": "^1.0.0",
"@types/mocha": "^5.2.0",
"@types/multimatch": "^2.1.2",
"@types/node": "^6.0.110",
"@types/object-assign": "^4.0.30",
"chai": "^4.1.2",
"chalk": "^2.4.0",
"conditional-type-checks": "^0.5.0",
"coveralls": "^3.0.1",
"cross-env": "^5.1.4",
"diff": "^3.5.0",
"mocha": "^5.1.1",
"nyc": "^11.7.1",
"rimraf": "^2.6.2",
"source-map-support": "^0.5.5",
"ts-nameof": "^1.0.0",
"ts-node": "^6.0.2",
"ts-simple-ast": "12.2.0",
"tslint": "^5.10.0",
"ttypescript": "1.4.6"
},
"standard-version": {
"tagPrefix": ""
}
}