47 строки
1.5 KiB
JSON
47 строки
1.5 KiB
JSON
{
|
|
"name": "octoforce-actions",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"description": "A lightweight open-source Salesforce CI/CD framework built on the GitHub platform.",
|
|
"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": {
|
|
"@actions/core": "^1.10.1",
|
|
"@actions/github": "^5.1.1",
|
|
"@lwc/eslint-plugin-lwc": "^1.6.3",
|
|
"@prettier/plugin-xml": "^2.0.1",
|
|
"@salesforce/eslint-config-lwc": "^3.5.2",
|
|
"@salesforce/eslint-plugin-aura": "^2.1.0",
|
|
"@salesforce/eslint-plugin-lightning": "^1.0.0",
|
|
"@salesforce/sfdx-lwc-jest": "^5.0.0",
|
|
"eslint": "^8.49.0",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-jest": "^26.1.2",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^14.0.1",
|
|
"prettier": "^3.2.5",
|
|
"prettier-plugin-apex": "^2.0.1"
|
|
},
|
|
"overrides": {
|
|
"braces": "3.0.3"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}": [
|
|
"prettier --write"
|
|
],
|
|
"**/{aura,lwc}/**": [
|
|
"eslint"
|
|
]
|
|
}
|
|
}
|