-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
144 lines (144 loc) · 6.15 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "mobility-toolbox-js",
"license": "MIT",
"description": "Toolbox for JavaScript applications in the domains of mobility and logistics.",
"version": "3.1.0",
"homepage": "https://mobility-toolbox-js.geops.io/",
"exports": {
".": "./index.js",
"./api": "./api/index.js",
"./maplibre": "./maplibre/index.js",
"./ol": "./ol/index.js",
"./types": "./types/index.d.ts"
},
"dependencies": {
"@geoblocks/ol-maplibre-layer": "^1.0.2",
"@turf/helpers": "7.1.0",
"@turf/transform-rotate": "7.1.0",
"lodash.debounce": "4.0.8",
"lodash.throttle": "4.1.1",
"uuid": "11.0.3"
},
"peerDependencies": {
"maplibre-gl": ">=4",
"ol": ">=9"
},
"devDependencies": {
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@geops/eslint-config-react": "^1.3.2",
"@types/geojson": "7946.0.15",
"@types/lodash": "^4.17.13",
"@types/lodash.debounce": "4.0.9",
"@types/lodash.throttle": "4.1.9",
"@types/mapbox-gl": "3.4.1",
"@types/offscreencanvas": "2019.7.3",
"@types/topojson": "3.2.6",
"@types/uuid": "10.0.0",
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"cypress": "13.16.1",
"esbuild": "0.24.0",
"esdoc": "1.1.0",
"esdoc-ecmascript-proposal-plugin": "1.0.0",
"esdoc-publish-html-plugin": "1.1.2",
"esdoc-standard-plugin": "1.0.0",
"esdoc-typescript-plugin": "1.0.1",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "3.5.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.37.2",
"fixpack": "4.0.0",
"husky": "9.1.7",
"is-ci": "4.1.0",
"jest": "29.7.0",
"jest-canvas-mock": "2.5.2",
"jest-environment-jsdom": "29.7.0",
"jest-fetch-mock": "3.0.3",
"jest-serializer-html": "7.1.0",
"jest-transformer-svg": "2.0.2",
"jest-websocket-mock": "2.5.0",
"lint-staged": "15.2.11",
"maplibre-gl": "4.7.1",
"mock-socket": "9.3.1",
"next": "15.0.3",
"next-transpile-modules": "10.0.1",
"ol": "10.3.1",
"openapi-typescript": "6.7.5",
"prettier": "3.4.2",
"raw-loader": "4.0.2",
"sort-json": "2.0.1",
"standard-version": "9.5.0",
"start-server-and-test": "2.0.9",
"stylelint": "16.12.0",
"stylelint-config-recommended-scss": "14.1.0",
"stylelint-config-standard": "36.0.1",
"stylelint-scss": "6.10.0",
"ts-jest": "^29.2.5",
"typescript": "5.7.2",
"vite": "^6.0.3"
},
"scripts": {
"apidoc": "esdoc && cp apidoc/index.json doc/src/components/Esdoc",
"build": "yarn build:tsc && yarn esbuild:iife",
"build:tsc": "rm -rf build && yarn tsc && cp package.json build/ && cp README.md build/ && cp LICENSE build/ && cp -R src/types build/ && find build -type f -name '*.test.*' -delete",
"clean": "rm -rf .next && rm -rf doc/.next",
"coverage": "yarn test --watchAll=false --coverage --coverageDirectory=coverage",
"cy:open": "cypress open",
"cy:test": "start-server-and-test dev http://localhost:3000 'cypress run --browser chrome'",
"cy:test:chrome": "yarn build && start-server-and-test start http://localhost:3000 'cypress run --browser chrome'",
"cy:test:edge": "yarn build && start-server-and-test start http://localhost:3000 'cypress run --browser edge'",
"cy:test:firefox": "yarn build && start-server-and-test start http://localhost:3000 'cypress run --browser firefox'",
"dev": "vite",
"doc": "yarn build && yarn apidoc && cd doc && rm -rf node_modules/mobility-toolbox-js && yarn install --force && yarn build",
"doc:dev": "yarn clean && yarn build && yarn apidoc && yarn doc:dev:examples",
"doc:dev:examples": "yarn clean && yarn build && cd doc && rm -rf node_modules/mobility-toolbox-js && yarn install --force && yarn dev",
"esbuild": "yarn esbuild:all && yarn esbuild:iife",
"esbuild:all": "esbuild src/index.js src/**/*.js src/**/*.ts src/**/**/*.js src/**/**/*.ts --target=chrome100 --outdir=build/ --loader:.js=jsx",
"esbuild:iife": "yarn esbuild:iife:unminify && yarn esbuild:iife:minify",
"esbuild:iife:base": "esbuild src/iife.js --bundle --sourcemap --target=chrome100",
"esbuild:iife:minify": "yarn esbuild:iife:base --minify --outfile=build/mbt.min.js",
"esbuild:iife:unminify": "yarn esbuild:iife:base --outfile=build/mbt.js",
"format": "prettier --write 'src/**/*.js' 'src/**/*.test.js' && eslint src/**/*.js src/**/*.test.js src/**/*.ts --fix && stylelint 'src/**/*.css' 'src/**/*.scss' --fix --allow-empty-input",
"lint": "eslint src/**/*.js src/**/*.ts && stylelint src/**/*.css src/**/*.scss --allow-empty-input",
"prepare": "is-ci || husky",
"publish:beta": "HUSKY=0 yarn release -- --prerelease beta --skip.changelog && yarn run build && cd build && HUSKY=0 yarn publish --tag beta && git push origin HEAD && git push --tags ",
"publish:beta:dryrun": "yarn release -- --prerelease beta --dry-run --skip.changelog",
"publish:public": "yarn release && yarn run build && cd build && HUSKY=0 yarn publish && git push origin HEAD && git push --tags ",
"publish:public:dryrun": "yarn release --dry-run",
"release": "standard-version",
"start": "yarn doc && cd doc && yarn start",
"start:examples": "cd doc && yarn build && yarn start",
"test": "TZ='UTC' jest ",
"test:watch": "yarn test --watchAll",
"tsc": "tsc",
"types:backend": "openapi-typescript https://developer.geops.io/swagger/routing.json --output src/types/routing.d.ts && openapi-typescript https://developer.geops.io/swagger/stops.json --output src/types/stops.d.ts",
"up": "yarn upgrade-interactive --latest"
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all",
"not ie <= 11",
"not android < 5"
],
"keywords": [
"mobility",
"realtime",
"routing",
"stops",
"toolbox"
],
"repository": {
"type": "git",
"url": "https://github.com/geops/mobility-toolbox-js"
},
"sideEffects": false
}