-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
202 lines (202 loc) · 7.4 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
{
"name": "prettierx",
"version": "0.19.1-dev",
"prettier-version": "2.4.0",
"description": "prettierX - a less opinionated fork of the Prettier code formatter",
"bin": "./bin/prettierx.js",
"repository": "brodybits/prettierx",
"homepage": "https://github.com/brodybits/prettierx",
"license": "MIT",
"main": "./index.js",
"// prettierx package notes": [
"* ''standalone'' usage with browser & unpkg is currently NOT supported",
" (for future consideration) - now ''commented out'' below",
"<!-- -->"
],
"// browser": "./standalone.js",
"// unpkg": "./standalone.js",
"engines": {
"node": ">=12.17.0"
},
"files": [
"CHANGELOG.md",
"LICENSE",
"README.md",
"index.js",
"src",
"bin"
],
"// prettierx dependency notes": [
"* installing dependencies from GitHub is not desired in prettierx",
" due to a possible issue with firewalls in certain organizations",
" TEMPORARY EXCEPTION: parse-srcset",
"* using @brodybits/remark-parse fork of remark-parse with",
" updated trim sub-dependency as recommended by:",
" https://www.npmjs.com/advisories/1700",
"* flow-parser & typescript are moved to devDependencies, and",
" they are specified as optional in peerDependenciesMeta",
"<!-- -->"
],
"dependencies": {
"@angular/compiler": "12.1.1",
"@babel/code-frame": "7.14.5",
"@babel/parser": "7.14.7",
"@brodybits/remark-parse": "8.0.6",
"@glimmer/syntax": "0.80.0",
"@iarna/toml": "2.2.5",
"@typescript-eslint/typescript-estree": "4.28.2",
"angular-estree-parser": "2.5.0",
"angular-html-parser": "1.8.0",
"camelcase": "6.2.0",
"chalk": "4.1.1",
"ci-info": "3.2.0",
"cjk-regex": "2.0.1",
"cosmiconfig": "7.0.0",
"dashify": "2.0.0",
"diff": "5.0.0",
"editorconfig": "0.15.3",
"editorconfig-to-prettier": "0.2.0",
"escape-string-regexp": "4.0.0",
"espree": "8.0.0",
"esutils": "2.0.3",
"fast-glob": "3.2.7",
"fast-json-stable-stringify": "2.1.0",
"find-parent-dir": "0.3.1",
"get-stdin": "8.0.0",
"globby": "11.0.4",
"graphql": "15.5.1",
"html-element-attributes": "2.3.0",
"html-styles": "1.0.0",
"html-tag-names": "1.1.5",
"html-void-elements": "1.0.5",
"ignore": "4.0.6",
"jest-docblock": "27.0.6",
"json5": "2.2.0",
"leven": "3.1.0",
"lines-and-columns": "1.1.6",
"linguist-languages": "7.15.0",
"lodash": "4.17.21",
"mem": "8.1.1",
"meriyah": "4.1.5",
"minimatch": "3.0.4",
"minimist": "1.2.5",
"n-readlines": "1.0.1",
"outdent": "0.8.0",
"parse-srcset": "ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee",
"please-upgrade-node": "3.2.0",
"postcss": "8.3.5",
"postcss-less": "4.0.1",
"postcss-media-query-parser": "0.2.3",
"postcss-scss": "3.0.2",
"postcss-selector-parser": "2.2.3",
"postcss-values-parser": "2.0.1",
"regexp-util": "1.2.2",
"remark-footnotes": "2.0.0",
"remark-math": "3.0.1",
"resolve": "1.20.0",
"semver": "7.3.5",
"string-width": "4.2.2",
"strip-ansi": "6.0.0",
"unicode-regex": "3.0.0",
"unified": "9.2.1",
"vnopts": "1.0.2",
"wcwidth": "1.0.1",
"yaml-unist-parser": "1.3.1"
},
"devDependencies": {
"@babel/core": "7.14.6",
"@babel/preset-env": "7.14.7",
"@babel/types": "7.14.5",
"@glimmer/reference": "0.80.0",
"@rollup/plugin-alias": "3.1.2",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "18.1.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.0.0",
"@rollup/plugin-replace": "2.4.2",
"@types/estree": "0.0.50",
"babel-jest": "27.0.6",
"babel-loader": "8.2.2",
"benchmark": "2.1.4",
"builtin-modules": "3.2.0",
"core-js": "3.15.2",
"cross-env": "7.0.3",
"cspell": "4.2.8",
"eslint": "7.30.0",
"eslint-config-prettier": "8.3.0",
"eslint-formatter-friendly": "7.0.0",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-jest": "24.3.6",
"eslint-plugin-prettier-internal-rules": "file:./scripts/tools/eslint-plugin-prettier-internal-rules",
"eslint-plugin-react": "7.24.0",
"eslint-plugin-regexp": "0.13.1",
"eslint-plugin-unicorn": "34.0.1",
"esm-utils": "1.1.0",
"execa": "5.1.1",
"flow-parser": "0.155.0",
"jest": "27.0.6",
"jest-snapshot-serializer-ansi": "1.0.0",
"jest-snapshot-serializer-raw": "1.2.0",
"jest-watch-typeahead": "0.6.4",
"npm-run-all": "4.1.5",
"path-browserify": "1.0.1",
"prettier": "2.3.2",
"pretty-bytes": "5.6.0",
"rimraf": "3.0.2",
"rollup": "2.53.1",
"rollup-plugin-polyfill-node": "0.6.2",
"rollup-plugin-terser": "7.0.2",
"shelljs": "0.8.4",
"snapshot-diff": "0.9.0",
"tempy": "1.0.1",
"terser-webpack-plugin": "5.1.4",
"typescript": "4.3.5",
"webpack": "5.44.0"
},
"peerDependenciesMeta": {
"flow-parser": {
"optional": true
},
"typescript": {
"optional": true
}
},
"// prettierx release scripts notes": [
"* prepublishOnly is changed to just log some info",
"* prepare-release script is normally not run on prettierx,",
" use prepare-extra-release instead",
"* build script is normally not run on prettierx,",
" use build-extra-dist instead",
"* keeping build-extra-dist & test:dist scripts to",
" help restore browser build support someday ref:",
" https://github.com/brodybits/prettierx/issues/95",
"<!-- -->"
],
"scripts": {
"prepublishOnly": "echo 'now publishing prettierx from project root'",
"prepare-release": "echo 'use prepare-extra-release for prettierx' && exit 1",
"prepare-extra-release": "yarn && yarn build-extra-dist && yarn test:dist",
"test": "jest",
"test:dev-package": "cross-env INSTALL_PACKAGE=1 jest",
"test:dist": "cross-env NODE_ENV=production jest",
"test:dist-standalone": "cross-env NODE_ENV=production TEST_STANDALONE=1 jest",
"test:integration": "jest tests/integration",
"perf:repeat": "yarn && yarn build-extra-dist && cross-env NODE_ENV=production node ./dist/bin-prettierx.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",
"perf:repeat-inspect": "yarn && yarn build-extra-dist && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettierx.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",
"perf:benchmark": "yarn && yarn build-extra-dist && cross-env NODE_ENV=production node ./dist/bin-prettierx.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",
"lint": "run-p lint:*",
"lint:typecheck": "tsc",
"lint:eslint": "cross-env EFF_NO_LINK_RULES=true eslint . --format friendly",
"lint:changelog": "node ./scripts/lint-changelog.mjs",
"lint:prettier": "prettier . \"!test*\" --check",
"lint:dist": "eslint --no-eslintrc --no-ignore --no-inline-config --env=es6,browser --parser-options=ecmaVersion:2019 \"dist/!(bin-prettier|index|third-party).js\"",
"lint:spellcheck": "cspell \"**/*\" \".github/**/*\"",
"lint:deps": "node ./scripts/check-deps.mjs",
"fix": "run-s fix:eslint fix:prettier",
"fix:eslint": "yarn lint:eslint --fix",
"fix:prettier": "yarn lint:prettier --write",
"build-extra-dist": "node --max-old-space-size=8192 ./scripts/build/build.mjs",
"build": "echo 'use build-extra-dist for prettierx' && exit 1",
"build-docs": "node ./scripts/build-docs.mjs"
}
}