Work so far in refactoring front-end

- Mainly getting rid of existing css/js
- No longer linking to stuff like a11y.css
- Creating a FrontPageController to better deal with the home page
This commit is contained in:
Jonny Barnes 2019-07-26 10:40:56 +01:00
parent 30f9b0f557
commit 5ef23376be
135 changed files with 7461 additions and 100 deletions

View file

@ -9,18 +9,27 @@
"puppeteer": "^1.18.1"
},
"devDependencies": {
"css-loader": "^3.1.0",
"husky": "^3.0.0",
"lint-staged": "^9.2.0",
"pre-commit": "^1.1.3"
"mini-css-extract-plugin": "^0.8.0",
"node-sass": "^4.12.0",
"pre-commit": "^1.1.3",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"stylelint": "^10.1.0",
"webpack": "^4.36.1",
"webpack-cli": "^3.3.6"
},
"scripts": {
"compress": "scripts/compress",
"copy-dist": "cp ./node_modules/normalize.css/normalize.css ./public/assets/frontend/",
"lint:es6": "eslint resources/es6-orig/*.js",
"lint:sass": "stylelint --syntax=scss resources/sass-orig/**/*.scss",
"lint:es6": "eslint resources/es/*.js",
"lint:sass": "stylelint --syntax=scss resources/sass/**/*.scss",
"make": "npm run make:css && npm run make:js",
"make:css": "npm run lint:sass && npm run sass && npm run postcss",
"make:js": "npm run lint:es6 && npm run webpack && npm run uglifyjs"
"make:js": "npm run lint:es6 && npm run webpack && npm run uglifyjs",
"webpack": "webpack"
},
"husky": {
"hooks": {