UNPKG

@shopify/prettier-plugin-liquid

Version:
66 lines (65 loc) 2.2 kB
{ "name": "@shopify/prettier-plugin-liquid", "version": "1.9.0", "description": "Prettier Liquid/HTML plugin by Shopify", "author": "CP Clermont <cp.clermont@shopify.com>", "homepage": "https://github.com/Shopify/theme-tools/tree/main/packages/prettier-plugin-liquid#readme", "repository": { "type": "git", "url": "https://github.com/Shopify/theme-tools.git", "directory": "packages/prettier-plugin-liquid" }, "bugs": { "url": "https://github.com/Shopify/theme-tools/issues" }, "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "publishConfig": { "access": "public", "@shopify:registry": "https://registry.npmjs.org" }, "files": [ "grammar/*", "dist/**/*.js", "dist/**/*.ts", "standalone.js", "standalone.d.ts", "standalone.js.LICENSE.txt", "ThirdPartyNotices.txt" ], "scripts": { "build": "yarn build:ts && yarn build:standalone", "build:ci": "yarn build", "build:standalone": "webpack -c webpack.config.js", "build:ts": "tsc -p tsconfig.build.json", "format": "prettier --write --ignore-unknown \"src/**/*.ts\"", "format:check": "prettier --check --ignore-unknown \"src/**/*.ts\"", "playground": "npx http-server playground", "prerelease": "scripts/prerelease", "prettier": "scripts/prettier", "prettier2": "cross-env PRETTIER_MAJOR=2 scripts/prettier", "prettier3": "cross-env PRETTIER_MAJOR=3 scripts/prettier", "test": "vitest -c \"./vitest.config.mjs\"", "test:3": "cross-env PRETTIER_MAJOR=3 yarn test", "test:idempotence": "cross-env TEST_IDEMPOTENCE=true vitest run 'src/test/'", "test:idempotence:3": "cross-env PRETTIER_MAJOR=3 yarn test:idempotence", "type-check": "tsc --noEmit" }, "peerDependencies": { "prettier": "^2.0.0 || ^3.0.0" }, "devDependencies": { "@types/prettier": "^2.4.2", "cross-env": "^7.0.3", "module-alias": "^2.2.3", "prettier2": "npm:prettier@^2.6.1", "prettier3": "npm:prettier@^3.0.0", "source-map-support": "^0.5.21", "tsconfig-paths": "^3.14.1" }, "dependencies": { "@shopify/liquid-html-parser": "^2.7.0", "html-styles": "^1.0.0" } }