1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- {
- "name": "salesforce-app",
- "private": true,
- "version": "1.0.0",
- "description": "Salesforce App",
- "scripts": {
- "lint": "npm run lint:lwc && npm run lint:aura",
- "lint:aura": "eslint **/aura/**",
- "lint:lwc": "eslint **/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}\""
- },
- "devDependencies": {
- "@prettier/plugin-xml": "^0.12.0",
- "@salesforce/eslint-config-lwc": "^0.7.0",
- "@salesforce/eslint-plugin-aura": "^1.4.0",
- "@salesforce/sfdx-lwc-jest": "^0.9.2",
- "eslint": "^7.6.0",
- "eslint-config-prettier": "^6.11.0",
- "husky": "^4.2.1",
- "lint-staged": "^10.0.7",
- "prettier": "^2.0.5",
- "prettier-plugin-apex": "^1.6.0"
- },
- "husky": {
- "hooks": {
- "pre-commit": "lint-staged"
- }
- },
- "lint-staged": {
- "**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
- "prettier --write"
- ],
- "**/{aura|lwc}/**": [
- "eslint"
- ]
- }
- }
|