/
package.json
71 lines (71 loc) 路 2.8 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
{
"devDependencies": {
"@types/fs-extra": "5.0.5",
"@types/listr": "^0.13.0",
"@types/node": "11.11.3",
"@types/shelljs": "^0.8.3",
"@types/yargs": "^12.0.9",
"@typescript-eslint/parser": "1.4.2",
"chalk": "^2.4.2",
"cpx": "^1.5.0",
"eslint": "^5.15.1",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-markdown": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^1.4.2",
"husky": "^1.3.1",
"listr": "^0.14.2",
"listr-input": "^0.1.2",
"markdown-link-validator": "^1.0.0",
"markdownlint": "^0.12.0",
"npm-run-all": "^4.1.5",
"p-retry": "^4.0.0",
"rimraf": "^2.6.3",
"shelljs": "^0.8.3",
"typescript": "^3.3.3333",
"yargs": "^13.2.2"
},
"engines": {
"node": ">=8.0.0"
},
"husky": {
"hooks": {
"commit-msg": "node scripts/check-commit-message.js",
"prepare-commit-msg": "node scripts/prepare-commit-message.js"
}
},
"name": "@hint/monorepo",
"private": true,
"scripts": {
"build": "yarn clean && yarn update:references && node scripts/test-all.js build",
"build:scripts": "npm run clean:root && npm run lint:scripts && npm-run-all --parallel build:scripts:*",
"build:scripts:non-ts": "cpx \"./scripts/{!(*.ts),.!(ts)}\" dist/scripts",
"build:scripts:ts": "tsc",
"build:ts": "tsc -b",
"clean": "npm-run-all clean:*",
"clean:packages": "rimraf \"packages/!(connector-edge|extension-vscode)/{dist,node_modules,npm-shrinkwrap.json,package-lock.json,yarn.lock}\"",
"clean:root": "rimraf dist",
"lint": "npm-run-all --parallel lint:*",
"lint:md": "node scripts/lint-markdown && markdown-link-validator .",
"lint:packages": "yarn workspaces run lint",
"lint:scripts": "eslint scripts --cache --ext js --ext ts --report-unused-disable-directives",
"pre-release": "npm run clean:packages && npm run build:scripts && npm run release -- --prerelease",
"release": "node scripts/fix-dependencies.js && npm run clean:packages && npm run build:scripts && node dist/scripts/release.js && node scripts/fix-dependencies.js",
"test": "npm run clean && node scripts/test.js",
"test-all": "yarn clean && node scripts/test-all.js",
"test-root": "npm run clean && npm run lint && npm-run-all --parallel build:scripts:*",
"update:references": "npm run build:scripts && node dist/scripts/update-tsconfig-references.js",
"watch:scripts": "npm run clean && npm-run-all --continue-on-error --parallel watch:scripts:*",
"watch:scripts:non-ts": "npm run build:scripts:non-ts && npm run build:scripts:non-ts --watch --no-initial",
"watch:scripts:ts": "npm run build:scripts:ts --watch"
},
"workspaces": {
"nohoist": [
"**/vscode",
"**/vscode-languageclient",
"**/vscode-languageserver"
],
"packages": [
"packages/!(connector-edge)"
]
}
}