Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.25 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "@terrestris/react-util",
"version": "12.4.4",
"description": "A set of utilities enhancing the development of react applications.",
"keywords": [
"react",
"util"
],
"homepage": "https://github.com/terrestris/react-util#readme",
"bugs": {
"url": "https://github.com/terrestris/react-util/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/terrestris/react-util.git"
},
"license": "BSD-2-Clause",
"author": "terrestris GmbH & Co. KG <info@terrestris.de>",
"type": "module",
"main": "./dist/index.js",
"files": [
"src",
"dist"
],
"scripts": {
"build": "npm run clean:dist && npm run build:dist && npm run build:declaration && copyfiles -u 1 src/**/*.png src/**/*.svg src/**/*.less dist/",
"build:declaration": "tsc --emitDeclarationOnly",
"build:dist": "tsc -p tsconfig.json",
"check": "npm run typecheck && npm run lint && npm test",
"clean": "npm run clean:dist && npm run clean:coverage",
"clean:dist": "rimraf ./dist/*",
"clean:coverage": "rimraf ./coverage/*",
"lint": "npm run clean && eslint -c eslint.config.mjs",
"lint:fix": "npm run lint -- --fix",
"pretest": "npm run clean:dist && npm run typecheck && npm run lint",
"test": "npm run clean:coverage && jest --maxWorkers=4 --coverage",
"test-ci": "npm run clean:coverage && jest --ci --coverage -c jest.config.cjs",
"test-watch": "jest --watch -c jest.config.cjs",
"typecheck": "tsc --project tsconfig.json --noEmit",
"watch:buildto": "node watchBuild.cjs"
},
"dependencies": {
"@camptocamp/inkmap": "^1.4.0",
"@terrestris/base-util": "^4.0.0",
"jsts": "^2.12.1",
"lodash": "^4.17.21",
"moment": "^2.30.1"
},
"devDependencies": {
"@babel/core": "7.29.7",
"@babel/preset-env": "7.29.7",
"@babel/preset-react": "7.29.7",
"@babel/preset-typescript": "7.29.7",
"@eslint/eslintrc": "3.3.7",
"@eslint/js": "9.39.5",
"@semantic-release/changelog": "7.0.0",
"@semantic-release/git": "11.0.1",
"@stylistic/eslint-plugin": "5.10.0",
"@terrestris/eslint-config-typescript": "10.0.0",
"@terrestris/eslint-config-typescript-react": "6.0.0",
"@terrestris/ol-util": "21.3.2",
"@testing-library/jest-dom": "7.0.1",
"@testing-library/react": "16.3.3",
"@types/geojson": "7946.0.16",
"@types/jest": "29.5.14",
"@types/react": "18.3.31",
"@types/react-dom": "18.3.7",
"@typescript-eslint/eslint-plugin": "8.72.0",
"@typescript-eslint/parser": "8.72.0",
"copyfiles": "2.4.1",
"eslint": "9.39.5",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "5.2.0",
"fs-extra": "11.4.1",
"globals": "17.13.0",
"jest": "29.7.0",
"jest-environment-jsdom": "30.5.2",
"jest-fetch-mock": "4.2.0",
"jspdf": "^3.0.1",
"ol": "10.10.0",
"ol-mapbox-style": "12.6.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"rimraf": "6.1.3",
"semantic-release": "25.0.9",
"ts-jest": "29.4.15",
"typescript": "5.9.3",
"typescript-eslint": "8.72.0",
"watch": "1.0.2"
},
"peerDependencies": {
"@terrestris/ol-util": ">=21",
"ol": ">=10",
"ol-mapbox-style": ">=12",
"react": ">=18",
"react-dom": ">=18"
}
}