2018-02-05 12:11:01 +01:00
|
|
|
{
|
2020-02-07 20:51:42 +01:00
|
|
|
"name": "ss-webpack-boilerplate",
|
2020-06-19 02:20:43 +02:00
|
|
|
"version": "2.2.1",
|
2020-02-07 20:51:42 +01:00
|
|
|
"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",
|
2020-02-25 07:51:04 +01:00
|
|
|
"lint:sass": "sass-lint ./app/client/src --config .sasslintrc -v -q",
|
|
|
|
"prunecaches": "rimraf ./node_modules/.cache/",
|
|
|
|
"postinstall": "npm run prunecaches",
|
2020-05-14 17:57:18 +02:00
|
|
|
"postuninstall": "npm run prunecaches",
|
|
|
|
"preinstall": "npx only-allow pnpm"
|
2020-02-07 20:51:42 +01:00
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"defaults",
|
|
|
|
"ie>=11"
|
|
|
|
],
|
|
|
|
"dependencies": {
|
2020-06-19 02:19:33 +02:00
|
|
|
"@a2nt/meta-lightbox": "^2.2.1",
|
|
|
|
"@a2nt/ss-bootstrap-ui-webpack-boilerplate": "^2.2.1",
|
2020-05-14 17:57:18 +02:00
|
|
|
"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.16.0",
|
|
|
|
"bootstrap-timepicker": "^0.5.2",
|
2020-03-19 22:56:32 +01:00
|
|
|
"font-awesome": "^4.7.0",
|
2020-05-14 17:57:18 +02:00
|
|
|
"hammerjs": "^2.0.8",
|
2020-04-02 02:20:17 +02:00
|
|
|
"inputmask": "^5.0.3",
|
2020-05-14 17:57:18 +02:00
|
|
|
"jquery": "^3.5.1",
|
|
|
|
"jquery-hammerjs": "^2.0.0",
|
|
|
|
"jquery-hoverintent": "*",
|
|
|
|
"jquery-zoom": "^1.7.21",
|
|
|
|
"jquery.appear": "^1.0.1",
|
2020-06-15 20:48:26 +02:00
|
|
|
"mapbox-gl": "^1.11.0",
|
2020-05-14 17:57:18 +02:00
|
|
|
"material-design-color": "^2.3.2",
|
|
|
|
"popper.js": "*",
|
2020-05-14 19:38:35 +02:00
|
|
|
"select2": "^4.0.13",
|
2020-05-14 17:57:18 +02:00
|
|
|
"smooth-scroll": "^14.2.1",
|
|
|
|
"sticky-sidebar": "^3.3.1",
|
2020-04-02 02:20:17 +02:00
|
|
|
"yarn": "^1.22.4"
|
2020-02-07 20:51:42 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@a2nt/image-sprite-webpack-plugin": "^0.2.5",
|
2020-06-15 20:48:26 +02:00
|
|
|
"@babel/core": "^7.10.2",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.10.1",
|
|
|
|
"@babel/plugin-transform-react-jsx": "^7.10.1",
|
|
|
|
"@babel/preset-env": "^7.10.2",
|
2020-02-07 20:51:42 +01:00
|
|
|
"@google/markerclusterer": "^1.0.3",
|
2020-05-14 19:38:35 +02:00
|
|
|
"animate.css": "^3.7.2",
|
2020-05-24 09:04:07 +02:00
|
|
|
"ansi-html": "^0.0.7",
|
|
|
|
"ansi-regex": "^5.0.0",
|
|
|
|
"autoprefixer": "^9.8.0",
|
2020-02-12 21:31:59 +01:00
|
|
|
"babel-eslint": "^8.2.6",
|
2020-04-02 05:24:55 +02:00
|
|
|
"babel-loader": "^8.1.0",
|
2020-02-07 20:51:42 +01:00
|
|
|
"copy-webpack-plugin": "^4.6.0",
|
2020-06-18 01:25:50 +02:00
|
|
|
"croppie": "^2.6.5",
|
2020-02-07 20:51:42 +01:00
|
|
|
"cross-env": "^5.2.1",
|
2020-06-15 20:48:26 +02:00
|
|
|
"css-loader": "^3.6.0",
|
2020-05-14 19:38:35 +02:00
|
|
|
"eslint": "^4.19.1",
|
2020-06-15 20:48:26 +02:00
|
|
|
"eslint-plugin-import": "^2.21.2",
|
2020-02-07 20:51:42 +01:00
|
|
|
"eslint-plugin-jquery": "^1.5.1",
|
2020-05-14 14:06:58 +02:00
|
|
|
"eslint-plugin-react": "^7.20.0",
|
2020-02-07 20:51:42 +01:00
|
|
|
"exports-loader": "^0.7.0",
|
|
|
|
"favicons-webpack-plugin": "0.0.9",
|
2020-04-02 02:20:17 +02:00
|
|
|
"file-loader": "^5.1.0",
|
2020-02-07 20:51:42 +01:00
|
|
|
"font-awesome": "^4.7.0",
|
2020-02-25 07:23:49 +01:00
|
|
|
"hard-source-webpack-plugin": "^0.13.1",
|
2020-05-24 09:04:07 +02:00
|
|
|
"html-entities": "^1.3.1",
|
2020-05-14 14:06:58 +02:00
|
|
|
"html-webpack-plugin": "^4.3.0",
|
2020-02-07 20:51:42 +01:00
|
|
|
"imagemin-gifsicle": "^7.0.0",
|
|
|
|
"imagemin-jpegtran": "^6.0.0",
|
|
|
|
"imagemin-optipng": "^7.1.0",
|
2020-04-02 02:20:17 +02:00
|
|
|
"imagemin-svgo": "^7.1.0",
|
2020-02-07 20:51:42 +01:00
|
|
|
"imagemin-webpack": "^5.1.1",
|
2020-04-20 12:01:08 +02:00
|
|
|
"loglevel": "^1.6.8",
|
2020-04-02 02:20:17 +02:00
|
|
|
"mini-css-extract-plugin": "^0.9.0",
|
2020-05-14 14:06:58 +02:00
|
|
|
"node-sass": "^4.14.1",
|
2020-02-07 20:51:42 +01:00
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
2020-04-02 02:20:17 +02:00
|
|
|
"postcss-loader": "^3.0.0",
|
2020-05-14 17:57:18 +02:00
|
|
|
"react-hot-loader": "^4.12.21",
|
2020-04-02 02:20:17 +02:00
|
|
|
"resolve-url-loader": "^3.1.1",
|
2020-02-07 20:51:42 +01:00
|
|
|
"rimraf": "^2.7.1",
|
|
|
|
"routie": "0.0.1",
|
|
|
|
"sass-lint": "^1.13.1",
|
|
|
|
"sass-lint-fix": "^1.12.1",
|
2020-04-02 02:20:17 +02:00
|
|
|
"sass-loader": "^8.0.2",
|
2020-02-07 20:51:42 +01:00
|
|
|
"script-ext-html-webpack-plugin": "^2.1.4",
|
2020-05-24 09:04:07 +02:00
|
|
|
"sockjs-client": "^1.4.0",
|
|
|
|
"strip-ansi": "^6.0.0",
|
2020-05-14 19:38:35 +02:00
|
|
|
"style-loader": "^0.19.1",
|
2020-02-07 20:51:42 +01:00
|
|
|
"svg-url-loader": "^2.3.3",
|
2020-06-15 20:48:26 +02:00
|
|
|
"terser-webpack-plugin": "^2.3.7",
|
2020-02-07 20:51:42 +01:00
|
|
|
"url-loader": "^0.6.2",
|
2020-05-05 12:14:58 +02:00
|
|
|
"webpack": "^4.43.0",
|
2020-06-19 02:19:33 +02:00
|
|
|
"webpack-cli": "^3.3.12",
|
2020-05-14 19:38:35 +02:00
|
|
|
"webpack-dev-server": "^3.11.0",
|
2020-02-07 20:51:42 +01:00
|
|
|
"webpack-manifest-plugin": "^1.3.2",
|
2020-04-02 02:20:17 +02:00
|
|
|
"webpack-merge": "^4.2.2"
|
2020-02-07 20:51:42 +01:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2018-02-21 14:18:55 +01:00
|
|
|
}
|