-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.33 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
{
"name": "rrepl",
"version": "3.0.0",
"description": "An improved node REPL with support for configuration.",
"keywords": [
"cli",
"REPL"
],
"author": "Griffin Yourick <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/tough-griff/rrepl.git"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
"rrepl": "lib/cli.js"
},
"files": [
"lib/"
],
"scripts": {
"prebuild": "tsc --build --clean src/",
"build": "tsc --build src/",
"postbuild": "node -e \"require('fs').chmodSync('$npm_package_bin_rrepl', 0o755)\"",
"clean": "tsc --build src/ --clean",
"lint": "eslint src/",
"prepack": "npm run clean && npm run build",
"prepare": "husky install",
"start": "ts-node src/cli -c .noderc.example.js -v",
"test": "c8 --reporter=\"lcov\" --reporter=\"text\" mocha --extension=\".test.ts\" --require=\"ts-node/register\" --parallel src/"
},
"engines": {
"node": ">=14.15"
},
"dependencies": {
"chalk": "^4.1.2",
"commander": "^9.4.1",
"tslib": "^2.4.1"
},
"devDependencies": {
"@tough-griff/eslint-config": "^2.0.0",
"@tsconfig/node12": "^1.0.11",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/lodash": "^4.14.189",
"@types/mocha": "^10.0.0",
"@types/node": "^14.18.33",
"@types/sinon": "^10.0.13",
"@types/sinon-chai": "^3.2.9",
"c8": "^7.12.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"husky": "^8.0.2",
"lint-staged": "^13.0.3",
"lodash": "^4.17.21",
"mocha": "^10.1.0",
"nyc": "^15.1.0",
"sinon": "^14.0.2",
"sinon-chai": "^3.7.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
},
"eslintConfig": {
"extends": "@tough-griff",
"parserOptions": {
"project": "./src/tsconfig.json"
},
"rules": {
"no-console": "off",
"no-process-exit": "off",
"import/first": "off"
},
"overrides": [
{
"files": "*.spec.*",
"env": {
"jest": false,
"mocha": true
}
}
]
},
"lint-staged": {
"*.js{,on}": "prettier --write",
"*.md": "prettier --write",
"*.ts": "eslint --fix",
"*.y{,a}ml": "prettier --write"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
}
}