Skip to content

Commit

Permalink
chore: update scripts + remove unused deps + remove husky
Browse files Browse the repository at this point in the history
  • Loading branch information
wazolab committed Jan 16, 2024
1 parent 4eb9495 commit 68ffbbe
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 1,949 deletions.
4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

18 changes: 6 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
"node": ">= 18.0.0 < 20.0.0"
},
"scripts": {
"prepare": "yarn nuxi prepare",
"prepare": "nuxt prepare",
"build-config": "npx vite-node bin/build-config.ts > vidos-config.json",
"build-fixture": "ruby poi_explode.rb cypress/fixtures/teritorio/references/pois.geojson",
"dev": "TYPESCRIPT_CHECK=true yarn nuxi dev",
"build": "TYPESCRIPT_CHECK=true yarn prepare && yarn nuxi build",
"dev": "nuxt dev",
"build": "nuxt build",
"build:histoire": "rm -fr __screenshots__/current/ && mkdir -p __screenshots__/current/ && yarn histoire build",
"generate": "yarn nuxi generate",
"start": "CONFIG=${CONFIG:-$PWD/vidos-config.json} yarn nuxi start",
"generate": "nuxt generate",
"start": "CONFIG=${CONFIG:-$PWD/vidos-config.json} nuxt start",
"start:histoire": "CONFIG=vidos-config-empty.json yarn histoire dev",
"start:cypress": "CONFIG=vidos-config-empty.json yarn build-fixture && yarn run cypress open",
"lint": "yarn lint:js && yarn lint:style",
Expand All @@ -25,7 +25,7 @@
"test:histoire:report": "yarn build:histoire && npx --yes -- reg-cli __screenshots__/current __screenshots__/actual __screenshots__/diff -R __screenshots__/diff/index.html -J __screenshots__/diff/index.json --thresholdPixel 5 --matchingThreshold 0.3 --extendedErrors || exit 0",
"test:histoire:check-report": "cat __screenshots__/diff/index.json | jq --exit-status '.failedItems + .newItems + .deletedItems | length == 0'",
"test:histoire": "yarn test:histoire:report && yarn test:histoire:check-report",
"postinstall": "[[ -d '.git' ]] && husky install || true"
"postinstall": "nuxt prepare"
},
"dependencies": {
"@fortawesome/vue-fontawesome": "^3.0.3",
Expand Down Expand Up @@ -88,24 +88,18 @@
"geojson": "^0.5.0",
"histoire": "^0.16.2",
"html-validate": "^8.0.5",
"husky": "^8.0.3",
"json-loader": "^0.5.7",
"loader-utils": "^3.2.1",
"lodash.get": "^4.4.2",
"msw": "^1.2.2",
"node-sass": "^9.0.0",
"nuxi": "^3.5.3",
"patch-package": "^7.0.0",
"postcss": "^8.4.24",
"postinstall-postinstall": "^2.1.0",
"reg-suit": "^0.12.1",
"sass": "^1.63.4",
"sass-loader": "^13.3.2",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^4.7.0",
"tailwindcss": "^3.3.2",
"ts-node": "^10.9.1",
"typescript": "^5.1.3",
"vite-plugin-vuetify": "^1.0.2",
"vue-tsc": "^1.8.0"
Expand Down
Loading

0 comments on commit 68ffbbe

Please sign in to comment.