2018-02-05 12:11:01 +01:00
|
|
|
{
|
|
|
|
"name": "ss-webpack-boilerplate",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "Lets you create SilverStripe faster",
|
|
|
|
"author": "Tony Air <tony@twma.pro>",
|
|
|
|
"license": "MIT",
|
|
|
|
"private": false,
|
2018-02-21 14:18:55 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/a2nt/silverstripe-webpack"
|
|
|
|
},
|
2018-02-05 12:11:01 +01:00
|
|
|
"engines": {
|
|
|
|
"yarn": ">= 1.0.0"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2018-02-07 05:29:20 +01:00
|
|
|
"start": "cross-env NODE_ENV=development webpack-dev-server --https -d --config webpack.config.dev.js",
|
2018-02-05 12:11:01 +01:00
|
|
|
"dash": "cross-env NODE_ENV=development webpack-dashboard -- webpack-dev-server --config webpack.config.dev.js",
|
|
|
|
"prebuild": "rimraf build",
|
2018-02-22 12:48:28 +01:00
|
|
|
"build": "cross-env NODE_ENV=production webpack -p --config webpack.config.prod.js --progress",
|
|
|
|
"lint:check": "eslint ./site/src --config .eslintrc && sass-lint ./site/src --config .sasslintrc -v -q",
|
|
|
|
"lint:fix": "eslint ./site/src --config .eslintrc --fix && sass-lint ./site/src --config .sasslintrc -v -q --fix",
|
|
|
|
"lint:js": "eslint ./site/src --config .eslintrc",
|
|
|
|
"lint:sass": "sass-lint ./site/src --config .sasslintrc -v -q"
|
2018-02-05 12:11:01 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-02-22 12:48:28 +01:00
|
|
|
"bootbox.js": "makeusabrew/bootbox#*",
|
2018-04-21 05:36:06 +02:00
|
|
|
"bootstrap": "^4.1.0",
|
2018-02-22 12:48:28 +01:00
|
|
|
"bootstrap-offcanvas": "^1.0.0",
|
2018-03-24 11:45:31 +01:00
|
|
|
"core-util-is": "^1.0.2",
|
2018-02-21 14:18:55 +01:00
|
|
|
"font-awesome": "^4.7.0",
|
2018-04-21 05:36:06 +02:00
|
|
|
"foundation-emails": "github:zurb/foundation-emails#*",
|
2018-02-05 12:11:01 +01:00
|
|
|
"jquery": "^3.3.1",
|
2018-02-22 12:48:28 +01:00
|
|
|
"jquery-hammerjs": "^2.0.0",
|
2018-04-21 05:36:06 +02:00
|
|
|
"jquery-zoom": "^1.7.20",
|
|
|
|
"meta-lightbox": "^1.0.0",
|
2018-03-24 11:45:31 +01:00
|
|
|
"npm": "^5.8.0",
|
2018-02-22 12:48:28 +01:00
|
|
|
"offcanvas-bootstrap": "^2.5.2",
|
2018-04-21 05:36:06 +02:00
|
|
|
"popper.js": "^1.14.3",
|
|
|
|
"yarn": "^1.6.0"
|
2018-02-05 12:11:01 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-02-22 12:48:28 +01:00
|
|
|
"animate.css": "^3.5.2",
|
|
|
|
"autoprefixer": "^7.2.5",
|
2018-02-05 12:11:01 +01:00
|
|
|
"babel-core": "^6.26.0",
|
2018-04-21 05:36:06 +02:00
|
|
|
"babel-eslint": "^8.2.3",
|
2018-02-05 12:11:01 +01:00
|
|
|
"babel-loader": "^7.1.2",
|
|
|
|
"babel-plugin-transform-react-jsx": "^6.24.1",
|
|
|
|
"babel-preset-es2015": "^6.24.1",
|
|
|
|
"babel-preset-react": "^6.24.1",
|
|
|
|
"babel-preset-stage-2": "^6.24.1",
|
2018-04-21 05:36:06 +02:00
|
|
|
"browser-sync": "^2.23.7",
|
2018-02-05 12:11:01 +01:00
|
|
|
"browser-sync-webpack-plugin": "^1.2.0",
|
|
|
|
"copy-webpack-plugin": "^4.3.1",
|
|
|
|
"copyfiles": "^1.2.0",
|
|
|
|
"cross-env": "^5.1.3",
|
|
|
|
"css-loader": "^0.28.9",
|
2018-02-21 14:18:55 +01:00
|
|
|
"eslint": "^4.18.1",
|
2018-04-21 05:36:06 +02:00
|
|
|
"eslint-plugin-import": "^2.11.0",
|
|
|
|
"eslint-plugin-jquery": "^1.3.1",
|
2018-02-22 12:48:28 +01:00
|
|
|
"eslint-plugin-react": "^7.7.0",
|
2018-02-21 14:18:55 +01:00
|
|
|
"exports-loader": "^0.7.0",
|
2018-02-05 12:11:01 +01:00
|
|
|
"extract-text-webpack-plugin": "^3.0.2",
|
2018-02-21 14:18:55 +01:00
|
|
|
"favicons-webpack-plugin": "0.0.7",
|
2018-02-05 12:11:01 +01:00
|
|
|
"file-loader": "^1.1.5",
|
|
|
|
"html-webpack-plugin": "^2.30.1",
|
|
|
|
"laravel-mix": "^1.0",
|
|
|
|
"lost": "^8.2.0",
|
2018-02-21 14:18:55 +01:00
|
|
|
"node-sass": "^4.7.2",
|
|
|
|
"object-assign": "^4.1.1",
|
2018-03-24 11:45:31 +01:00
|
|
|
"optimize-css-assets-webpack-plugin": "^4.0.0",
|
2018-04-21 05:36:06 +02:00
|
|
|
"postcss-loader": "^2.1.4",
|
|
|
|
"react": "^16.3.2",
|
|
|
|
"react-dom": "^16.3.2",
|
2018-02-05 12:11:01 +01:00
|
|
|
"react-hot-loader": "^3.1.3",
|
|
|
|
"redux": "^3.7.2",
|
|
|
|
"redux-devtools-extension": "^2.13.2",
|
|
|
|
"resolve-url-loader": "^2.2.1",
|
|
|
|
"rimraf": "^2.6.2",
|
2018-02-22 12:48:28 +01:00
|
|
|
"sass-lint": "^1.12.1",
|
|
|
|
"sass-lint-fix": "^1.12.1",
|
2018-02-05 12:11:01 +01:00
|
|
|
"sass-loader": "^6.0.6",
|
|
|
|
"script-ext-html-webpack-plugin": "^1.8.8",
|
|
|
|
"style-loader": "^0.19.0",
|
|
|
|
"svg-url-loader": "^2.3.1",
|
2018-04-21 05:36:06 +02:00
|
|
|
"uglifyjs-webpack-plugin": "^1.2.5",
|
2018-02-05 12:11:01 +01:00
|
|
|
"url-loader": "^0.6.2",
|
|
|
|
"webpack": "^3.8.1",
|
|
|
|
"webpack-dev-server": "^2.11.1",
|
|
|
|
"webpack-manifest-plugin": "^1.3.2",
|
2018-02-21 14:18:55 +01:00
|
|
|
"webpack-merge": "^4.1.1"
|
2018-02-05 12:11:01 +01:00
|
|
|
},
|
|
|
|
"stylelint": {
|
|
|
|
"rules": {
|
|
|
|
"block-no-empty": null,
|
|
|
|
"color-no-invalid-hex": true,
|
|
|
|
"comment-empty-line-before": [
|
2018-02-21 14:18:55 +01:00
|
|
|
"always",
|
|
|
|
{
|
2018-02-05 12:11:01 +01:00
|
|
|
"ignore": [
|
|
|
|
"stylelint-commands",
|
|
|
|
"after-comment"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"declaration-colon-space-after": "always",
|
|
|
|
"indentation": [
|
2018-02-21 14:18:55 +01:00
|
|
|
4,
|
|
|
|
{
|
2018-02-05 12:11:01 +01:00
|
|
|
"except": [
|
|
|
|
"value"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"max-empty-lines": 2,
|
|
|
|
"rule-empty-line-before": [
|
2018-02-21 14:18:55 +01:00
|
|
|
"always",
|
|
|
|
{
|
2018-02-05 12:11:01 +01:00
|
|
|
"except": [
|
|
|
|
"first-nested"
|
|
|
|
],
|
|
|
|
"ignore": [
|
|
|
|
"after-comment"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"unit-whitelist": [
|
|
|
|
"em",
|
|
|
|
"rem",
|
|
|
|
"%",
|
|
|
|
"s",
|
|
|
|
"px"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2018-02-21 14:18:55 +01:00
|
|
|
}
|