feat: Add test command

This commit is contained in:
Simon 2023-05-17 16:45:50 +02:00
parent 673b293891
commit 449bec0bb4
1 changed files with 1 additions and 1 deletions

View File

@ -5,13 +5,13 @@
"author": "Weko",
"version": "1.0.0",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prebuild": "npm run clean",
"build": "node_modules/.bin/hugo/hugo --gc --minify",
"clean": "rm -rf public resources",
"lint": "npm run -s lint:scripts && npm run -s lint:styles",
"lint:scripts": "eslint assets/scripts",
"lint:styles": "stylelint \"assets/styles/**/*.{css,sass,scss,sss,less}\"",
"test": "npm run -s lint",
"postinstall": "hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugo"
},
"devDependencies": {