forked from SBoudrias/Inquirer.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 1.85 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 1.85 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
{
"private": true,
"type": "module",
"devDependencies": {
"@jest/globals": "^29.3.0",
"@sindresorhus/tsconfig": "^3.0.1",
"@types/jest": "^29.2.2",
"@types/mute-stream": "^0.0.1",
"@types/node": "^18.11.9",
"@types/wrap-ansi": "^8.0.1",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-xo": "^0.43.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-unicorn": "^45.0.1",
"husky": "^8.0.1",
"jest": "^29.3.0",
"lerna": "^6.0.3",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "lerna bootstrap --no-ci",
"publish": "lerna run tsc && lerna publish",
"pretest": "lerna run tsc && eslint . --ext .js --ext .ts",
"jest": "NODE_OPTIONS=--experimental-vm-modules jest",
"test": "yarn jest && lerna exec npm test --scope inquirer",
"ts-node": "lerna run tsc && ts-node"
},
"repository": {
"type": "git",
"url": "https://github.com/SBoudrias/Inquirer.js.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.json": [
"prettier --write",
"git add"
],
"*.[jt]sx?": [
"eslint --fix",
"git add"
]
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"transform": {
"\\.[jt]sx?$": [
"ts-jest",
{
"useESM": true
}
]
},
"moduleNameMapper": {
"(.+)\\.js": "$1",
"#ansi-styles": "ansi-styles",
"#supports-color": "supports-color"
},
"extensionsToTreatAsEsm": [
".ts"
]
}
}