mirror of
https://github.com/maputnik/editor.git
synced 2025-12-06 06:10:00 +00:00
This completes the migration to typescript of all the non react components code. The only changes introduced besides types are the type checks using `"something" in object` which narrows down types in typescript.
127 lines
3.8 KiB
JSON
127 lines
3.8 KiB
JSON
{
|
|
"name": "maputnik",
|
|
"version": "2.0.0-pre.2",
|
|
"description": "A MapLibre GL visual style editor",
|
|
"main": "''",
|
|
"scripts": {
|
|
"start": "vite",
|
|
"build": "tsc && vite build",
|
|
"lint": "eslint ./src --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0 && npm run lint-css",
|
|
"test": "cypress run",
|
|
"cy:open": "cypress open",
|
|
"lint-css": "stylelint \"src/styles/*.scss\"",
|
|
"storybook": "storybook dev -h 0.0.0.0 -p 6006",
|
|
"build-storybook": "storybook build -o build/storybook"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/maputnik/editor"
|
|
},
|
|
"author": "Lukas Martinelli",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/maputnik/editor#readme",
|
|
"dependencies": {
|
|
"@mapbox/mapbox-gl-rtl-text": "^0.2.3",
|
|
"@maplibre/maplibre-gl-style-spec": "^17.0.1",
|
|
"@mdi/js": "^6.6.96",
|
|
"@mdi/react": "^1.5.0",
|
|
"array-move": "^4.0.0",
|
|
"buffer": "^6.0.3",
|
|
"classnames": "^2.3.1",
|
|
"codemirror": "^5.65.2",
|
|
"color": "^4.2.3",
|
|
"detect-browser": "^5.3.0",
|
|
"file-saver": "^2.0.5",
|
|
"json-stringify-pretty-compact": "^3.0.0",
|
|
"json-to-ast": "^2.1.0",
|
|
"jsonlint": "github:josdejong/jsonlint#85a19d7",
|
|
"lodash": "^4.17.21",
|
|
"lodash.capitalize": "^4.2.1",
|
|
"lodash.clamp": "^4.0.3",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"lodash.get": "^4.4.2",
|
|
"lodash.isequal": "^4.5.0",
|
|
"lodash.throttle": "^4.1.1",
|
|
"mapbox-gl-inspect": "^1.3.1",
|
|
"maplibre-gl": "^2.4.0",
|
|
"maputnik-design": "github:maputnik/design#172b06c",
|
|
"ol": "^6.14.1",
|
|
"ol-mapbox-style": "^7.1.1",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^16.0.0",
|
|
"react-accessible-accordion": "^4.0.0",
|
|
"react-aria-menubutton": "^7.0.3",
|
|
"react-aria-modal": "^4.0.1",
|
|
"react-autobind": "^1.0.6",
|
|
"react-autocomplete": "^1.8.1",
|
|
"react-collapse": "^5.1.1",
|
|
"react-color": "^2.19.3",
|
|
"react-dom": "^16.0.0",
|
|
"react-file-reader-input": "^2.0.0",
|
|
"react-icon-base": "^2.1.2",
|
|
"react-icons": "^4.3.1",
|
|
"react-sortable-hoc": "^2.0.0",
|
|
"reconnecting-websocket": "^4.4.0",
|
|
"sass": "^1.50.0",
|
|
"slugify": "^1.6.5",
|
|
"string-hash": "^1.1.3",
|
|
"url": "^0.11.0"
|
|
},
|
|
"jshintConfig": {
|
|
"esversion": 6
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-recommended-scss",
|
|
"rules": {
|
|
"no-descending-specificity": null,
|
|
"media-feature-name-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreMediaFeatureNames": [
|
|
"prefers-reduced-motion"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-replace": "^5.0.5",
|
|
"@shellygo/cypress-test-utils": "^2.0.9",
|
|
"@storybook/addon-a11y": "^7.6.5",
|
|
"@storybook/addon-actions": "^7.6.5",
|
|
"@storybook/addon-links": "^7.6.5",
|
|
"@storybook/addon-storysource": "^7.6.5",
|
|
"@storybook/addons": "^7.6.5",
|
|
"@storybook/builder-vite": "^7.6.5",
|
|
"@storybook/react": "^7.6.5",
|
|
"@storybook/react-vite": "^7.6.5",
|
|
"@storybook/theming": "^7.6.5",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/lodash.isequal": "^4.5.8",
|
|
"@types/lodash.throttle": "^4.1.9",
|
|
"@types/react": "^16.14.52",
|
|
"@types/react-dom": "^16.9.24",
|
|
"@types/uuid": "^9.0.7",
|
|
"@vitejs/plugin-react": "^4.2.0",
|
|
"cors": "^2.8.5",
|
|
"cypress": "^13.6.1",
|
|
"eslint": "^8.53.0",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-react-refresh": "^0.4.4",
|
|
"express": "^4.17.3",
|
|
"istanbul": "^0.4.5",
|
|
"istanbul-lib-coverage": "^3.2.0",
|
|
"mocha": "^9.2.2",
|
|
"postcss": "^8.4.12",
|
|
"react-hot-loader": "^4.13.0",
|
|
"storybook": "^7.6.5",
|
|
"stylelint": "^14.6.1",
|
|
"stylelint-config-recommended-scss": "^6.0.0",
|
|
"stylelint-scss": "^4.2.0",
|
|
"typescript": "^5.3.3",
|
|
"uuid": "^8.3.2",
|
|
"vite": "^5.0.0"
|
|
}
|
|
}
|