mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
110 lines
3.5 KiB
JSON
Executable File
110 lines
3.5 KiB
JSON
Executable File
{
|
|
"name": "ss-webpack-boilerplate",
|
|
"version": "1.0.0",
|
|
"description": "Lets you create SilverStripe faster",
|
|
"author": "Tony Air <tony@twma.pro>",
|
|
"license": "MIT",
|
|
"private": false,
|
|
"engines": {
|
|
"yarn": ">= 1.0.0"
|
|
},
|
|
"scripts": {
|
|
"start": "cross-env NODE_ENV=development webpack-dev-server -d --config webpack.config.dev.js",
|
|
"dash": "cross-env NODE_ENV=development webpack-dashboard -- webpack-dev-server --config webpack.config.dev.js",
|
|
"prebuild": "rimraf build",
|
|
"build": "cross-env NODE_ENV=production webpack -p --config webpack.config.prod.js --progress"
|
|
},
|
|
"dependencies": {
|
|
"bootstrap": "twbs/bootstrap#>= 3.1.0",
|
|
"favicons-webpack-plugin": "^0.0.7",
|
|
"jquery": "^3.3.1",
|
|
"js-yaml": "^3.10.0",
|
|
"popper": "^1.0.1",
|
|
"popper.js": "^1.12.9"
|
|
},
|
|
"devDependencies": {
|
|
"exports-loader": "^0.7.0",
|
|
"favicons-webpack-plugin": "^0.0.7",
|
|
"@silverstripe/eslint-config": "0.0.2",
|
|
"autoprefixer": "^7.2.5",
|
|
"babel-core": "^6.26.0",
|
|
"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",
|
|
"browser-sync": "^2.23.6",
|
|
"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",
|
|
"extract-text-webpack-plugin": "^3.0.2",
|
|
"file-loader": "^1.1.5",
|
|
"html-webpack-plugin": "^2.30.1",
|
|
"laravel-mix": "^1.0",
|
|
"lost": "^8.2.0",
|
|
"node-sass": "^4.6.1",
|
|
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
|
"postcss-loader": "^2.0.10",
|
|
"react": "^16.2.0",
|
|
"react-dom": "^16.2.0",
|
|
"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",
|
|
"sass-loader": "^6.0.6",
|
|
"script-ext-html-webpack-plugin": "^1.8.8",
|
|
"style-loader": "^0.19.0",
|
|
"svg-url-loader": "^2.3.1",
|
|
"uglifyjs-webpack-plugin": "^1.1.6",
|
|
"url-loader": "^0.6.2",
|
|
"webpack": "^3.8.1",
|
|
"webpack-dashboard": "^1.1.1",
|
|
"webpack-dev-server": "^2.11.1",
|
|
"webpack-manifest-plugin": "^1.3.2",
|
|
"webpack-merge": "^4.1.1",
|
|
"worker-loader": "^1.1.0"
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
} |