Skip to content

Commit

Permalink
Get rid of prettier
Browse files Browse the repository at this point in the history
(closes #129)
  • Loading branch information
bhousel committed Jul 11, 2023
1 parent fc484cf commit 9f3f161
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,19 @@
"jest": "^29.6.1",
"jest-extended": "^4.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"shx": "^0.3.4",
"typescript": "^5.1.6"
},
"scripts": {
"all": "run-s clean build pretty test",
"all": "run-s clean build test",
"clean": "shx rm -rf dist",
"build": "run-s format-json build:**",
"build:browser": "esbuild ./src/country-coder.ts --platform=browser --format=iife --global-name=countryCoder --bundle --sourcemap --outfile=./dist/country-coder.iife.js",
"build:cjs": "esbuild ./src/country-coder.ts --platform=node --format=cjs --bundle --sourcemap --external:which-polygon --outfile=./dist/country-coder.cjs",
"build:mjs": "esbuild ./src/country-coder.ts --platform=neutral --format=esm --bundle --sourcemap --external:which-polygon --outfile=./dist/country-coder.mjs",
"build:types": "tsc",
"format-json": "node ./scripts/format-json.js",
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest --colors",
"pretty": "prettier --write \"./{src,tests}/*.{ts,js}\""
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest --colors"
},
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -89,12 +87,6 @@
},
"verbose": true
},
"prettier": {
"arrowParens": "always",
"printWidth": 100,
"singleQuote": true,
"trailingComma": "none"
},
"engines": {
"node": ">=16.14.0"
}
Expand Down

0 comments on commit 9f3f161

Please sign in to comment.