mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
163 lines
4.4 KiB
JSON
Executable File
163 lines
4.4 KiB
JSON
Executable File
{
|
|
"name": "ss-webpack-boilerplate",
|
|
"version": "2.0.2",
|
|
"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 --https -d --config webpack.config.dev.js",
|
|
"dash": "cross-env NODE_ENV=development webpack-dashboard -- webpack-dev-server --config webpack.config.dev.js",
|
|
"prebuild": "rimraf app/client/dist",
|
|
"build": "cross-env NODE_ENV=production webpack -p --config webpack.config.prod.js --progress",
|
|
"lint:check": "eslint ./app/client/src --config .eslintrc && sass-lint ./app/client/src --config .sasslintrc -v -q",
|
|
"lint:fix": "eslint ./app/client/src --config .eslintrc --fix && sass-lint ./app/client/src --config .sasslintrc -v -q --fix",
|
|
"lint:js": "eslint ./app/client/src --config .eslintrc",
|
|
"lint:sass": "sass-lint ./app/client/src --config .sasslintrc -v -q",
|
|
"prunecaches": "rimraf ./node_modules/.cache/",
|
|
"postinstall": "npm run prunecaches",
|
|
"postuninstall": "npm run prunecaches",
|
|
"preinstall": "npx only-allow pnpm"
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"ie>=11"
|
|
],
|
|
"dependencies": {
|
|
"@a2nt/meta-lightbox": "^2.2.1",
|
|
"@a2nt/ss-bootstrap-ui-webpack-boilerplate": "^2.3.7",
|
|
"bootbox": "^4.4.0",
|
|
"bootstrap": "^4.5.0",
|
|
"bootstrap-confirmation2": "^4.1.0",
|
|
"bootstrap-datepicker": "^1.9.0",
|
|
"bootstrap-offcanvas": "^1.0.0",
|
|
"bootstrap-table": "^1.17.1",
|
|
"bootstrap-timepicker": "^0.5.2",
|
|
"exif-js": "^2.3.0",
|
|
"font-awesome": "^4.7.0",
|
|
"hammerjs": "^2.0.8",
|
|
"img-optimize-loader": "^1.0.6",
|
|
"inputmask": "^5.0.3",
|
|
"jquery": "^3.5.1",
|
|
"jquery-hammerjs": "^2.0.0",
|
|
"jquery-hoverintent": "*",
|
|
"jquery-zoom": "^1.7.21",
|
|
"jquery.appear": "^1.0.1",
|
|
"mapbox-gl": "^1.11.1",
|
|
"material-design-color": "^2.3.2",
|
|
"moment": "^2.27.0",
|
|
"offcanvas-bootstrap": "^2.5.2",
|
|
"popper.js": "*",
|
|
"select2": "^4.0.13",
|
|
"setimmediate": "^1.0.5",
|
|
"smooth-scroll": "^14.2.1",
|
|
"sticky-sidebar": "^3.3.1",
|
|
"tablednd": "^1.0.3",
|
|
"yarn": "^1.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@a2nt/image-sprite-webpack-plugin": "^0.2.5",
|
|
"@babel/core": "^7.11.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
|
"@babel/plugin-transform-react-jsx": "^7.10.4",
|
|
"@babel/preset-env": "^7.11.0",
|
|
"@google/markerclusterer": "^1.0.3",
|
|
"animate.css": "^3.7.2",
|
|
"autoprefixer": "^9.8.6",
|
|
"babel-eslint": "^8.2.6",
|
|
"babel-loader": "^8.1.0",
|
|
"copy-webpack-plugin": "^4.6.0",
|
|
"croppie": "^2.6.5",
|
|
"cross-env": "^5.2.1",
|
|
"css-loader": "^3.6.0",
|
|
"eslint": "^4.19.1",
|
|
"eslint-plugin-import": "^2.22.0",
|
|
"eslint-plugin-jquery": "^1.5.1",
|
|
"eslint-plugin-react": "^7.20.5",
|
|
"exports-loader": "^0.7.0",
|
|
"favicons-webpack-plugin": "0.0.9",
|
|
"file-loader": "^5.1.0",
|
|
"font-awesome": "^4.7.0",
|
|
"hard-source-webpack-plugin": "^0.13.1",
|
|
"html-webpack-plugin": "^4.3.0",
|
|
"imagemin-gifsicle": "^7.0.0",
|
|
"imagemin-jpegtran": "^6.0.0",
|
|
"imagemin-optipng": "^7.1.0",
|
|
"imagemin-svgo": "^7.1.0",
|
|
"imagemin-webp": "^6.0.0",
|
|
"imagemin-webpack": "^5.1.1",
|
|
"loglevel": "^1.6.8",
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
"node-sass": "^4.14.1",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
"postcss-loader": "^3.0.0",
|
|
"react-hot-loader": "^4.12.21",
|
|
"resolve-url-loader": "^3.1.1",
|
|
"rimraf": "^2.7.1",
|
|
"routie": "0.0.1",
|
|
"sass-lint": "^1.13.1",
|
|
"sass-lint-fix": "^1.12.1",
|
|
"sass-loader": "^8.0.2",
|
|
"script-ext-html-webpack-plugin": "^2.1.4",
|
|
"style-loader": "^0.19.1",
|
|
"svg-url-loader": "^2.3.3",
|
|
"terser-webpack-plugin": "^2.3.7",
|
|
"url-loader": "^0.6.2",
|
|
"webpack": "^4.44.1",
|
|
"webpack-cli": "^3.3.12",
|
|
"webpack-dev-server": "^3.11.0",
|
|
"webpack-manifest-plugin": "^1.3.2",
|
|
"webpack-merge": "^4.2.2"
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
}
|