Clean scripts

This commit is contained in:
Aarni Halinen
2020-12-31 01:48:24 +02:00
parent d29a9f0d80
commit 1f8dc85293
+4 -8
View File
@@ -21,19 +21,15 @@
"homepage": "https://sik.ayy.fi",
"scripts": {
"build": "next build",
"build:server": "webpack -p --config=configs/webpack/prod.js --env.platform=server",
"build:client": "webpack -p --config=configs/webpack/prod.js --env.platform=client",
"lint": "npm run lint:es && npm run lint:css",
"lint:es": "eslint \"./src/**/*.{ts,tsx}\"",
"lint:es:fix": "eslint --fix \"./src/**/*.{ts,tsx}\"",
"lint:css": "stylelint \"./src/**/*.{ts,tsx}\"",
"start": "npm run start-dev",
"start-dev": "next dev",
"serve": "next start",
"start-prod": "npm run serve",
"start": "next dev",
"start-prod": "next start",
"test": "npm run test:e2e:verbose",
"test:e2e": "npm-run-all -p -r serve test:e2e:testcafe",
"test:e2e:verbose": "npm-run-all -p -r serve test:e2e:testcafe:verbose",
"test:e2e": "npm-run-all -p -r start-prod test:e2e:testcafe",
"test:e2e:verbose": "npm-run-all -p -r start-prod test:e2e:testcafe:verbose",
"test:e2e:testcafe": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome:headless tests/testcafe",
"test:e2e:testcafe:verbose": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome tests/testcafe"
},