-
Notifications
You must be signed in to change notification settings - Fork 62
/
package.json
49 lines (49 loc) · 1.5 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
{
"name": "salesforce-react-integration",
"version": "2.0.2",
"author": "Philippe Ozil",
"description": "Sample integration project between Salesforce and a React application",
"license": "see LICENSE file",
"private": true,
"main": "server/server.js",
"dependencies": {
"@salesforce-ux/design-system": "^2.18.1",
"browserify": "^17.0.0",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"express-session": "^1.17.3",
"jsforce": "^1.11.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"babelify": "^10.0.0",
"prettier": "^2.7.1",
"uglify-js": "^3.16.2"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prettier": "prettier --write \"**/*.{css,html,js,json,md}\"",
"build": "rm -fr public/scripts && mkdir -p public/scripts && browserify -t [ babelify --presets [ @babel/preset-env @babel/preset-react ] ] client/*.js | uglifyjs > public/scripts/bundle.min.js",
"start": "node server/index.js",
"build-n-start": "npm run build && npm run start",
"preinstall": "rm -fr public/assets",
"postinstall": "cp -r node_modules/@salesforce-ux/design-system/assets public"
},
"keywords": [
"React",
"Salesforce",
"Lightning",
"SLDS"
],
"repository": {
"type": "git",
"url": "https://github.com/pozil/salesforce-react-integration"
},
"engines": {
"node": ">= 14.17.0"
}
}