Lots of tests needed fixing, but it seemed to be a whitespace parsing
error in the view files 🤔
50 lines
1.5 KiB
JSON
50 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": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"css-loader": "^3.2.0",
|
|
"husky": "^3.0.9",
|
|
"lint-staged": "^9.4.2",
|
|
"mini-css-extract-plugin": "^0.8.0",
|
|
"node-sass": "^4.13.0",
|
|
"pre-commit": "^1.1.3",
|
|
"sass-loader": "^8.0.0",
|
|
"style-loader": "^1.0.0",
|
|
"stylelint": "^11.1.1",
|
|
"stylelint-config-standard": "^19.0.0",
|
|
"webpack": "^4.41.2",
|
|
"webpack-cli": "^3.3.9"
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
}
|