@cosmology/ast

v1.8.5
Cosmos TypeScript AST generation

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
npm i @cosmology/ast

Metadata

Downloads