@shopify/prettier-plugin-liquid

v1.0.5
Prettier Liquid/HTML plugin by Shopify

test

mocha '{src,test}/**/*.spec.ts'

build

yarn build:shims && yarn build:ts && yarn build:standalone

debug

node --inspect-brk node_modules/.bin/_mocha "{src,test}/**/*.ts"

format

scripts/relative-to-alias && prettier --write --ignore-unknown "{src,test}/**/*.ts"

prepare

husky install

build:ts

tsc -p . && tsc-alias -p tsconfig.json

coverage

nyc yarn test

prettier

prettier --plugin . --parser=liquid-html

playground

npx http-server playground

prerelease

scripts/prerelease

type-check

tsc --noEmit

build:shims

node build/shims.js

format:check

prettier --check --ignore-unknown "{src,test}/**/*.ts"

coverage:json

nyc --reporter=json yarn test

coverage:lcov

nyc --reporter=lcov yarn test

build:standalone

webpack -c webpack.config.js

test:idempotence

cross-env TEST_IDEMPOTENCE=true node_modules/.bin/mocha 'test/**/*.spec.ts'
npm i @shopify/[email protected]

Metadata

  • MIT
  • Whatever
  • CP Clermont
  • released 1/10/2023

Downloads