dprint-plugin-typescript

v0.16.0
TypeScript plugin for dprint.
code formatter typescript dprint plugin

build

rimraf dist && yarn build:rust && yarn rollup && yarn build:declarations

build:rust

rimraf src/wasm && wasm-pack build wasm --release --target nodejs --out-dir ../src/wasm

build:rust-debug

rimraf src/wasm && wasm-pack build wasm --dev --target nodejs --out-dir ../src/wasm

build:declarations

ts-node --compiler ttypescript --project scripts/tsconfig.json --transpile-only scripts/buildDeclarations.ts

test

cross-env TS_NODE_COMPILER="ttypescript" TS_NODE_TRANSPILE_ONLY="true" mocha

test:debug

yarn test --inspect-brk

test:watch

yarn test --watch-extensions ts --watch

rollup

copyfiles -u 1 src/wasm/**/* dist && rollup --config

output-implemented-nodes

ts-node scripts/outputImplementedNodes.ts

Metadata

  • MIT
  • Whatever
  • David Sherret
  • released 4/12/2020

Downloads

Maintainers