mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
233 lines
6.9 KiB
JSON
Executable File
233 lines
6.9 KiB
JSON
Executable File
{
|
|
"name": "ss-webpack-boilerplate",
|
|
"version": "5.0.0",
|
|
"description": "Lets you create SilverStripe faster",
|
|
"author": "Tony Air <tony@twma.pro>",
|
|
"license": "MIT",
|
|
"private": false,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/a2nt/silverstripe-webpack"
|
|
},
|
|
"engines": {
|
|
"yarn": ">= 1.0.0"
|
|
},
|
|
"scripts": {
|
|
"start": "cross-env NODE_ENV=development webpack-dev-server --config webpack.config.serve.js",
|
|
"dash": "cross-env NODE_ENV=development webpack-dashboard -- webpack-dev-server --config webpack.config.serve.js",
|
|
"prebuild": "yarn lint:fix && yarn lint:check && rimraf ./app/client/dist",
|
|
"build": "cross-env NODE_ENV=production webpack --progress --stats-all",
|
|
"lint:fix": "eslint './app/client/src/**/*.js' -c eslint.config.json --fix",
|
|
"lint:js": "eslint './app/client/src/**/*.js' -c eslint.config.json",
|
|
"lint:scss": "sass-lint ./app/client/src/**/*.scss -c sass-lint.yml -v",
|
|
"lint:check": "yarn lint:js && yarn lint:scss",
|
|
"prunecaches": "rimraf ./node_modules/.cache/",
|
|
"postinstall": "npm run prunecaches",
|
|
"postuninstall": "npm run prunecaches",
|
|
"preinstall": "npx only-allow pnpm"
|
|
},
|
|
"resolutions": {
|
|
"colors": "1.4.0"
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"ie>=11"
|
|
],
|
|
"dependencies": {
|
|
"@a2nt/meta-lightbox-js": "^4.2.3",
|
|
"@a2nt/ss-bootstrap-ui-webpack-boilerplate-react": "^4.8.1",
|
|
"@angular/common": "^14.2.8",
|
|
"@angular/core": "^14.2.8",
|
|
"@apollo/client": "^3.7.1",
|
|
"@popperjs/core": "^2.11.6",
|
|
"@turf/clone": "^6.5.0",
|
|
"@turf/clusters-dbscan": "^6.5.0",
|
|
"@turf/clusters-kmeans": "^6.5.0",
|
|
"@turf/distance": "^6.5.0",
|
|
"@turf/helpers": "^6.5.0",
|
|
"@turf/invariant": "^6.5.0",
|
|
"@turf/meta": "^6.5.0",
|
|
"aos": "^2.3.4",
|
|
"apollo3-cache-persist": "^0.14.1",
|
|
"balanced-match": "^2.0.0",
|
|
"bootbox": "^5.5.3",
|
|
"bootstrap": "^5.2.2",
|
|
"brace-expansion": "^2.0.1",
|
|
"charming": "^3.0.2",
|
|
"density-clustering": "^1.3.0",
|
|
"eslint-scope": "^7.1.1",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"font-awesome": "^4.7.0",
|
|
"graphql": "^16.6.0",
|
|
"hammerjs": "^2.0.8",
|
|
"inputmask": "^5.0.7",
|
|
"kdbush": "^3.0.0",
|
|
"keyboardjs": "^2.7.0",
|
|
"localforage": "^1.10.0",
|
|
"localforage-cordovasqlitedriver": "^1.8.0",
|
|
"lodash.debounce": "^4.0.8",
|
|
"lodash.throttle": "^4.1.1",
|
|
"mapbox-gl": "^2.10.0",
|
|
"material-design-color": "^2.3.2",
|
|
"minimatch": "^5.1.0",
|
|
"moment": "^2.29.4",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-easy-swipe": "^0.0.22",
|
|
"react-tiny-oembed": "^1.1.0",
|
|
"redaxios": "^0.5.1",
|
|
"rxjs": "^7.5.7",
|
|
"select2": "^4.0.13",
|
|
"setimmediate": "^1.0.5",
|
|
"skmeans": "^0.11.3",
|
|
"supercluster": "^7.1.5",
|
|
"vanilla-calendar": "^1.0.30",
|
|
"vanillajs-datepicker": "^1.2.0",
|
|
"youtube-embed": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@a2nt/image-sprite-webpack-plugin": "^0.2.5",
|
|
"@babel/core": "^7.19.6",
|
|
"@babel/eslint-parser": "^7.19.1",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.19.4",
|
|
"@babel/plugin-syntax-jsx": "^7.18.6",
|
|
"@babel/plugin-syntax-top-level-await": "^7.14.5",
|
|
"@babel/plugin-transform-react-jsx": "^7.19.0",
|
|
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
"@babel/plugin-transform-typescript": "^7.20.0",
|
|
"@babel/preset-env": "^7.19.4",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@babel/runtime": "^7.20.0",
|
|
"@googlemaps/markerclusterer": "*",
|
|
"@sucrase/webpack-loader": "^2.0.0",
|
|
"@ungap/global-this": "^0.4.4",
|
|
"@wry/context": "^0.7.0",
|
|
"@wry/equality": "^0.5.3",
|
|
"@wry/trie": "^0.3.2",
|
|
"animate.css": "^4.1.1",
|
|
"ansi-html": "^0.0.9",
|
|
"ansi-html-community": "^0.0.8",
|
|
"ansi-regex": "^6.0.1",
|
|
"autoprefixer": "^10.4.13",
|
|
"babel-loader": "^8.2.5",
|
|
"classnames": "^2.3.2",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"croppie": "^2.6.5",
|
|
"cross-env": "^7.0.3",
|
|
"css-loader": "^6.7.1",
|
|
"css-minimizer-webpack-plugin": "^4.2.2",
|
|
"eslint": "^8.26.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jquery": "^1.5.1",
|
|
"eslint-plugin-react": "^7.31.10",
|
|
"events": "^3.3.0",
|
|
"exif-js": "^2.3.0",
|
|
"exports-loader": "^4.0.0",
|
|
"fast-equals": "^4.0.3",
|
|
"fast-json-stable-stringify": "^2.1.0",
|
|
"fast-levenshtein": "^3.0.0",
|
|
"fastest-levenshtein": "^1.0.16",
|
|
"favicons": "^6.2.2",
|
|
"favicons-webpack-plugin": "^5.0.2",
|
|
"file-loader": "^6.2.0",
|
|
"graphql-tag": "^2.12.6",
|
|
"hoist-non-react-statics": "^3.3.2",
|
|
"html-dom-parser": "^3.1.2",
|
|
"html-entities": "^2.3.3",
|
|
"html-loader": "^4.2.0",
|
|
"html-react-parser": "^3.0.4",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"img-optimize-loader": "^1.0.7",
|
|
"js-yaml": "^4.1.0",
|
|
"loglevel": "^1.8.0",
|
|
"mini-css-extract-plugin": "^2.6.1",
|
|
"msw": "^0.47.4",
|
|
"node-fetch": "^3.2.10",
|
|
"object-assign": "^4.1.1",
|
|
"optimism": "^0.16.1",
|
|
"optimize-css-assets-webpack-plugin": "^6.0.1",
|
|
"postcss-loader": "^7.0.1",
|
|
"prop-types": "^15.8.1",
|
|
"punycode": "^2.1.1",
|
|
"querystring": "^0.2.1",
|
|
"raw-loader": "^4.0.2",
|
|
"react-hot-loader": "^4.13.0",
|
|
"react-is": "^18.2.0",
|
|
"react-lifecycles-compat": "^3.0.4",
|
|
"regenerator-runtime": "^0.13.10",
|
|
"resolve-url-loader": "^5.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"routie": "0.0.1",
|
|
"sass": "*",
|
|
"sass-lint": "^1.13.1",
|
|
"sass-lint-auto-fix": "^0.21.2",
|
|
"sass-lint-fix": "^1.12.1",
|
|
"sass-loader": "^13.1.0",
|
|
"scheduler": "^0.23.0",
|
|
"shallowequal": "^1.1.0",
|
|
"strip-ansi": "^7.0.1",
|
|
"style-loader": "^3.3.1",
|
|
"sucrase": "^3.28.0",
|
|
"svg-url-loader": "^8.0.0",
|
|
"symbol-observable": "^4.0.0",
|
|
"terser-webpack-plugin": "^5.3.6",
|
|
"ts-invariant": "^0.10.3",
|
|
"tslib": "^2.4.1",
|
|
"url": "^0.11.0",
|
|
"url-loader": "^4.1.1",
|
|
"webpack": "^5.74.0",
|
|
"webpack-build-notifications": "^0.3.2",
|
|
"webpack-bundle-analyzer": "^4.7.0",
|
|
"webpack-cli": "^4.10.0",
|
|
"webpack-dev-server": "^4.11.1",
|
|
"webpack-manifest-plugin": "^5.0.0",
|
|
"webpack-merge": "^5.8.0",
|
|
"yarn": "^1.22.19",
|
|
"zen-observable": "^0.8.15"
|
|
},
|
|
"stylelint": {
|
|
"rules": {
|
|
"block-no-empty": null,
|
|
"color-no-invalid-hex": true,
|
|
"comment-empty-line-before": [
|
|
"always",
|
|
{
|
|
"ignore": [
|
|
"stylelint-commands",
|
|
"after-comment"
|
|
]
|
|
}
|
|
],
|
|
"declaration-colon-space-after": "always",
|
|
"indentation": [
|
|
4,
|
|
{
|
|
"except": [
|
|
"value"
|
|
]
|
|
}
|
|
],
|
|
"max-empty-lines": 2,
|
|
"rule-empty-line-before": [
|
|
"always",
|
|
{
|
|
"except": [
|
|
"first-nested"
|
|
],
|
|
"ignore": [
|
|
"after-comment"
|
|
]
|
|
}
|
|
],
|
|
"unit-whitelist": [
|
|
"em",
|
|
"rem",
|
|
"%",
|
|
"s",
|
|
"px"
|
|
]
|
|
}
|
|
}
|
|
}
|