jonnybarnes.uk/package.json
Jonny Barnes 5ef23376be 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
2019-07-26 10:40:56 +01:00

49 lines
1.5 KiB
JSON

{
"private": true,
"name": "jbuk-frontend",
"version": "0.0.1",
"repository": "https://github.com/jonnybarnes/jonnybarnes.uk",
"license": "CC0-1.0",
"dependencies": {
"normalize.css": "^8.0.1",
"puppeteer": "^1.18.1"
},
"devDependencies": {
"css-loader": "^3.1.0",
"husky": "^3.0.0",
"lint-staged": "^9.2.0",
"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/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",
"webpack": "webpack"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./resources/es6/*.js": [
"eslint --fix",
"git add"
],
"*.scss": [
"stylelint --syntax=scss --fix",
"git add"
]
}
}