From 24bc9ed9a98e3901200b53be9c0fe46d4f6f90a8 Mon Sep 17 00:00:00 2001 From: RupertBarrow Date: Sat, 18 Nov 2023 19:23:37 +0100 Subject: [PATCH] Slides v2 --- .husky/pre-commit | 4 ---- package.json | 41 ----------------------------------------- 2 files changed, 45 deletions(-) delete mode 100755 .husky/pre-commit delete mode 100644 package.json diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100755 index feac116..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npm run precommit \ No newline at end of file diff --git a/package.json b/package.json deleted file mode 100644 index 4b61632..0000000 --- a/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "salesforce-app", - "private": true, - "version": "1.0.0", - "description": "Salesforce App", - "scripts": { - "lint": "eslint **/{aura,lwc}/**", - "test": "npm run test:unit", - "test:unit": "sfdx-lwc-jest", - "test:unit:watch": "sfdx-lwc-jest --watch", - "test:unit:debug": "sfdx-lwc-jest --debug", - "test:unit:coverage": "sfdx-lwc-jest --coverage", - "prettier": "prettier --write \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"", - "prettier:verify": "prettier --list-different \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"", - "postinstall": "husky install", - "precommit": "lint-staged" - }, - "devDependencies": { - "@lwc/eslint-plugin-lwc": "^1.1.2", - "@prettier/plugin-xml": "^2.0.1", - "@salesforce/eslint-config-lwc": "^3.2.3", - "@salesforce/eslint-plugin-aura": "^2.0.0", - "@salesforce/eslint-plugin-lightning": "^1.0.0", - "@salesforce/sfdx-lwc-jest": "^1.1.0", - "eslint": "^8.11.0", - "eslint-plugin-import": "^2.25.4", - "eslint-plugin-jest": "^26.1.2", - "husky": "^7.0.4", - "lint-staged": "^12.3.7", - "prettier": "^2.6.0", - "prettier-plugin-apex": "^1.10.0" - }, - "lint-staged": { - "**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [ - "prettier --write" - ], - "**/{aura,lwc}/**": [ - "eslint" - ] - } -}