feat: setup prettier
This commit is contained in:
parent
7c5ae9b1e4
commit
24ee32b561
2 changed files with 10 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "swc ./src/api.ts -o dist/api.js",
|
||||
"lint": "prettier --write ./src/*",
|
||||
"test": "jest",
|
||||
"doc": "jsdoc ./src/api.js"
|
||||
},
|
||||
|
@ -22,6 +23,7 @@
|
|||
"jest-environment-jsdom": "^29.7.0",
|
||||
"jsdoc": "^4.0.2",
|
||||
"jsdom": "^22.1.0",
|
||||
"prettier": "3.0.3",
|
||||
"ts-jest": "^29.1.1",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^5.2.2",
|
||||
|
|
|
@ -11,6 +11,7 @@ specifiers:
|
|||
jest-environment-jsdom: ^29.7.0
|
||||
jsdoc: ^4.0.2
|
||||
jsdom: ^22.1.0
|
||||
prettier: 3.0.3
|
||||
ts-jest: ^29.1.1
|
||||
ts-node: ^10.9.1
|
||||
typescript: ^5.2.2
|
||||
|
@ -27,6 +28,7 @@ devDependencies:
|
|||
jest-environment-jsdom: 29.7.0
|
||||
jsdoc: 4.0.2
|
||||
jsdom: 22.1.0
|
||||
prettier: 3.0.3
|
||||
ts-jest: 29.1.1_df7ucliaobjkqulprdmdbm3mmm
|
||||
ts-node: 10.9.1_4zwzvlqzy7ines4uqbxgpp4ph4
|
||||
typescript: 5.2.2
|
||||
|
@ -3046,6 +3048,12 @@ packages:
|
|||
find-up: 4.1.0
|
||||
dev: true
|
||||
|
||||
/prettier/3.0.3:
|
||||
resolution: {integrity: sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==}
|
||||
engines: {node: '>=14'}
|
||||
hasBin: true
|
||||
dev: true
|
||||
|
||||
/pretty-format/29.7.0:
|
||||
resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==}
|
||||
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
|
||||
|
|
Loading…
Reference in a new issue