-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 3.43 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 3.43 KB
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
{
"name": "apex-rollup",
"version": "1.7.45",
"description": "Fast, configurable, elastically scaling custom rollup solution. Apex Invocable action, one-liner Apex trigger/CMDT-driven logic, and scheduled Apex-ready.",
"repository": {
"type": "git",
"url": "https://github.com/jamessimone/apex-rollup"
},
"author": "james.simone",
"license": "MIT",
"devDependencies": {
"@prettier/plugin-xml": "3.4.2",
"@salesforce/cli": "2.129.8",
"@salesforce/eslint-config-lwc": "4.1.2",
"@salesforce/sfdx-lwc-jest": "7.9.0",
"husky": "9.1.7",
"lint-staged": "16.4.0",
"prettier": "3.8.1",
"prettier-plugin-apex": "2.2.6"
},
"keywords": [
"salesforce",
"rollup",
"platform-events",
"apex",
"flow",
"lightning-component",
"lwc",
"aura"
],
"scripts": {
"assign:perms": "sf org assign permset -n See_Rollup_App",
"create:org": "sf org create scratch --definition-file config/project-scratch-def.json --alias apex-rollup-scratch-org --set-default --duration-days 30 --wait 30 && npm run install:currency:data",
"create:local:org": "npm run create:org && npm run install:nebula:logger",
"create:package:rollup": "pwsh -Command \"&{ . ./scripts/generatePackage.ps1; Generate -PackageName '\"apex-rollup\"' -ReadmePath \"./README.md\" }\"",
"create:package:namespaced": "pwsh -Command \"&{ . ./scripts/generatePackage.ps1; New-Namespaced-Package }\"",
"create:package:nebula:adapter": "pwsh -Command \"&{ . ./scripts/generatePackage.ps1; Generate -PackageName '\"Apex Rollup - Nebula Logger\"' -ReadmePath \"./plugins/NebulaLogger/README.md\" }\"",
"create:package:logger": "pwsh -Command \"&{ . ./scripts/generatePackage.ps1; Generate -PackageName '\"Apex Rollup - Custom Logger\"' -ReadmePath \"./plugins/CustomObjectRollupLogger/README.md\" }\"",
"create:package:callback": "pwsh -Command \"&{ . ./scripts/generatePackage.ps1; Generate -PackageName '\"Apex Rollup - Rollup Callback\"' -ReadmePath \"./plugins/RollupCallback/README.md\"\" }\"",
"create:package:code-coverage": "pwsh -Command \"&{ . ./scripts/generatePackage.ps1; Generate -PackageName '\"Apex Rollup - Extra Code Coverage\"' -ReadmePath \"./plugins/ExtraCodeCoverage/README.md\" }\"",
"delete:org": "sf org delete scratch --no-prompt --target-org apex-rollup-scratch-org",
"get:project:json": "pwsh -Command \"&{ . ./scripts/generatePackage.ps1; Update-SFDX-Project-JSON }\"",
"husky:pre-commit": "lint-staged",
"install:currency:data": "sf data import tree --files ./config/data/CurrencyTypes.json",
"install:nebula:logger": "sf package install -p 04t5Y0000015oRNQAY -w 10 -r",
"lint:verify": "npx @salesforce-ux/slds-linter@latest lint && sf code-analyzer run -r eslint:1 -r eslint:2 -r eslint:3 --workspace rollup --output-file coverage/lint-violations.json && node scripts/validateScanCommand.js",
"prepare": "husky",
"prettier": "prettier",
"scan": "npm run lint:verify && npm run scan:pmd && npm run scan:graph",
"scan:pmd": "sf code-analyzer run -r pmd:1 -r pmd:2 -r pmd:3 --workspace rollup/**/*.cls --workspace plugins --workspace extra-tests --output-file coverage/pmd-violations.json && node scripts/validateScanCommand.js",
"scan:graph": "sf code-analyzer run -r sfge --workspace rollup/**/*.cls",
"test": "npm run test:apex && npm run test:lwc",
"test:apex": "sf apex run test -s ApexRollupTestSuite --concise -w 15",
"test:lwc": "sfdx-lwc-jest --coverage"
}
}