mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 04:01:55 +01:00
d73add77e7
- new webpack dev server options - babel support for async functions in hooks - new uuid import style - automatically open browser for testing
174 lines
5.5 KiB
JSON
174 lines
5.5 KiB
JSON
{
|
|
"name": "maputnik",
|
|
"version": "1.7.0",
|
|
"description": "A MapboxGL visual style editor",
|
|
"main": "''",
|
|
"scripts": {
|
|
"stats": "webpack --config config/webpack.production.config.js --progress=profile --json > stats.json",
|
|
"build": "webpack --config config/webpack.production.config.js --progress=profile --color",
|
|
"profiling-build": "webpack --config config/webpack.profiling.config.js --progress=profile --color",
|
|
"test": "cross-env NODE_ENV=test wdio config/wdio.conf.js",
|
|
"test-watch": "cross-env NODE_ENV=test wdio config/wdio.conf.js --watch",
|
|
"start": "webpack-dev-server --progress=profile --color --config config/webpack.config.js",
|
|
"start-prod": "webpack-dev-server --progress=profile --color --config config/webpack.production.config.js",
|
|
"start-sandbox": "webpack-dev-server --disable-host-check --host 0.0.0.0 --progress=profile --color --config config/webpack.production.config.js",
|
|
"lint-js": "eslint --ext js --ext jsx src test",
|
|
"lint-css": "stylelint \"src/styles/*.scss\"",
|
|
"lint": "npm run lint-js && npm run lint-css",
|
|
"storybook": "start-storybook -h 0.0.0.0 -p 6006",
|
|
"build-storybook": "build-storybook -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": {
|
|
"@babel/runtime": "^7.17.9",
|
|
"@mapbox/mapbox-gl-rtl-text": "^0.2.3",
|
|
"@mapbox/mapbox-gl-style-spec": "^13.23.1",
|
|
"@mdi/react": "^1.5.0",
|
|
"array-move": "^4.0.0",
|
|
"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": "^1.13.2",
|
|
"mapbox-gl-inspect": "^1.3.1",
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"eslintConfig": {
|
|
"plugins": [
|
|
"react"
|
|
],
|
|
"extends": [
|
|
"plugin:react/recommended"
|
|
],
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"es6": true
|
|
},
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"impliedStrict": true,
|
|
"experimentalObjectRestSpread": true,
|
|
"jsx": true
|
|
}
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.9",
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
"@babel/plugin-transform-runtime": "^7.17.0",
|
|
"@babel/preset-env": "^7.16.11",
|
|
"@babel/preset-flow": "^7.16.7",
|
|
"@babel/preset-react": "^7.16.7",
|
|
"@mdi/js": "^6.6.96",
|
|
"@storybook/addon-a11y": "^6.4.20",
|
|
"@storybook/addon-actions": "^6.4.20",
|
|
"@storybook/addon-links": "^6.4.20",
|
|
"@storybook/addon-storysource": "^6.4.20",
|
|
"@storybook/addons": "^6.4.20",
|
|
"@storybook/react": "^6.4.20",
|
|
"@storybook/theming": "^6.4.20",
|
|
"@wdio/cli": "^7.19.3",
|
|
"@wdio/local-runner": "^7.19.3",
|
|
"@wdio/mocha-framework": "^7.19.3",
|
|
"@wdio/selenium-standalone-service": "^7.19.1",
|
|
"@wdio/spec-reporter": "^7.19.1",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-loader": "^8.2.4",
|
|
"babel-plugin-istanbul": "^6.1.1",
|
|
"babel-plugin-static-fs": "^3.0.0",
|
|
"copy-webpack-plugin": "^6.4.1",
|
|
"cors": "^2.8.5",
|
|
"cross-env": "^7.0.3",
|
|
"css-loader": "^5.2.7",
|
|
"eslint": "^8.12.0",
|
|
"eslint-plugin-react": "^7.29.4",
|
|
"express": "^4.17.3",
|
|
"html-webpack-inline-svg-plugin": "^2.3.0",
|
|
"html-webpack-plugin": "^4.5.2",
|
|
"istanbul": "^0.4.5",
|
|
"istanbul-lib-coverage": "^3.2.0",
|
|
"mkdirp": "^1.0.4",
|
|
"mocha": "^9.2.2",
|
|
"postcss": "^8.4.12",
|
|
"react-hot-loader": "^4.13.0",
|
|
"sass-loader": "^10.2.1",
|
|
"style-loader": "^2.0.0",
|
|
"stylelint": "^14.6.1",
|
|
"stylelint-config-recommended-scss": "^6.0.0",
|
|
"stylelint-scss": "^4.2.0",
|
|
"svg-inline-loader": "^0.8.2",
|
|
"transform-loader": "^0.2.4",
|
|
"typescript": "^4.6.3",
|
|
"uuid": "^8.3.2",
|
|
"webdriverio": "^7.19.3",
|
|
"webpack": "^4.46.0",
|
|
"webpack-bundle-analyzer": "^4.5.0",
|
|
"webpack-cleanup-plugin": "^0.5.1",
|
|
"webpack-cli": "^4.9.2",
|
|
"webpack-dev-server": "^4.8.1"
|
|
}
|
|
}
|