-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
111 lines (111 loc) · 4.84 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "env-vars",
"version": "0.1.0",
"description": "React, Redux, Typescript, antd, ts-force, sfdx starter",
"author": "Charlie Jonas",
"homepage": "https://github.com/ChuckJonas/bad-ass-salesforce-stack",
"repository": {
"type": "git",
"url": "git+https://github.com/ChuckJonas/bad-ass-salesforce-stack.git"
},
"bugs": "https://github.com/ChuckJonas/bad-ass-salesforce-stack/issues",
"license": "MIT",
"main": "dist/app.js",
"config": {
"resource": "ENVVars",
"package_path": "./env-vars/main/default",
"port": 8080
},
"scripts": {
"start": "npm run setup-ts-webpack -- webpack-dev-server --config config/webpack.config.ts --hot --https --env.port $npm_package_config_port",
"setup-ts-webpack": "cross-env TS_NODE_PROJECT=config/webpack.tsconfig.json",
"clean": "rimraf dist",
"compile": "npm run clean && npm run setup-ts-webpack -- webpack --config config/webpack.config.ts --env.build --env.resource $npm_package_config_resource",
"compile-dev": "npm run compile",
"compile-prod": "npm run compile -- --env.prod",
"analyze-bundle": "npm run clean && npm run setup-ts-webpack -- webpack --config config/webpack.config.ts --env.build --env.analyze",
"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-scratch": "sfdx force:source:push -u $npm_config_scratch_alias",
"generate-ts-force": "ts-force-gen -j ./config/ts-force-config.json",
"commit-build": "git add ./env-vars/main/default/staticresources/ENVVars.resource && git commit -m 'built react app'",
"create-version": "npm run build-prod && npm run commit-build && sfdx sfpm:release -p env-vars -d env-vars -v $npm_config_hub_alias",
"test": "jest --no-cache --config ./config/jest.json",
"test:update": "jest --no-cache --config jest.json -u",
"reinstall": "rimraf node_modules dist && npm install"
},
"dependencies": {
"@ant-design/icons": "^4.1.0",
"@types/jsforce": "^1.9.5",
"antd": "^4.2.2",
"babel-polyfill": "^6.26.0",
"jsforce": "^1.9.1",
"json-schema-generator": "^2.0.6",
"jsonschema": "^1.2.6",
"query-string": "^5.1.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-json-view": "^1.19.1",
"ts-force": "^2.6.2",
"tslib": "^1.9.3"
},
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-decorators": "^7.3.0",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@types/enzyme": "^3.9.0",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.11",
"@types/node": "^7.10.2",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.7",
"@types/react-hot-loader": "^4.1.1",
"@types/webpack": "^4.4.25",
"@types/webpack-dev-server": "^3.1.4",
"@types/webpack-env": "^1.13.0",
"babel-jest": "^24.3.1",
"babel-loader": "^8.0.5",
"babel-plugin-import": "^1.11.0",
"cross-env": "^5.2.0",
"css-loader": "^2.1.1",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.10.0",
"file-loader": "^3.0.1",
"husky": "^3.0.9",
"jest": "^24.3.1",
"less": "^3.9.0",
"less-loader": "^4.1.0",
"less-vars-to-js": "^1.3.0",
"prettier": "1.19.1",
"prettier-plugin-apex": "1.0.0",
"pretty-quick": "^2.0.1",
"react-hot-loader": "^4.8.0",
"react-test-renderer": "^16.8.4",
"rimraf": "^2.6.1",
"style-loader": "^0.23.1",
"ts-force-gen": "^2.6.2",
"ts-jest": "^24.0.0",
"ts-node": "^7.0.1",
"tsconfig-paths": "^3.8.0",
"tslint": "^5.3.0",
"tslint-react": "^3.6.0",
"typescript": "^3.3.3",
"webpack": "^4.29.6",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.2.1"
}
}