48 lines
1.5 KiB
JSON
48 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": "^5.3.1",
|
|
"stylelint-a11y": "^1.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"css-loader": "^5.0.0",
|
|
"husky": "^4.3.0",
|
|
"lint-staged": "^10.4.0",
|
|
"mini-css-extract-plugin": "^1.0.0",
|
|
"pre-commit": "^1.1.3",
|
|
"stylelint": "^13.7.2",
|
|
"stylelint-config-standard": "^20.0.0",
|
|
"stylelint-webpack-plugin": "^2.1.1",
|
|
"webpack": "^5.3.2",
|
|
"webpack-cli": "^4.0.0"
|
|
},
|
|
"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-orig": "npm run make:css && npm run make:js",
|
|
"make": "npm run lint:sass && npm run webpack",
|
|
"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"
|
|
],
|
|
"*.scss": [
|
|
"stylelint --syntax=scss"
|
|
]
|
|
}
|
|
}
|