forked from amplience/dc-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 2.9 KB
/
package.json
File metadata and controls
117 lines (117 loc) · 2.9 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
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
{
"name": "@amplience/dc-cli",
"version": "0.4.0",
"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'",
"reset": "git clean -dfx && git reset --hard && npm i",
"prerelease": "npm run reset",
"release": "standard-version",
"prereleaseas": "npm run reset",
"releaseas": "standard-version --release-as ",
"clean": "rimraf dist packages",
"build": "npm run clean && tsc",
"build:man": "./build_man.sh",
"build:package": "npm run build && npm run build:man && pkg --targets node8-macos-x64,node8-linux-x64,node8-win-x64 --out-dir packages .",
"build:compress": "npm run build:package && scripts/compress",
"dev": "ts-node ./src/index.ts"
},
"standard-version": {
"scripts": {
"prerelease": "npm run build:package",
"posttag": "scripts/compress"
}
},
"repository": {
"type": "git",
"url": "git@github.com: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": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@types/chalk": "^2.2.0",
"@types/jest": "^24.0.18",
"@types/lodash": "^4.14.144",
"@types/table": "^4.0.7",
"@typescript-eslint/eslint-plugin": "^2.3.0",
"@typescript-eslint/parser": "^2.3.0",
"adm-zip": "^0.4.13",
"commitizen": "^4.0.3",
"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": "^24.9.0",
"pkg": "^4.4.0",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"standard-version": "^7.0.0",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1",
"typescript": "^3.6.3"
},
"dependencies": {
"axios": "^0.18.1",
"chalk": "^2.4.2",
"dc-management-sdk-js": "^1.4.1",
"lodash": "^4.17.15",
"table": "^5.4.6",
"yargs": "^14.0.0"
}
}