-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.95 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.95 KB
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
{
"name": "@contentstack/cli-config",
"description": "Contentstack CLI plugin for configuration",
"version": "1.15.2",
"author": "Contentstack",
"scripts": {
"build": "npm run clean && npm run compile",
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
"compile": "tsc -b tsconfig.json",
"postpack": "rm -f oclif.manifest.json",
"prepack": "pnpm compile && oclif manifest && oclif readme",
"version": "oclif readme && git add README.md",
"test:report": "tsc -p test && nyc --reporter=lcov --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
"pretest": "tsc -p test",
"test": "mocha --require ts-node/register 'test/**/*.test.ts'",
"posttest": "npm run lint",
"lint": "eslint src/**/*.ts",
"format": "eslint src/**/*.ts --fix",
"test:integration": "mocha --forbid-only \"test/run.test.ts\" --integration-test",
"test:unit": "mocha --forbid-only \"test/unit/**/*.test.ts\" --unit-test",
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\"",
"postinstall": "curl -s --max-time 30 --fail https://artifacts.contentstack.com/regions.json -o src/assets/regions.json || echo 'Warning: Failed to download regions.json, using existing file if available'",
"postupdate": "curl -s --max-time 30 --fail https://artifacts.contentstack.com/regions.json -o src/assets/regions.json || echo 'Warning: Failed to download regions.json, using existing file if available'"
},
"dependencies": {
"@contentstack/cli-command": "~1.6.1",
"@contentstack/cli-utilities": "~1.14.4",
"@oclif/core": "^4.3.0",
"@oclif/plugin-help": "^6.2.28",
"lodash": "^4.17.21"
},
"devDependencies": {
"@oclif/test": "^4.1.13",
"@types/chai": "^4.3.20",
"@types/mocha": "^8.2.3",
"@types/node": "^14.18.63",
"@types/sinon": "^10.0.20",
"chai": "^4.5.0",
"eslint": "^8.57.1",
"eslint-config-oclif": "^6.0.62",
"eslint-config-oclif-typescript": "^3.1.14",
"mocha": "10.8.2",
"nyc": "^15.1.0",
"oclif": "^4.17.46",
"sinon": "^19.0.5",
"ts-node": "^10.9.2",
"typescript": "^4.9.5"
},
"engines": {
"node": ">=14.0.0"
},
"files": [
"/lib",
"/npm-shrinkwrap.json",
"/oclif.manifest.json",
"/messages"
],
"homepage": "https://github.com/contentstack/cli",
"keywords": [
"contentstack",
"cli",
"plugin"
],
"license": "MIT",
"oclif": {
"commands": "./lib/commands",
"bin": "csdx",
"protected": [
"config:get:region"
],
"repositoryPrefix": "<%- repo %>/blob/main/packages/contentstack-config/<%- commandPath %>"
},
"csdxConfig": {
"shortCommandName": {
"config:get:region": "RGT",
"config:set:region": "RST",
"config:get:base-branch": "BRGT",
"config:set:base-branch": "BRST",
"config:set:rate-limit": "RLST",
"config:get:rate-limit": "RLGT",
"config:remove:rate-limit": "RLRM"
}
},
"repository": "contentstack/cli"
}