UNPKG

5.95 kBJSONView Raw
1{
2 "name": "sfdx-cli",
3 "description": "Salesforce CLI",
4 "version": "7.8.1",
5 "author": "Salesforce",
6 "license": "BSD-3-Clause",
7 "bin": {
8 "sfdx": "bin/run"
9 },
10 "engines": {
11 "node": ">=8.10.0"
12 },
13 "files": [
14 "bin",
15 "oclif.manifest.json",
16 "dist/**/*.js",
17 "!dist/**/*.test.js"
18 ],
19 "oclif": {
20 "bin": "sfdx",
21 "scope": "salesforce",
22 "commands": "./dist/commands",
23 "node": "10.15.3",
24 "dirname": "sfdx",
25 "hooks": {
26 "plugins:preinstall": [
27 "./dist/hooks/pluginsPreinstall.js"
28 ],
29 "plugins:preinstall:verify:version": [
30 "./dist/hooks/verifyPluginVersion.js"
31 ],
32 "preupdate": [
33 "./dist/hooks/preupdate.js"
34 ],
35 "preupdate:reachability": [
36 "./dist/hooks/updateReachability.js"
37 ],
38 "preupdate:migrate:plugins": [
39 "./dist/hooks/migratePlugins.js"
40 ],
41 "update": [
42 "./dist/hooks/lazyRequire.js"
43 ],
44 "init": [
45 "./dist/hooks/massageHelp.js"
46 ]
47 },
48 "plugins": [
49 "@oclif/plugin-commands",
50 "@oclif/plugin-help",
51 "@oclif/plugin-not-found",
52 "@oclif/plugin-plugins",
53 "@oclif/plugin-update",
54 "@oclif/plugin-warn-if-update-available",
55 "@oclif/plugin-which",
56 "@salesforce/plugin-generator",
57 "@salesforce/plugin-analytics",
58 "@salesforce/sfdx-trust",
59 "salesforcedx"
60 ],
61 "update": {
62 "s3": {
63 "bucket": "dfc-data-production",
64 "folder": "media/salesforce-cli",
65 "host": "https://developer.salesforce.com/media/salesforce-cli",
66 "templates": {
67 "target": {
68 "baseDir": "sfdx-cli-v<%- version %>-<%- platform === 'win32' ? 'windows' : platform %>-<%- arch %>",
69 "manifest": "sfdx-cli/channels/<%- channel %>/<%- platform === 'win32' ? 'windows' : platform %>-<%- arch %>",
70 "versioned": "sfdx-cli/channels/<%- channel %>/sfdx-cli-v<%- version %>-<%- platform === 'win32' ? 'windows' : platform %>-<%- arch %>.tar.<%- ext %>"
71 }
72 }
73 }
74 }
75 },
76 "dependencies": {
77 "@oclif/command": "^1",
78 "@oclif/config": "^1",
79 "@oclif/errors": "^1",
80 "@oclif/plugin-commands": "^1",
81 "@oclif/plugin-help": "^2",
82 "@oclif/plugin-not-found": "^1",
83 "@oclif/plugin-plugins": "^1",
84 "@oclif/plugin-update": "^1",
85 "@oclif/plugin-warn-if-update-available": "1.7.0",
86 "@oclif/plugin-which": "^1",
87 "@salesforce/kit": "^1.0.1",
88 "@salesforce/lazy-require": "0.1.12",
89 "@salesforce/plugin-analytics": "^1.1.2",
90 "@salesforce/plugin-generator": "^1.1.0",
91 "@salesforce/require-analytics": "0.6.10",
92 "@salesforce/sfdx-trust": "^3.0.2",
93 "@salesforce/ts-types": "^1.0.1",
94 "chalk": "^2.4.2",
95 "debug": "^3",
96 "http-call": "^5.2.3",
97 "salesforcedx": "45.16.0",
98 "tslib": "^1.9.3",
99 "v8-compile-cache": "^2.0.2"
100 },
101 "devDependencies": {
102 "@oclif/dev-cli": "^1",
103 "@salesforce/dev-config": "1.4.4",
104 "@salesforce/ts-sinon": "^0.2.0",
105 "@types/chai": "^4",
106 "@types/debug": "0.0.30",
107 "@types/fs-extra": "4.0.2",
108 "@types/mocha": "^5",
109 "@types/node": "^10",
110 "@types/request": "2.0.3",
111 "@types/sinon": "4.3.2",
112 "chai": "^4",
113 "check-yarn-lock": "0.2.1",
114 "eslint": "^3",
115 "eslint-config-airbnb-base": "5.0.1",
116 "eslint-plugin-import": "1.13.0",
117 "globby": "^8",
118 "husky": "^1.1.0",
119 "mocha": "^5.2.0",
120 "npm": "6.8.0",
121 "nyc": "^13",
122 "sinon": "^5",
123 "source-map-support": "^0.5.2",
124 "ts-node": "^6",
125 "xunit-file": "1.0.0"
126 },
127 "scripts": {
128 "build": "yarn build-standalone",
129 "build-mac": "yarn build-mac-from-archive",
130 "build-mac-from-archive": "scripts/build/installers/darwin_from_archive",
131 "build-mac-from-sources": "scripts/build/installers/darwin_from_sources",
132 "build-standalone": "scripts/build/standalone",
133 "build-windows": "scripts/build/installers/windows",
134 "clean": "yarn clean-dist && yarn clean-test",
135 "clean-all": "scripts/clean/all",
136 "clean-build": "scripts/clean/build",
137 "clean-compile": "yarn clean-all && yarn install --pure-lockfile",
138 "clean-dist": "scripts/clean/dist",
139 "clean-test": "scripts/clean/test",
140 "compile": "scripts/build/compile",
141 "coverage-report": "scripts/test/coverage",
142 "lint": "scripts/lint/sources",
143 "lint-all": "scripts/lint/all",
144 "lint-with-style": "scripts/lint/sources_with_style",
145 "oclif-artifacts": "oclif-dev manifest",
146 "postpack": "rm -f oclif.manifest.json",
147 "prepack": "yarn clean && yarn compile && yarn lint && yarn oclif-artifacts",
148 "prepare": "yarn compile && yarn lint",
149 "release": "yarn release-all",
150 "release-debug": "yarn release-all-debug",
151 "release-all": "scripts/release/all",
152 "release-all-debug": "env SKIP_AWS=true yarn release-all",
153 "release-mac": "scripts/release/installers/darwin",
154 "release-mac-debug": "env SKIP_AWS=true yarn release-mac",
155 "release-standalone": "scripts/release/standalone",
156 "release-standalone-debug": "env SKIP_AWS=true yarn release-standalone",
157 "release-windows": "scripts/release/installers/windows_docker",
158 "release-windows-debug": "env SKIP_AWS=true yarn release-windows",
159 "test": "scripts/test/all",
160 "trogdor": "yarn clean-all && yarn && yarn compile && yarn uts",
161 "typings": "scripts/test/typings",
162 "unit": "scripts/test/unit",
163 "uts": "nyc mocha --require source-map-support/register --recursive \"dist/**/*.test.js\"",
164 "watch": "tsc -w -p tsconfig.json"
165 },
166 "husky": {
167 "hooks": {
168 "pre-commit": "node_modules/.bin/check-yarn-lock",
169 "pre-push": "yarn compile && yarn lint && yarn uts"
170 }
171 },
172 "nyc": {
173 "check-coverage": true,
174 "lines": 99,
175 "statements": 99,
176 "functions": 97,
177 "branches": 72,
178 "reporter": [
179 "lcov",
180 "text"
181 ],
182 "exclude": [
183 "dist/**/*.test.js"
184 ]
185 }
186}