@cosmology/ast
Version:
Cosmos TypeScript AST generation
94 lines (93 loc) • 2.58 kB
JSON
{
"name": "@cosmology/ast",
"version": "1.8.10",
"description": "Cosmos TypeScript AST generation",
"author": "Dan Lynch <pyramation@gmail.com>",
"homepage": "https://github.com/cosmology-tech/telescope/tree/master/packages/ast#readme",
"license": "SEE LICENSE IN LICENSE",
"main": "main/index.js",
"module": "module/index.js",
"typings": "types/index.d.ts",
"directories": {
"lib": "src",
"test": "__tests__"
},
"files": [
"types",
"src",
"module",
"main"
],
"scripts": {
"build:main": "yarn tsc -p tsconfig.json --outDir main --module commonjs",
"build:module": "yarn tsc -p tsconfig.json --outDir module --module es2022",
"build": "npm run build:module && npm run build:main",
"buidl": "npm run build",
"buidl:clean": "npm run clean && npm run buidl",
"buidl:type": "rm -rf types && yarn build",
"clean": "rimraf ./types",
"prepare": "npm run build",
"lint": "eslint .",
"format": "eslint . --fix",
"test": "jest",
"test:ast": "cross-env NODE_ENV=development babel-node scripts/test-ast.js",
"test:watch": "jest --watch",
"test:update": "jest --watch -u",
"test:debug": "node --inspect node_modules/.bin/jest --runInBand"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/"
],
"testPathIgnorePatterns": [
"main/",
"module/",
"types/"
]
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/cosmology-tech/telescope"
},
"keywords": [],
"bugs": {
"url": "https://github.com/cosmology-tech/telescope/issues"
},
"devDependencies": {
"@babel/parser": "^7.23.6",
"@cosmology/proto-parser": "^1.8.7",
"@types/jest": "^29.5.0",
"ast-stringify": "0.1.0",
"cross-env": "^7.0.2",
"deepmerge": "4.3.1",
"eslint": "8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.0.0",
"esprima": "4.0.1",
"glob": "8.0.3",
"jest": "^29.5.0",
"jest-in-case": "^1.0.2",
"mkdirp": "3.0.0",
"prettier": "^2.8.7",
"regenerator-runtime": "^0.13.11",
"rimraf": "5.0.0",
"ts-jest": "^29.1.0",
"typescript": "5.0.4"
},
"dependencies": {
"@babel/types": "7.23.6",
"@cosmology/types": "^1.10.3",
"@cosmology/utils": "^1.8.7",
"case": "1.6.3",
"dotty": "0.1.2"
},
"gitHead": "66c8ded1cc3c974fc8886faff6cf27dceb594acf"
}