Skip to content

Commit

Permalink
chore: make prettier format json
Browse files Browse the repository at this point in the history
also used double quotes for interoparabilities with Windows
  • Loading branch information
theseanl committed Jan 20, 2024
1 parent b69517b commit 9035e2a
Show file tree
Hide file tree
Showing 44 changed files with 2,697 additions and 4,594 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
],
"scripts": {
"build": "npm run build -ws",
"clean": "npm run clean -ws",
"package": "npm run package -ws",
"publish": "npm run publish -ws",
"test": "vitest ./packages",
"test:ci": "vitest ./packages --maxWorkers=1",
"prettier": "prettier '**/*.ts' --write",
"eslint": "eslint '**/*.ts' --ignore-pattern dist"
"prettier": "prettier \"**/*.ts\" \"**/*.json\" --write",
"eslint": "eslint \"**/*.ts\" --ignore-pattern dist"
},
"prettier": {
"tabWidth": 4,
Expand Down
98 changes: 49 additions & 49 deletions packages/structured-clone/package.json
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
{
"name": "@unified-latex/structured-clone",
"version": "1.6.0",
"description": "A cheap (and not correct) structured-clone polyfill with types",
"main": "dist/index.js",
"type": "module",
"files": [
"dist/**/*.ts",
"dist/**/*.js",
"dist/**/*.map",
"dist/**/*.json"
],
"exports": {
".": {
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
"name": "@unified-latex/structured-clone",
"version": "1.6.0",
"description": "A cheap (and not correct) structured-clone polyfill with types",
"main": "dist/index.js",
"type": "module",
"files": [
"dist/**/*.ts",
"dist/**/*.js",
"dist/**/*.map",
"dist/**/*.json"
],
"exports": {
".": {
"_bundle": "./index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*js": "./dist/*js",
"./*": {
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
"./*js": "./dist/*js",
"./*": {
"_bundle": "./*.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs"
}
},
"scripts": {
"build": "npm run clean && mkdirp ./dist && npm run compile",
"clean": "rimraf ./dist",
"compile:tsc": "tsc",
"compile:esm_and_cjs": "node build.js",
"compile": "run-p compile:tsc compile:esm_and_cjs",
"test": "vitest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/siefkenj/unified-latex.git"
},
"keywords": [
"pegjs",
"latex",
"parser",
"prettier",
"unified-latex",
"unified"
],
"author": "Jason Siefken",
"license": "MIT",
"bugs": {
"url": "https://github.com/siefkenj/unified-latex/issues"
},
"homepage": "https://github.com/siefkenj/unified-latex#readme"
"scripts": {
"build": "npm run clean && mkdirp ./dist && npm run compile",
"clean": "rimraf ./dist",
"compile:tsc": "tsc",
"compile:esm_and_cjs": "node build.js",
"compile": "run-p compile:tsc compile:esm_and_cjs",
"test": "vitest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/siefkenj/unified-latex.git"
},
"keywords": [
"pegjs",
"latex",
"parser",
"prettier",
"unified-latex",
"unified"
],
"author": "Jason Siefken",
"license": "MIT",
"bugs": {
"url": "https://github.com/siefkenj/unified-latex/issues"
},
"homepage": "https://github.com/siefkenj/unified-latex#readme"
}
2 changes: 1 addition & 1 deletion packages/support-tables/katex-support.json
Original file line number Diff line number Diff line change
Expand Up @@ -1112,4 +1112,4 @@
"Vmatrix*",
"vmatrix*"
]
}
}
Loading

0 comments on commit 9035e2a

Please sign in to comment.