-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
152 lines (152 loc) · 3.73 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "esthetic",
"version": "0.6.4-beta.1",
"license": "MIT",
"homepage": "https://æsthetic.dev",
"author": "ΝΙΚΟΛΑΣ ΣΑΒΒΙΔΗΣ <[email protected]>",
"description": "Æsthetic ~ Language beautification support leveraging the Sparser lexing algorithm.",
"keywords": [
"æsthetic",
"aesthetic",
"esthetic",
"formatting",
"prettify",
"beautify",
"prettier",
"jsbeautify",
"beautification",
"liquid",
"html",
"css",
"parser",
"shopify",
"liquify",
"format",
"formatter",
"prettydiff",
"sparser"
],
"engines": {
"pnpm": ">=4",
"node": ">=12"
},
"repository": {
"type": "git",
"url": "https://github.com/panoply/esthetic"
},
"bugs": {
"url": "https://github.com/panoply/esthetic/issues"
},
"bin": {
"esthetic": "./dist/cli/index.js"
},
"files": [
"dist",
"types",
"index.d.ts",
"schema.json",
"ThirdPartyNotices.txt",
"LICENSE"
],
"types": "./index.d.ts",
"main": "./dist/esthetic.js",
"module": "./dist/esthetic.mjs",
"exports": {
"types": "./index.d.ts",
"require": "./dist/esthetic.cjs",
"import": "./dist/esthetic.mjs",
"default": "./dist/esthetic.js"
},
"scripts": {
"dev": "tsup --watch",
"play": "ava tests/dev.test.mjs --watch",
"build": "tsup --minify --env.NODE_ENV production && gzip-size dist/esthetic.js --include-original",
"pack": "cd versions; pnpm pack ../ && cd ..",
"release": "pnpm -w release --pkg $npm_package_name",
"test": "ava --serial",
"tests": "tests -t cases,rules,units",
"test:cli": "cd tests; pnpm esthetic ./cli/*.liquid -w --liquid; cd ..;",
"test:attributes": "ava tests/cases/attributes/*.test.mjs ---",
"test:html": "ava tests/cases/html/*.test.mjs ---",
"test:liquid": "ava tests/cases/liquid/*.test.mjs ---",
"test:json": "ava tests/cases/json/*.test.mjs ---",
"test:css": "ava tests/cases/css/*.test.mjs ---",
"test:units": "ava tests/units/*.test.mjs ---",
"test:rules": "ava tests/rules/*.test.mjs ---",
"test:cases": "ava tests/cases/*.test.mjs ---"
},
"ava": {
"files": [
"tests/cases/liquid/*.test.mjs",
"tests/cases/html/*.test.mjs",
"tests/cases/json/*.test.mjs",
"tests/cases/css/*.test.mjs",
"tests/cases/attributes/*.test.mjs"
],
"extensions": [
"mjs"
],
"timeout": "3s",
"cache": false
},
"prettier": "@liquify/prettier-config",
"eslintConfig": {
"root": true,
"ignorePatterns": [
"**/dist/*",
"**/node_modules/*"
],
"extends": [
"@liquify/eslint-config"
],
"rules": {
"n/no-callback-literal": "off",
"no-lone-blocks": "off",
"no-unmodified-loop-condition": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error"
],
"operator-linebreak": [
"error",
"after",
{
"overrides": {
"?": "before",
":": "before",
"&&": "after",
"||": "after",
"+": "before"
}
}
]
}
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"prettier"
]
}
},
"devDependencies": {
"@liquify/ava": "workspace:^",
"@liquify/eslint-config": "^1.2.0",
"@liquify/prettier-config": "^1.2.1",
"@liquify/tsconfig": "^1.0.1",
"@types/benchmark": "^2.1.2",
"ava": "^5.3.0",
"benchmark": "^2.1.4",
"terser": "^5.17.7",
"tsup": "^6.7.0",
"type-fest": "^3.11.1"
},
"dependencies": {
"@liquify/highlight": "^0.1.0",
"ansis": "^1.5.5",
"chokidar": "^3.5.3",
"fast-glob": "^3.2.12",
"mergerino": "^0.4.0",
"minimist": "^1.2.8"
}
}