-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
140 lines (140 loc) · 3.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "zoomdata-chart-cli",
"version": "1.0.0-beta.5",
"description": "A CLI tool to manage Zoomdata Custom Charts",
"main": "./dist/zoomdata-chart.js",
"author": "Jonathan Avila <avilajonathan@gmail.com>",
"repository": "https://github.com/jonavila/zoomdata-chart-cli",
"files": [
"dist"
],
"scripts": {
"build": "tsc --pretty",
"build:live": "nodemon --exec ./node_modules/.bin/ts-node -- ./src/zoomdata-chart.ts",
"commit": "git-cz",
"commitmsg": "validate-commit-msg",
"lint": "tslint -t codeFrame 'src/**/*.ts' 'test/**/*.ts' --exclude src/**/*.d.ts",
"lint-fix": "npm run lint -- --fix",
"precommit": "lint-staged",
"prepush": "npm run build",
"prepublishOnly": "npm run lint && npm run build",
"start": "npm run build:live",
"test": "jest",
"test:watch": "jest --watch",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache"
},
"lint-staged": {
"{src,test}/**/!(*.d).ts": [
"prettier --write --single-quote --trailing-comma=all",
"lint",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"validate-commit-msg": {
"types": "conventional-commit-types",
"helpMessage": "Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)"
}
},
"jest": {
"testEnvironment": "node",
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"moduleDirectories": [
"node_modules",
"./"
],
"mapCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/",
"/src/@types/"
],
"collectCoverageFrom": [
"src/**/[^zoomdata-chart]*.ts"
]
},
"pkg": {
"assets": "node_modules/figlet/fonts/**/*",
"scripts": "dist/*.js"
},
"bin": {
"zd-chart": "./dist/zoomdata-chart.js",
"zd-chart-add": "./dist/zoomdata-chart-add.js",
"zd-chart-config": "./dist/zoomdata-chart-config.js",
"zd-chart-create": "./dist/zoomdata-chart-create.js",
"zd-chart-edit": "./dist/zoomdata-chart-edit.js",
"zd-chart-ls": "./dist/zoomdata-chart-ls.js",
"zd-chart-pull": "./dist/zoomdata-chart-pull.js",
"zd-chart-push": "./dist/zoomdata-chart-push.js",
"zd-chart-rm": "./dist/zoomdata-chart-rm.js",
"zd-chart-watch": "./dist/zoomdata-chart-watch.js"
},
"keywords": [
"zoomdata",
"charts",
"cli"
],
"license": "MIT",
"engines": {
"node": ">=6.4.0"
},
"devDependencies": {
"@types/chalk": "^0.4.31",
"@types/chokidar": "^1.7.3",
"@types/commander": "^2.11.0",
"@types/content-type": "^1.1.1",
"@types/inquirer": "0.0.35",
"@types/jest": "^20.0.8",
"@types/lodash.attempt": "^4.2.3",
"@types/node": "^6.0.89",
"@types/ora": "^1.3.1",
"@types/prettyjson": "0.0.28",
"@types/request": "^2.0.4",
"@types/request-promise-native": "^1.0.7",
"@types/shelljs": "^0.7.4",
"@types/strip-ansi": "^3.0.0",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.0.0",
"husky": "^0.14.3",
"jest": "^20.0.4",
"lint-staged": "^4.2.3",
"nodemon": "^1.12.1",
"prettier": "^1.7.4",
"ts-jest": "^20.0.14",
"ts-node": "^3.3.0",
"tslint": "^5.7.0",
"typescript": "^2.5.3",
"validate-commit-msg": "^2.14.0"
},
"dependencies": {
"chalk": "^1.1.3",
"chokidar": "^1.7.0",
"commander": "^2.11.0",
"content-type": "^1.0.4",
"extract-zip": "^1.6.5",
"figlet": "^1.2.0",
"inquirer": "^3.3.0",
"lodash.attempt": "^4.2.0",
"ora": "^1.3.0",
"preferences": "^0.2.1",
"prettyjson": "^1.2.1",
"request": "^2.83.0",
"request-promise-native": "^1.0.5",
"shelljs": "^0.7.8",
"strip-ansi": "^4.0.0",
"text-table": "^0.2.0"
}
}