-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpackage.json
138 lines (138 loc) · 3.73 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
{
"name": "ts2php",
"version": "0.30.3",
"description": "TypeScript to PHP Transpiler",
"main": "dist/index.js",
"typings": "types/index.d.ts",
"bin": {
"ts2php": "dist/bin/ts2php.js"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc && npm run build:runtime",
"esbuild": "esbuild src/**/*.ts --platform=node --outdir=dist && npm run build:runtime && npm run build:type",
"build:runtime": "mkdir -p dist/runtime && cp src/runtime/*.php dist/runtime && chmod a+x dist/bin/*",
"build:type": "tsc --declaration --outDir dist/ --emitDeclarationOnly -p ./",
"test": "mocha",
"lint": "eslint src/*.ts",
"coverage": "nyc _mocha",
"prepublishOnly": "npm test && npm run build",
"test:feature": "ts-node ./src/bin/ts2php.ts",
"test:runtime": "sh ./test/runtime/run.sh",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"doc": "typedoc --out docs --theme minimal --entryPoints ./types/index.d.ts"
},
"repository": {
"type": "git",
"url": "https://github.com/searchfe/ts2php.git"
},
"author": "meixuguang",
"contributors": [
"cxtom <[email protected]>"
],
"license": "MIT",
"dependencies": {
"byots": "3.9.0-dev.20200325.13.13",
"fs-extra": "^7.0.1",
"lodash": "^4.17.14",
"semver": "^6.2.0",
"ts-diagnostic-formatter": "^0.1.1",
"yargs": "^13.2.4"
},
"nyc": {
"include": [
"src/*.ts",
"src/**/*.ts"
],
"exclude": [
"test/**/*.ts",
"**/*.d.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary",
"html"
],
"sourceMap": true,
"instrument": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"peerDependencies": {
"typescript": "^3.7.0"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^7.6.0",
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/commit-analyzer": "^6.1.0",
"@semantic-release/git": "^7.0.8",
"@semantic-release/npm": "^9.0.2",
"@semantic-release/release-notes-generator": "^7.1.4",
"@types/fs-extra": "^5.1.0",
"@types/lodash": "^4.14.132",
"@types/mocha": "^5.2.7",
"@types/node": "^10.14.7",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/experimental-utils": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"camelcase": "^5.3.1",
"chalk": "^3.0.0",
"conventional-changelog": "^3.1.3",
"conventional-changelog-cli": "^2.1.0",
"esbuild": "^0.8.39",
"eslint": "^6.6.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsdoc": "^17.1.1",
"eslint-plugin-no-null": "^1.0.2",
"expect": "^25.2.1",
"glob": "^7.1.6",
"husky": "^1.3.1",
"koa": "^2.7.0",
"koa-bodyparser": "^4.2.1",
"koa-router": "^7.4.0",
"koa-static": "^5.0.0",
"mdgator": "^1.1.2",
"mocha": "^6.1.4",
"nyc": "^14.1.1",
"rimraf": "^2.6.3",
"source-map-support": "^0.5.12",
"ts-node": "^8.2.0",
"typedoc": "^0.20.16",
"typescript": "^3.9.7",
"vue": "^2.6.10"
},
"release": {
"branch": "master",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"package.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}
}