-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
98 lines (98 loc) · 3.29 KB
/
package.json
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
{
"name": "@terrestris/react-util",
"version": "10.0.1",
"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 <[email protected]>",
"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:dist && 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": "^3.0.0",
"lodash": "^4.17.21",
"moment": "^2.30.1"
},
"devDependencies": {
"@babel/core": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"@babel/preset-react": "^7.24.6",
"@babel/preset-typescript": "^7.24.6",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.13.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@stylistic/eslint-plugin": "^2.9.0",
"@terrestris/eslint-config-typescript": "^7.0.0",
"@terrestris/eslint-config-typescript-react": "^3.0.0",
"@terrestris/ol-util": "^21.0.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.0",
"@types/geojson": "^7946.0.14",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.10.0",
"copyfiles": "^2.4.1",
"eslint": "^9.13.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^5.1.0-rc-fb9a90fa48-20240614",
"eslint-plugin-import": "^2.31.0",
"fs-extra": "^11.2.0",
"globals": "^15.11.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"jspdf": "^2.5.2",
"ol": "^10.1.0",
"ol-mapbox-style": "^12.3.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^6.0.1",
"semantic-release": "^24.0.0",
"ts-jest": "^29.1.3",
"typescript": "^5.6.3",
"typescript-eslint": "^8.10.0",
"watch": "^1.0.2"
},
"peerDependencies": {
"@terrestris/ol-util": ">=21",
"ol": ">=10",
"ol-mapbox-style": ">=12",
"react": ">=18",
"react-dom": ">=18"
}
}