UNPKG

3.43 kBJSONView Raw
1{
2 "name": "@salesforce/command",
3 "version": "5.3.9",
4 "description": "Salesforce CLI base command class",
5 "main": "lib/exported",
6 "repository": "salesforcecli/command",
7 "license": "BSD-3-Clause",
8 "scripts": {
9 "build": "wireit",
10 "ci-docs": "yarn sf-ci-docs",
11 "clean": "sf-clean",
12 "clean-all": "sf-clean all",
13 "compile": "wireit",
14 "docs": "sf-docs",
15 "format": "wireit",
16 "lint": "wireit",
17 "prepack": "sf-prepack",
18 "prepare": "sf-install",
19 "test": "wireit",
20 "test:only": "wireit"
21 },
22 "keywords": [
23 "force",
24 "salesforce",
25 "sfdx",
26 "salesforcedx",
27 "sfdx-command"
28 ],
29 "engines": {
30 "node": ">=14.0.0"
31 },
32 "files": [
33 "lib",
34 "messages",
35 "!lib/**/*.map"
36 ],
37 "dependencies": {
38 "@oclif/core": "^1.25.0",
39 "@oclif/test": "^2.2.21",
40 "@salesforce/core": "^3.36.2",
41 "@salesforce/kit": "^1.8.5",
42 "@salesforce/ts-types": "^1.7.1",
43 "chalk": "^2.4.2"
44 },
45 "devDependencies": {
46 "@salesforce/dev-config": "^3.0.1",
47 "@salesforce/dev-scripts": "^4.3.1",
48 "@salesforce/prettier-config": "^0.0.3",
49 "@salesforce/ts-sinon": "^1.4.7",
50 "@typescript-eslint/eslint-plugin": "^5.45.0",
51 "@typescript-eslint/parser": "^5.59.7",
52 "chai": "^4.3.7",
53 "eslint": "^8.41.0",
54 "eslint-config-prettier": "^8.8.0",
55 "eslint-config-salesforce": "^1.2.0",
56 "eslint-config-salesforce-license": "^0.2.0",
57 "eslint-config-salesforce-typescript": "^1.1.1",
58 "eslint-plugin-header": "^3.0.0",
59 "eslint-plugin-import": "2.27.5",
60 "eslint-plugin-jsdoc": "^39.9.1",
61 "husky": "^7.0.4",
62 "mocha": "^9.1.3",
63 "nyc": "^15.1.0",
64 "prettier": "^2.8.8",
65 "pretty-quick": "^3.1.0",
66 "sinon": "10.0.0",
67 "ts-node": "^10.0.0",
68 "typescript": "^4.9.5",
69 "wireit": "^0.9.5"
70 },
71 "types": "lib/exported.d.ts",
72 "publishConfig": {
73 "access": "public"
74 },
75 "wireit": {
76 "build": {
77 "dependencies": [
78 "compile",
79 "lint"
80 ]
81 },
82 "compile": {
83 "command": "tsc -p . --pretty --incremental",
84 "files": [
85 "src/**/*.ts",
86 "**/tsconfig.json",
87 "messages/**"
88 ],
89 "output": [
90 "lib/**",
91 "*.tsbuildinfo"
92 ],
93 "clean": "if-file-deleted"
94 },
95 "format": {
96 "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
97 "files": [
98 "src/**/*.ts",
99 "test/**/*.ts",
100 "schemas/**/*.json",
101 "command-snapshot.json",
102 ".prettier*"
103 ],
104 "output": []
105 },
106 "lint": {
107 "command": "eslint src test --color --cache --cache-location .eslintcache",
108 "files": [
109 "src/**/*.ts",
110 "test/**/*.ts",
111 "messages/**",
112 "**/.eslint*",
113 "**/tsconfig.json"
114 ],
115 "output": []
116 },
117 "test:compile": {
118 "command": "tsc -p \"./test\" --pretty",
119 "files": [
120 "test/**/*.ts",
121 "**/tsconfig.json"
122 ],
123 "output": []
124 },
125 "test": {
126 "dependencies": [
127 "test:only",
128 "test:compile"
129 ]
130 },
131 "test:only": {
132 "command": "nyc mocha \"test/**/*.test.ts\"",
133 "env": {
134 "FORCE_COLOR": "2"
135 },
136 "files": [
137 "test/**/*.ts",
138 "src/**/*.ts",
139 "**/tsconfig.json",
140 ".mocha*",
141 "!*.nut.ts",
142 ".nycrc"
143 ],
144 "output": []
145 }
146 }
147}
\No newline at end of file