-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
58 lines (58 loc) · 2.22 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "idml-app",
"private": true,
"version": "1.0.0",
"description": "Salesforce App",
"scripts": {
"sf:scratch:create": "sf org create scratch --definition-file config/moxygen-scratch-def.json --target-dev-hub Moxygen --set-default --alias Dev",
"sf:scratch:delete": "sf org delete scratch",
"sf:deploy": "sf project deploy start --source-dir moxygen",
"sf:validate": "sf project deploy validate --test-level RunLocalTests --source-dir moxygen",
"sf:codescan": "sf scanner run --target . --engine pmd -s 3 --normalize-severity",
"sf:apex:test": "sf apex run test --synchronous",
"sf:moxygen:scratch": "npm run sf:scratch:create && npm run sf:deploy",
"sf:moxygen:install": "npm run sf:deploy",
"sf:moxygen:install:package": "node ./scripts/js/install-moxygen.js",
"sf:moxygen:version:create": "sf package version create --package Moxygen --installation-key-bypass --wait 10",
"prettier": "prettier --plugin=prettier-plugin-apex --write \"**/*.{cls,trigger,apex}\"",
"prettier:verify": "prettier --plugin=prettier-plugin-apex --check \"**/*.{cls,trigger,apex}\"",
"test": "npm run sf:validate",
"postinstall": "husky install",
"pre-commit": "lint-staged",
"prepare": "husky install",
"build": "tsc"
},
"devDependencies": {
"@actions/core": "^1.11.1",
"@lwc/eslint-plugin-lwc": "^1.6.3",
"@prettier/plugin-xml": "^3.2.1",
"@salesforce/cli": "^2.71.6",
"@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": "^1.4.1",
"eslint": "^8.49.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.2.3",
"husky": "^8.0.0",
"lint-staged": "^14.0.1",
"prettier": "^3.4.2",
"prettier-plugin-apex": "^2.2.2"
},
"lint-staged": {
"**/*.{cls,trigger,apex}": [
"prettier --plugin=prettier-plugin-apex --write",
"sf scanner run --target . --engine pmd -s 3 --normalize-severity --target"
]
},
"apexdocs": {
"sourceDir": "moxygen",
"targetDir": "docs/apexdocs",
"scope": [
"public",
"global"
],
"sortAlphabetically": true,
"defaultGroupName": "Uncategorized"
}
}