-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
69 lines (69 loc) · 3.14 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
59
60
61
62
63
64
65
66
67
68
69
{
"name": "replacement",
"version": "0.0.1",
"config": {
"resource": "App",
"package_path": "force-app/main/default"
},
"scripts": {
"start": "vite --port $npm_config_dev_port",
"clean": "rimraf dist",
"compile": "npm run clean && tsc && vite build",
"compile-dev": "npm run compile -- --mode development",
"compile-prod": "npm run compile",
"new-scratch-org": "sfdx force:org:create -f config/project-scratch-def.json -a $npm_config_scratch_alias",
"bundle-app-dev": "npm run compile-dev && npm run copy-bundle",
"bundle-app-prod": "npm run compile-prod && npm run copy-bundle",
"zip-bundle": "zip -r $npm_package_config_package_path/staticresources/app.zip ./dist",
"copy-resource-meta": "cp ./config/build-assets/temp.resource-meta.xml $npm_package_config_package_path/staticresources/$npm_package_config_resource.resource-meta.xml",
"copy-bundle": "rimraf $npm_package_config_package_path/staticresources/* || true && npm run zip-bundle && mv $npm_package_config_package_path/staticresources/app.zip $npm_package_config_package_path/staticresources/$npm_package_config_resource.resource && npm run copy-resource-meta",
"package-sfdc": "sfdx force:source:convert -d ./dist/sfdc-package",
"build-dev": "npm run bundle-app-dev && npm run package-sfdc",
"build-prod": "npm run bundle-app-prod && npm run package-sfdc",
"push-dev": "sfdx force:mdapi:deploy -u $npm_config_dev_alias -d ./dist/sfdc-package -w 10000",
"push-scratch": "sfdx force:source:push -u $npm_config_scratch_alias",
"push-prod": "sfdx force:mdapi:deploy -u $npm_config_prod_alias -d ./dist/sfdc-package -w 10000",
"deploy-dev": "npm run build-dev && npm run push-dev",
"deploy-scratch": "npm run bundle-app-dev && npm run push-scratch",
"deploy-prod": "npm run build-prod && npm run push-prod",
"generate-ts-force": "ts-force-gen -j ./config/ts-force-config.json",
"coverage": "vitest run --coverage",
"test": "vitest",
"test:ui": "vitest --ui",
"reinstall": "rimraf node_modules dist && npm install",
"start-chrome-for-debug": "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --remote-debugging-port=9222"
},
"dependencies": {
"@ant-design/icons": "^5.0.1",
"antd": "^5.2.3",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"ts-force": "^3.0.0-rc.6",
"tslib": "^2.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/node": "^14.0.0",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-c8": "^0.29.2",
"@vitest/ui": "0.29.2",
"jsdom": "^21.1.0",
"msw": "^1.1.0",
"rimraf": "^2.6.1",
"typescript": "^4.8.0",
"ts-force-gen": "^3.0.0-rc.6",
"vite": "^4.1.4",
"vite-tsconfig-paths": "^4.0.5",
"vitest": "^0.29.2",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.4"
}
}