Skip to content

Commit

Permalink
Format json files with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
reilem committed Feb 23, 2024
1 parent e772e5a commit fa39e3d
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 57 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
63 changes: 32 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
{
"name": "zod-geojson",
"version": "1.0.0",
"description": "Zod schemas for GeoJSON",
"repository": {
"type": "git",
"url": "https://github.com/reilem/zod-geojson"
},
"author": "Reinert Lemmens",
"license": "MIT",
"keywords": [
"zod",
"geojson",
"schema"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"test": "jest",
"clean": "rimraf lib",
"build": "pnpm clean && tsc -p tsconfig.build.json",
"typecheck": "tsc"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"typescript": "~5.3.3",
"zod": "^3.22.4"
}
"name": "zod-geojson",
"version": "1.0.0",
"description": "Zod schemas for GeoJSON",
"repository": {
"type": "git",
"url": "https://github.com/reilem/zod-geojson"
},
"author": "Reinert Lemmens",
"license": "MIT",
"keywords": [
"zod",
"geojson",
"schema"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"test": "jest",
"clean": "rimraf lib",
"build": "pnpm clean && tsc -p tsconfig.build.json",
"typecheck": "tsc",
"prettiercheck": "prettier -c ."
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"typescript": "~5.3.3",
"zod": "^3.22.4"
}
}
18 changes: 9 additions & 9 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": false,
"declaration": true,
"declarationMap": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "lib", "tests/**/*"]
}
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": false,
"declaration": true,
"declarationMap": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "lib", "tests/**/*"]
}
34 changes: 17 additions & 17 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"compilerOptions": {
"target": "es5",
"moduleResolution": "node",
"outDir": "lib",
"noEmit": true,
"esModuleInterop": true,
"strict": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"downlevelIteration": true,
"isolatedModules": true
},
"include": ["src/**/*", "tests/**/*"],
"exclude": ["node_modules", "lib"]
}
"compilerOptions": {
"target": "es5",
"moduleResolution": "node",
"outDir": "lib",
"noEmit": true,
"esModuleInterop": true,
"strict": true,
"skipLibCheck": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"downlevelIteration": true,
"isolatedModules": true
},
"include": ["src/**/*", "tests/**/*"],
"exclude": ["node_modules", "lib"]
}

0 comments on commit fa39e3d

Please sign in to comment.