-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
121 lines (121 loc) · 2.95 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
112
113
114
115
116
117
118
119
120
121
{
"name": "@amplience/dc-cli",
"version": "0.19.1",
"description": "Dynamic Content CLI Tool",
"main": "./dist/index.js",
"man": "./dist/dc-cli.1",
"bin": {
"dc-cli": "./dist/index.js"
},
"scripts": {
"precommit": "npm run lint",
"commit": "npx git-cz",
"lint": "prettier --check \"**/*.ts\" && eslint \"**/*.ts\"",
"pretest": "npm run lint",
"test": "FORCE_COLOR=1 jest --silent --coverage",
"fix": "prettier --write '**/*.ts'",
"clean": "rimraf dist packages",
"build": "npm run clean && tsc && cp HOW_TO_USE.1 dist/dc-cli.1",
"update:man": "./update_man.sh",
"build:package": "npm run build && pkg --targets node18-macos-x64,node18-linux-x64,node18-win-x64 --out-dir packages .",
"dev": "ts-node ./src/index.ts"
},
"repository": {
"type": "git",
"url": "[email protected]:amplience/dc-cli.git"
},
"keywords": [
"Dynamic",
"Content",
"CLI"
],
"author": "Amplience",
"license": "Apache-2.0",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
2,
"always",
100
],
"type-case": [
1,
"always",
"lower-case"
],
"subject-case": [
1,
"always",
"lower-case"
]
}
},
"pkg": {
"scripts": [
"./dist/**/*.js"
]
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^8.2.0",
"@types/chalk": "^2.2.0",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.5.2",
"@types/lodash": "^4.14.144",
"@types/node": "^18.7.17",
"@types/node-fetch": "^2.5.7",
"@types/promise-retry": "^1.1.3",
"@types/rimraf": "^3.0.0",
"@types/table": "^4.0.7",
"@types/url-template": "^2.0.28",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"axios-mock-adapter": "^1.19.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.5",
"jest": "^27.0.6",
"nock": "^12.0.3",
"pkg": "^5.8.1",
"prettier": "^1.18.2",
"ts-jest": "^27.1.5",
"ts-node": "^10.9.1",
"typescript": "^3.9.10"
},
"dependencies": {
"ajv": "^6.12.3",
"axios": "^0.21.1",
"chalk": "^2.4.2",
"dc-management-sdk-js": "^1.20.0",
"enquirer": "^2.3.6",
"fs-extra": "^10.1.0",
"lodash": "^4.17.21",
"node-fetch": "^2.6.1",
"promise-retry": "^2.0.1",
"rimraf": "^3.0.0",
"sanitize-filename": "^1.6.3",
"table": "^5.4.6",
"url-template": "^2.0.8",
"yargs": "^14.0.0"
},
"engines": {
"node": ">=16"
}
}