-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
106 lines (106 loc) · 2.69 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
{
"name": "@musement/types-generator",
"version": "0.0.13",
"description": "A CLI to generate types definitions for flow and typescript",
"main": "dist/lib/index.js",
"scripts": {
"test": "jest --coverage",
"test:watch": "jest --watch --coverage",
"build": "tsc -p .",
"build:watch": "tsc -p . --watch",
"build:lib": "tsc -p ./tsconfig-lib.json --declaration",
"build:lib:watch": "tsc -p ./tsconfig-lib.json --declaration --watch",
"lint": "eslint src --ext .ts",
"typescript:check": "tsc -p . --noEmit",
"release": "standard-version -a"
},
"standard-version": {
"scripts": {
"prerelease": "npm run build && npm run build:lib",
"precommit": "git add bin dist"
}
},
"files": [
"bin",
"dist"
],
"author": "Musement",
"contributors": [
"Marco Ziliani <[email protected]>"
],
"homepage": "https://github.com/musement/types-generator#readme",
"repository": {
"type": "git",
"url": "https://github.com/musement/types-generator"
},
"bugs": {
"url": "https://github.com/musement/types-generator/issues"
},
"license": "ISC",
"keywords": [
"openapi",
"typescript",
"flow",
"io-ts"
],
"bin": {
"generate-types": "./bin/index.js"
},
"dependencies": {
"arg": "^4.1.3",
"axios": "^0.21.1",
"camelize": "^1.0.0",
"commander": "^4.1.1",
"deepmerge": "^4.2.2",
"fp-ts": "^2.11.1",
"inquirer": "^7.3.3",
"io-ts": "^2.2.16",
"js-yaml": "^3.14.1",
"prettier": "^1.19.1"
},
"devDependencies": {
"@babel/preset-env": "^7.15.0",
"@babel/preset-typescript": "^7.15.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/deepmerge": "^2.2.0",
"@types/inquirer": "^6.5.0",
"@types/jest": "^25.2.3",
"@types/js-yaml": "^3.12.7",
"@types/node": "^13.13.52",
"@types/prettier": "^1.19.1",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^4.3.8",
"jest": "^25.5.4",
"standard-version": "^9.3.1",
"typescript": "^3.9.10"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"collectCoverageFrom": [
"src/**/*.{ts,js}",
"!src/index.ts"
],
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
}
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run typescript:check",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm run lint && npm run test"
}
}
}