@maplat/transform 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +87 -79
package/package.json CHANGED
@@ -1,79 +1,87 @@
1
- {
2
- "name": "@maplat/transform",
3
- "private": false,
4
- "publishConfig": {
5
- "access": "public"
6
- },
7
- "version": "0.2.0",
8
- "description": "A JavaScript library that performs coordinate transformation between two plane coordinate systems using transformation definitions generated by Maplat.",
9
- "type": "module",
10
- "main": "./dist/maplat_transform.cjs",
11
- "module": "./dist/maplat_transform.js",
12
- "browser": "./dist/maplat_transform.umd.js",
13
- "types": "./dist/index.d.ts",
14
- "exports": {
15
- ".": {
16
- "import": "./dist/maplat_transform.js",
17
- "require": "./dist/maplat_transform.cjs",
18
- "browser": "./dist/maplat_transform.umd.js",
19
- "types": "./dist/index.d.ts"
20
- }
21
- },
22
- "files": [
23
- "dist",
24
- "src",
25
- "README.md"
26
- ],
27
- "scripts": {
28
- "dev": "vite",
29
- "build": "npm run typecheck && cross-env BUILD_MODE=package vite build",
30
- "typecheck": "tsc --noEmit --allowImportingTsExtensions",
31
- "deploy": "cp public/*.html ./ && tsc && vite build",
32
- "test": "vitest run",
33
- "test:watch": "vitest",
34
- "coverage": "vitest run --coverage",
35
- "lint": "eslint src tests",
36
- "prepublishOnly": "npm run build"
37
- },
38
- "repository": {
39
- "type": "git",
40
- "url": "git+https://github.com/code4history/MaplatTransform.git"
41
- },
42
- "author": "Code for History",
43
- "license": "Maplat Limited License 1.1",
44
- "bugs": {
45
- "url": "https://github.com/code4history/MaplatTransform/issues"
46
- },
47
- "homepage": "https://github.com/code4history/MaplatTransform/wiki",
48
- "keywords": [
49
- "projection",
50
- "GIS",
51
- "Maplat",
52
- "MaplatTransform"
53
- ],
54
- "peerDependencies": {},
55
- "devDependencies": {
56
- "@eslint/js": "^9.17.0",
57
- "@testing-library/jest-dom": "^6.6.3",
58
- "@types/geojson": "^7946.0.15",
59
- "@types/node": "^22.10.2",
60
- "@typescript-eslint/eslint-plugin": "^8.18.2",
61
- "@typescript-eslint/parser": "^8.18.2",
62
- "@vitest/coverage-v8": "^1.6.0",
63
- "cross-env": "^7.0.3",
64
- "eslint": "^9.17.0",
65
- "eslint-config-prettier": "^9.1.0",
66
- "jest-matcher-deep-close-to": "^3.0.2",
67
- "jsdom": "^25.0.1",
68
- "prettier": "^3.4.2",
69
- "typescript": "^5.7.2",
70
- "vite": "^5.4.11",
71
- "vite-plugin-dts": "^4.4.0",
72
- "vitest": "^1.6.0"
73
- },
74
- "dependencies": {
75
- "@turf/boolean-point-in-polygon": "^7.2.0",
76
- "@turf/helpers": "7.2.0",
77
- "@turf/invariant": "^7.2.0"
78
- }
79
- }
1
+ {
2
+ "name": "@maplat/transform",
3
+ "private": false,
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "version": "0.2.2",
8
+ "description": "A JavaScript library that performs coordinate transformation between two plane coordinate systems using transformation definitions generated by Maplat.",
9
+ "type": "module",
10
+ "main": "./dist/maplat_transform.cjs",
11
+ "module": "./dist/maplat_transform.js",
12
+ "browser": "./dist/maplat_transform.umd.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/maplat_transform.js",
17
+ "require": "./dist/maplat_transform.cjs",
18
+ "browser": "./dist/maplat_transform.umd.js",
19
+ "types": "./dist/index.d.ts"
20
+ }
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "src",
25
+ "README.md"
26
+ ],
27
+ "scripts": {
28
+ "dev": "vite",
29
+ "build": "npm run typecheck && cross-env BUILD_MODE=package vite build",
30
+ "typecheck": "tsc --noEmit --allowImportingTsExtensions",
31
+ "deploy": "cp public/*.html ./ && tsc && vite build",
32
+ "test": "vitest run",
33
+ "test:watch": "vitest",
34
+ "coverage": "vitest run --coverage",
35
+ "lint": "eslint src tests",
36
+ "prepublishOnly": "npm run lint && npm run typecheck && npm run test && npm run build",
37
+ "version:bump": "node scripts/bump-version.js",
38
+ "version:sync": "node scripts/sync-version.js",
39
+ "publish:npm": "node scripts/publish-npm.js",
40
+ "publish:npm:dry": "node scripts/publish-npm.js --dry-run",
41
+ "publish:deno": "node scripts/publish-deno.js",
42
+ "publish:deno:dry": "node scripts/publish-deno.js --dry-run",
43
+ "publish:all": "node scripts/publish-all.js",
44
+ "publish:all:dry": "node scripts/publish-all.js --dry-run"
45
+ },
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/code4history/MaplatTransform.git"
49
+ },
50
+ "author": "Code for History",
51
+ "license": "Maplat Limited License 1.1",
52
+ "bugs": {
53
+ "url": "https://github.com/code4history/MaplatTransform/issues"
54
+ },
55
+ "homepage": "https://github.com/code4history/MaplatTransform/wiki",
56
+ "keywords": [
57
+ "projection",
58
+ "GIS",
59
+ "Maplat",
60
+ "MaplatTransform"
61
+ ],
62
+ "peerDependencies": {},
63
+ "devDependencies": {
64
+ "@eslint/js": "^9.17.0",
65
+ "@testing-library/jest-dom": "^6.6.3",
66
+ "@types/geojson": "^7946.0.15",
67
+ "@types/node": "^22.10.2",
68
+ "@typescript-eslint/eslint-plugin": "^8.18.2",
69
+ "@typescript-eslint/parser": "^8.18.2",
70
+ "@vitest/coverage-v8": "^1.6.0",
71
+ "cross-env": "^7.0.3",
72
+ "eslint": "^9.17.0",
73
+ "eslint-config-prettier": "^9.1.0",
74
+ "jest-matcher-deep-close-to": "^3.0.2",
75
+ "jsdom": "^25.0.1",
76
+ "prettier": "^3.4.2",
77
+ "typescript": "^5.7.2",
78
+ "vite": "^5.4.11",
79
+ "vite-plugin-dts": "^4.4.0",
80
+ "vitest": "^1.6.0"
81
+ },
82
+ "dependencies": {
83
+ "@turf/boolean-point-in-polygon": "^7.2.0",
84
+ "@turf/helpers": "7.2.0",
85
+ "@turf/invariant": "^7.2.0"
86
+ }
87
+ }