We just write the files directly in the public dir Then change the npm scripts to lint and compress them directly
23 lines
698 B
JSON
23 lines
698 B
JSON
{
|
|
"private": true,
|
|
"name": "jbuk-frontend",
|
|
"version": "0.0.1",
|
|
"repository": "https://github.com/jonnybarnes/jonnybarnes.uk",
|
|
"license": "CC0-1.0",
|
|
"devDependencies": {
|
|
"eslint": "^8.56.0",
|
|
"stylelint": "^16.0.2",
|
|
"stylelint-config-standard": "^35.0.0"
|
|
},
|
|
"scripts": {
|
|
"eslint": "eslint public/assets/js/*.js",
|
|
"stylelint": "stylelint public/assets/css/*.css",
|
|
"lint": "npm run eslint && npm run stylelint",
|
|
"compress": "./scripts/compress.sh",
|
|
"build": "npm run lint && npm run compress"
|
|
},
|
|
"dependencies": {
|
|
"@11ty/is-land": "^4.0.0",
|
|
"@zachleat/snow-fall": "^1.0.2"
|
|
}
|
|
}
|