feat: Add test command
This commit is contained in:
parent
673b293891
commit
449bec0bb4
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue